diff --git a/deploy/mayastor-daemonset.yaml b/deploy/mayastor-daemonset.yaml index 5d5d780ed..1c2d78e04 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:develop + image: mayadata/mayastor:v0.8.1 imagePullPolicy: Always env: - name: MY_NODE_NAME @@ -50,13 +50,12 @@ spec: # The -l argument accepts cpu-list. Indexing starts at zero. # For example -l 1,2,10-20 means use core 1, 2, 10 to 20. # Note: Ensure that the CPU resources are updated accordingly. - # If you use 2 CPUs, the CPU: field should also read 2. + # If you use 2 CPUs, the CPU: field should also read 2. - "-N$(MY_NODE_NAME)" - "-g$(MY_POD_IP)" - "-nnats" - - "-y/var/local/mayastor/config.yaml" - "-P/var/local/mayastor/pools.yaml" - - "-l0" + - "-l1" - "-pmayastor-etcd" securityContext: privileged: true @@ -73,14 +72,15 @@ spec: # NOTE: Each container must have mem/cpu limits defined in order to # belong to Guaranteed QoS class, hence can never get evicted in case of # pressure unless they exceed those limits. limits and requests must be the same. + # limits: cpu: "1" - memory: "512Mi" - hugepages-2Mi: "1Gi" + memory: "1Gi" + hugepages-2Mi: "2Gi" requests: cpu: "1" - memory: "512Mi" - hugepages-2Mi: "1Gi" + memory: "1Gi" + hugepages-2Mi: "2Gi" ports: - containerPort: 10124 protocol: TCP diff --git a/deploy/moac-deployment.yaml b/deploy/moac-deployment.yaml index 8388cf77c..f93d7d983 100644 --- a/deploy/moac-deployment.yaml +++ b/deploy/moac-deployment.yaml @@ -47,7 +47,7 @@ spec: mountPath: /var/lib/csi/sockets/pluginproxy/ - name: moac - image: mayadata/moac:develop + image: mayadata/moac:v0.8.1 imagePullPolicy: Always args: - "--csi-address=$(CSI_ENDPOINT)" @@ -55,7 +55,7 @@ spec: - "--watcher-idle-timeout=600000" - "--etcd-endpoint=mayastor-etcd" - "--message-bus=nats" - - "-vv" + - "-v" env: - name: CSI_ENDPOINT value: /var/lib/csi/sockets/pluginproxy/csi.sock