Does kubectl port-forward ignore loadBalance services?

后端 未结 2 677
眼角桃花
眼角桃花 2020-12-12 00:53

My Environment: Mac dev machine with latest Minikube/Docker

I built (locally) a simple docker image with a simple Django REST API \"hello world\".I\'m running a depl

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-12 01:27

    The reason was that my pods were randomly in a crashing state due to Python *.pyc files that were left in the container. This causes issues when Django is running in a multi-pod Kubernetes deployment. Once I removed this issue and all pods ran successfully, the round-robin started working.

提交回复
热议问题