🐞 k8s: DNS server args are args, not command

Fixes, when `kubectl describe pod sslip.io-xxx-yy`:

> Warning  Failed     72s (x4 over 113s)  kubelet            Error:
failed to create containerd task: failed to create shim task: OCI
runtime create failed: runc create failed: unable to start container
process: exec: "-etcdHost": executable file not found in $PATH: unknown
This commit is contained in:
Brian Cunnie
2022-11-27 06:53:39 -08:00
parent 37e4ab7537
commit 2422c73a1b

View File

@@ -19,7 +19,7 @@ spec:
- name: sslip-container
image: cunnie/sslip.io-dns-server:latest
imagePullPolicy: Always
command:
args:
- -etcdHost
- k-v-io-etcd-cluster.default.svc.cluster.local:2379
- quiet