Welcome to the Linux Foundation Forum!

[Lab5.8] the vote-bot won't start

thomas.bucaioni
thomas.bucaioni Posts: 207
edited August 2022 in LFS243 Class Forum

Hello,
The consul namespace has 5 pods instead of 3 now.
Consul only adds one container instead of 2 (so 2/2 expected), but injects 2 Init container. The consul-connect-inject-init Init container prevents the pod from starting:

$ k logs vote-bot-797d647489-xgk6x -n emojivoto consul-connect-inject-init 
2022-08-28T16:00:41.342Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:42.342Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:43.343Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:44.344Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:45.345Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:46.346Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:47.347Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:48.347Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:49.348Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:50.349Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:50.349Z [INFO]  Check to ensure a Kubernetes service has been created for this application. If your pod is not starting also check the connect-inject deployment logs.
2022-08-28T16:00:51.350Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:52.351Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:53.352Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:54.353Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:55.354Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:56.355Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:57.355Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:58.356Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:00:59.356Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:01:00.358Z [INFO]  Unable to find registered services; retrying
2022-08-28T16:01:00.358Z [INFO]  Check to ensure a Kubernetes service has been created for this application. If your pod is not starting also check the connect-inject deployment logs.

Categories

Upcoming Training