kubectl freeze with kubelogin
Problem
Section titled “Problem”When trying to login with kubelogin
kubectl --user=oidc cluster-infokubectl may freeze.
Solution
Section titled “Solution”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.