Replies: 1 comment
-
The kubelet should respect the configured node IP. Can you show the output of Did you perhaps add the --node-ip flag after the fact? You may need to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I have a server with the following network interfaces:
This is a Vagrant machine, so all IPs are private range, but the same behavior happens in a proper cloud environment with a private and public network interface.
In this scenario the
192.168.55.10
is the internal network one, and the192.168.121.39
is the external.I want to configure my k3s server to use the private network, so I set
--node-ip=
192.168.55.10`.Everything works fine the cluster is working and I can deploy workloads.
But when I run
kubectl logs
I always get the following error:All other kubectl commands work, only logs is giving an error.
I am very confused with this. Why only the logs command giving problems?
From the error message, It complains the the internal iP is not configured for the certificate., despite being what is set in
node-ip
.I tried adding the private IP do tls-san, but it´s the same.
I got this in the logs. It seems to be registering all the IPs correctly.
It only works, if I set
node-ip
to the public-ip, which is not ideal, since I want to use the private network, for internal cluster communications.Is there any other configuration I need to set, like play with advertise-addr or something?
Really appreciate your help.
Beta Was this translation helpful? Give feedback.
All reactions