it-wiki:kubernetes:initcontainers
Beispiel für ein initContainer
initContainers: - name: copy image: busybox:1.36.1 command: ["/bin/sh", "-c", "cp /config/cassandra.yaml /config/cassandra/"] volumeMounts: - name: tmp-config mountPath: /config/cassandra/ - name: cassandraconfig mountPath: /config/
it-wiki/kubernetes/initcontainers.txt · Zuletzt geändert: 2024/07/04 13:30 von marko