Welcome to the Linux Foundation Forum!

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

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:

  1. $ k logs vote-bot-797d647489-xgk6x -n emojivoto consul-connect-inject-init
  2. 2022-08-28T16:00:41.342Z [INFO] Unable to find registered services; retrying
  3. 2022-08-28T16:00:42.342Z [INFO] Unable to find registered services; retrying
  4. 2022-08-28T16:00:43.343Z [INFO] Unable to find registered services; retrying
  5. 2022-08-28T16:00:44.344Z [INFO] Unable to find registered services; retrying
  6. 2022-08-28T16:00:45.345Z [INFO] Unable to find registered services; retrying
  7. 2022-08-28T16:00:46.346Z [INFO] Unable to find registered services; retrying
  8. 2022-08-28T16:00:47.347Z [INFO] Unable to find registered services; retrying
  9. 2022-08-28T16:00:48.347Z [INFO] Unable to find registered services; retrying
  10. 2022-08-28T16:00:49.348Z [INFO] Unable to find registered services; retrying
  11. 2022-08-28T16:00:50.349Z [INFO] Unable to find registered services; retrying
  12. 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.
  13. 2022-08-28T16:00:51.350Z [INFO] Unable to find registered services; retrying
  14. 2022-08-28T16:00:52.351Z [INFO] Unable to find registered services; retrying
  15. 2022-08-28T16:00:53.352Z [INFO] Unable to find registered services; retrying
  16. 2022-08-28T16:00:54.353Z [INFO] Unable to find registered services; retrying
  17. 2022-08-28T16:00:55.354Z [INFO] Unable to find registered services; retrying
  18. 2022-08-28T16:00:56.355Z [INFO] Unable to find registered services; retrying
  19. 2022-08-28T16:00:57.355Z [INFO] Unable to find registered services; retrying
  20. 2022-08-28T16:00:58.356Z [INFO] Unable to find registered services; retrying
  21. 2022-08-28T16:00:59.356Z [INFO] Unable to find registered services; retrying
  22. 2022-08-28T16:01:00.358Z [INFO] Unable to find registered services; retrying
  23. 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.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training