From 9a1f07ee0b351a73c226c2f263099e1674e003f3 Mon Sep 17 00:00:00 2001 From: GlennBullingham Date: Mon, 25 Jan 2021 18:28:55 +0000 Subject: [PATCH] chore(deployment): Update k8s deployment config files 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. --- deploy/csi-daemonset.yaml | 2 +- deploy/mayastor-daemonset-config.yaml | 6 +++--- deploy/mayastor-daemonset.yaml | 6 +++--- deploy/moac-deployment.yaml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deploy/csi-daemonset.yaml b/deploy/csi-daemonset.yaml index f7d11ebcd..1db3104bf 100644 --- a/deploy/csi-daemonset.yaml +++ b/deploy/csi-daemonset.yaml @@ -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: diff --git a/deploy/mayastor-daemonset-config.yaml b/deploy/mayastor-daemonset-config.yaml index 578a685c4..8c8742ac9 100644 --- a/deploy/mayastor-daemonset-config.yaml +++ b/deploy/mayastor-daemonset-config.yaml @@ -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 @@ -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 diff --git a/deploy/mayastor-daemonset.yaml b/deploy/mayastor-daemonset.yaml index dc4f54484..d92dee673 100644 --- a/deploy/mayastor-daemonset.yaml +++ b/deploy/mayastor-daemonset.yaml @@ -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 @@ -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 diff --git a/deploy/moac-deployment.yaml b/deploy/moac-deployment.yaml index 22e24a1bb..ca215367e 100644 --- a/deploy/moac-deployment.yaml +++ b/deploy/moac-deployment.yaml @@ -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)"