agreeable-sugar-99934
01/21/2023, 8:53 AMtls-san
Cluster setup works fine, all 3 nodes are in the k8s cluster. kubectl get node
does work when using the loaadbalancer IP in my kubeconfig.
But when I want to execute a kubectl logs <pod
I get an error
Error from server: Get "<https://10.0.0.4:10250/containerLogs/kube-system/cilium-9cg2l/cilium-agent?follow=true>": x509: certificate is valid for 127.0.0.1, <publicipv4>, <publicipv6>, not 10.0.0.4
the node has a public and internal interface and it seems the internal ip address is nod added to the kubelet certificate. How can I change this?