【发布时间】:2019-03-12 05:58:50
【问题描述】:
我正在使用 GKE。我已经通过 kubectl 启动了以下 traefik 部署:
https://github.com/containous/traefik/blob/master/examples/k8s/traefik-deployment.yaml
pod 在 kube-system 命名空间上运行。 我无法通过 ssh 进入 pod。
kubectl get po -n kube-system
traefik-ingress-controller-5bf599f65d-fl9gx 1/1 Running 0 30m
kubectl exec -it traefik-ingress-controller-5bf599f65d-fl9gx -n kube-system -- '\bin\bash'
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"\\\\bin\\\\bash\": executable file not found in $PATH"
command terminated with exit code 126
我错过了什么吗? '--sh' 也一样。
【问题讨论】:
标签: kubernetes google-kubernetes-engine traefik