Skip to content

Commit

Permalink
chore(release): update YAMLs to v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gila committed Jun 17, 2021
1 parent c13ffc9 commit 5e552fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 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:develop
image: mayadata/mayastor:v0.8.1
imagePullPolicy: Always
env:
- name: MY_NODE_NAME
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions deploy/moac-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ 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)"
- "--port=3000"
- "--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
Expand Down

0 comments on commit 5e552fc

Please sign in to comment.