Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
384e3109
Commit
384e3109
authored
Apr 28, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added rolling updates and update script
parent
199e1025
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
76 additions
and
17 deletions
+76
-17
kubectl_deploy.sh
bin/kubectl_deploy.sh
+0
-7
kubectl_update.sh
bin/kubectl_update.sh
+12
-0
deployer-deployment.yaml
k8s/CONF/deployer-deployment.yaml
+7
-1
manager-deployment.yaml
k8s/CONF/manager-deployment.yaml
+8
-2
mongo-deployment.yaml
k8s/CONF/mongo-deployment.yaml
+7
-1
mysql-deployment.yaml
k8s/CONF/mysql-deployment.yaml
+7
-1
planner-deployment.yaml
k8s/CONF/planner-deployment.yaml
+7
-1
provisioner-deployment.yaml
k8s/CONF/provisioner-deployment.yaml
+7
-1
rabbit-deployment.yaml
k8s/CONF/rabbit-deployment.yaml
+7
-1
semaphore-deployment.yaml
k8s/CONF/semaphore-deployment.yaml
+7
-1
sure-tosca-deployment.yaml
k8s/CONF/sure-tosca-deployment.yaml
+7
-1
No files found.
bin/kubectl_deploy.sh
deleted
100755 → 0
View file @
199e1025
#!/bin/bash
kubectl create
-f
../k8s/CONF/
sleep
5
kubectl get all
kubectl delete
-f
../k8s/CONF/
bin/kubectl_update.sh
0 → 100755
View file @
384e3109
#!/bin/bash
deployments
=(
manager sure-tosca planner provisioner deployer
)
for
deployment
in
${
deployments
[*]
}
do
echo
"----------------- updating image for
$deployment
---------------"
kubectl
set
image deployment
$deployment
$deployment
=
qcdis/
$deployment
:3.0.0
kubectl rollout
history
deployment
$deployment
done
k8s/CONF/deployer-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
deployer
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/manager-deployment.yaml
View file @
384e3109
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
namespace
:
conf
#
namespace: conf
annotations
:
kompose.cmd
:
kompose convert
kompose.version
:
1.16.0 (0c01309)
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
manager
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/mongo-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
mongo
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/mysql-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
mysql
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/planner-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
planner
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/provisioner-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
provisioner
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/rabbit-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
rabbit
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/semaphore-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
semaphore
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
k8s/CONF/sure-tosca-deployment.yaml
View file @
384e3109
...
...
@@ -14,7 +14,13 @@ spec:
matchLabels
:
io.kompose.service
:
sure-tosca
replicas
:
1
strategy
:
{}
strategy
:
type
:
RollingUpdate
rollingUpdate
:
maxSurge
:
50%
maxUnavailable
:
50%
minReadySeconds
:
10
revisionHistoryLimit
:
3
template
:
metadata
:
creationTimestamp
:
null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment