Skip to content

Commit

Permalink
chore(deployment): Update k8s deployment config files
Browse files Browse the repository at this point in the history
Update tags of mayastor pod images to reflect sematic version 0.7.0.
Change memory resource request/limit specification for the mayastor engine daemonset from 500Mi to 512Mi because base-2 is a thing.
  • Loading branch information
GlennBullingham committed Jan 25, 2021
1 parent 1097294 commit 9a1f07e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deploy/csi-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
# the same.
containers:
- name: mayastor-csi
image: mayadata/mayastor-csi:latest
image: mayadata/mayastor-csi:v0.7.0
imagePullPolicy: Always
# we need privileged because we mount filesystems and use mknod
securityContext:
Expand Down
6 changes: 3 additions & 3 deletions deploy/mayastor-daemonset-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
command: ['sh', '-c', 'until nc -vz nats 4222; do echo "Waiting for message bus..."; sleep 1; done;']
containers:
- name: mayastor
image: mayadata/mayastor:latest
image: mayadata/mayastor:v0.7.0
imagePullPolicy: Always
env:
- name: MY_NODE_NAME
Expand Down Expand Up @@ -70,11 +70,11 @@ spec:
resources:
limits:
cpu: "1"
memory: "500Mi"
memory: "512Mi"
hugepages-2Mi: "1Gi"
requests:
cpu: "1"
memory: "500Mi"
memory: "512Mi"
hugepages-2Mi: "1Gi"
ports:
- containerPort: 10124
Expand Down
6 changes: 3 additions & 3 deletions deploy/mayastor-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
command: ['sh', '-c', 'until nc -vz nats 4222; do echo "Waiting for message bus..."; sleep 1; done;']
containers:
- name: mayastor
image: mayadata/mayastor:latest
image: mayadata/mayastor:v0.7.0
imagePullPolicy: Always
env:
- name: MY_NODE_NAME
Expand Down Expand Up @@ -81,11 +81,11 @@ spec:
# pressure unless they exceed those limits. limits and requests must be the same.
limits:
cpu: "2"
memory: "500Mi"
memory: "512Mi"
hugepages-2Mi: "1Gi"
requests:
cpu: "2"
memory: "500Mi"
memory: "512Mi"
hugepages-2Mi: "1Gi"
ports:
- containerPort: 10124
Expand Down
2 changes: 1 addition & 1 deletion deploy/moac-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
mountPath: /var/lib/csi/sockets/pluginproxy/

- name: moac
image: mayadata/moac:latest
image: mayadata/moac:v0.7.0
imagePullPolicy: Always
args:
- "--csi-address=$(CSI_ENDPOINT)"
Expand Down

0 comments on commit 9a1f07e

Please sign in to comment.