I am following the github actions course. (Great course)
I got to lab 5 and this is about deploying something on kubernetes. I get the kubernetes KUBECONFIG file but the server is point to 127.0.0.1 which of course github actions cannot find a kubernetes cluster when running the workflow. I would expected a public IP address
Run kubectl version --short -o yaml
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
The connection to the server 127.0.0.1:6443 was refused - did you specify the right host or port?
This is the kubeconfig file you supply
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkakNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTWpBek16YzJOVEF3SGhjTk1qUXdOekEzTURjek5ERXdXaGNOTXpRd056QTFNRGN6TkRFdwpXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTWpBek16YzJOVEF3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFRTm5PLzk4Uk10MVA2ZTVuTG81SnowRGx0a3QxWUxwVVJiSzhQRW5GR0cKTzBqMmZ3WVZucWs1QmtEbkJEaDVnOHJ2QVJvVWlZZkZHdys0MEVZY21sUnpvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVTRMQTl4VlVVS0R0MmZmTVF0UlZDCjU3MzYrMjR3Q2dZSUtvWkl6ajBFQXdJRFJ3QXdSQUlnWkpnWkZ1VWt5T0dQUlJxNFBwV2lqR0EveVppcXE2MWoKV3BCMHorcUlXSjRDSUdIVXNORzVNVmUzZm1aSWcwdlRrK1ZtVmxkaTJ6TDBOL2EzbUpRT2J5dCsKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
server: https://127.0.0.1:6443
name: default