Add local-path-provisioner(shared) volume.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -103,6 +103,7 @@ x-k3s-agent-base: &_x-k3s-agent-base | ... | @@ -103,6 +103,7 @@ x-k3s-agent-base: &_x-k3s-agent-base |
103 | - *_x-root-cert-volume | 103 | - *_x-root-cert-volume |
104 | - *_x-kubelet-volume | 104 | - *_x-kubelet-volume |
105 | - server:/var/lib/rancher/k3s/server:ro | 105 | - server:/var/lib/rancher/k3s/server:ro |
106 | - local-path-provisioner:/opt/local-path-provisioner | ||
106 | privileged: true | 107 | privileged: true |
107 | restart: always | 108 | restart: always |
108 | networks: | 109 | networks: |
... | @@ -234,4 +235,5 @@ volumes: | ... | @@ -234,4 +235,5 @@ volumes: |
234 | etcd3-data: | 235 | etcd3-data: |
235 | server: {} | 236 | server: {} |
236 | output: {} | 237 | output: {} |
238 | local-path-provisioner: | ||
237 | 239 | ... | ... |
-
Please register or sign in to post a comment