kURL
kURL copied to clipboard
Failed to connect remotely to the k8s cluster using kubectl
Observed in Azure kurl installation, sudo bash tasks.sh generate-admin-user put the private IP of the cluster instead of the public one.
Thus the generated kube config cannot be used outside of the machine.
To reproduce, create an Azure VM and install a k8s cluster using kurl. Follow https://kurl.sh/docs/install-with-kurl/connecting-remotely to connect remotely.
Expected: able to connect.
Hello namgk
I face similar issue in azure while using RHEL 9.2.
You just need to pass the public IP while running install.sh script.
1 .cat install.sh | sudo bash -s public-address="201.198.25.212"
- sudo bash tasks.sh generate-admin-user
Now its generate a root.conf file you can use to connect remotely to your K8 cluster