Skip to content

kubectl freeze with kubelogin

When trying to login with kubelogin

Terminal window
kubectl --user=oidc cluster-info

kubectl may freeze.

kubelogin needs the local port 8000 or 18000 to start a server to get back the authorization code.

If the ports are used, the application may freeze.

  • Check that the ports are not already used and kills the process.
  • We can’t change the port because they are registered and mandatory for the oauth flow.