Welcome to the Linux Foundation Forum!

Setting up a one node Kubernetes cluster - internal IP address and port closed after few minutes

Options

I made several attempts to complete all the test tools; unfortunately after few minutes of use (I was able to bootstrap the one node Kubernetes cluster and set up the networking plugin) I am no longer able to continue the exercise as the kubectl command returns an error with the API endpoint connection and asking if I provided the correct IP address and port. This is strange as it was working just few second ago and this is a sudden change not related to any configuration. I wonder if Google prevents us to use an internal IP address for an application or service without declaring it first from one of their tools...

Answers

  • gouravshah
    gouravshah Posts: 139
    Options

    If Google is blocking the IP, it should happen always imho. If it works for some time, stops, and may be starts working again, it could also be a problem with one of the components.

    One possibility is some component of control plane crashing. Have you tried checking if all the components are okay, and there are no restarts etc? You could also further check the logs of API servers and other control plane components to verify.

  • bauger
    bauger Posts: 39
    Options

    @gouravshah

    I do not remember any component troubles and unfortunately I have already decommissioned the VM instance and can't check it out.

    Thanks for your support.

Categories

Upcoming Training