This message was deleted.
# general
a
This message was deleted.
p
you could add a netorkpolicy to block outside request for the pods with the selector component : kube-apiserver
👍 1
The real question is : will doing this cause trouble? Ive noticed as well that my nodes listen on 6443 and 10250 on their public ip
So ive been trying to do what i said but it doesnt seems to work and i don't know why 🫠
f
in
/etc/rancher/k3s/config.yaml.d/50-rancher.yaml
the
bind-address
is not set, only
advertise-address
and it's the same on json plan file (stored in rancher secret) I tried to add
bind-address
in Additional API Server Args on the advanced tab but rancher can't join the k3s node after that
If I don't make a mistake in k3s kube-api is in main k3s process, it' not a kubernetes pod. network policy don't work
p
Idk, in nestat + ps i see the process opening the port has the same argument as the command ran in the pod 😭