Okay, I am spiking out a POC to migrate our traefik default ingress controller to HA using consul as a backend. I have consul up and running in a test namespace and am at the point where I want to use the
storeconfig command to put our traefik.toml values into the kv store the easy way... However, as soon as the pod starts it dies with this error:
Error: failed to start container "traefik-consul-test": Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"storeconfig\": executable file not found in $PATH": unknown
I am using the
:1.7.12-alpine image and below is the relevant specs of my deployment object, I've left out the volumes, env vars, and other sensitive info:
kind: Deployment metadata: labels: k8s-app: traefik-consul-test name: traefik-consul-test namespace: consul-test spec: template: metadata: labels: k8s-app: traefik-consul-test spec: containers: - name: traefik-consul-test args: - "--consul --consul.endpoint=consul-test-consul-server-0:8500" command: - "storeconfig" image: traefik:1.7.12-alpine
Any insight would make my week.