9
Kubernetes ile bir yaml dosyasında birden fazla komut nasıl ayarlanır?
Bu resmi belgede, bir yaml yapılandırma dosyasında command çalıştırabilir: https://kubernetes.io/docs/tasks/configure-pod-container/ apiVersion: v1 kind: Pod metadata: name: hello-world spec: # specification of the pod’s contents restartPolicy: Never containers: - name: hello image: "ubuntu:14.04" env: - name: MESSAGE value: "hello world" command: ["/bin/sh","-c"] args: ["/bin/echo \"${MESSAGE}\""] Birden fazla komut çalıştırmak istersem nasıl …
96
yaml
kubernetes