i’m using microk8s.
i’d like to change my kube-apiserver and cluster-agent port from 16443 to 30000, 25000 to 31000 each for some reason.
but i cannot find any docs or suggestion in official doc and googles.
does anyone have this kind of experience? i need an advise for this.
this is my trial.
/var/snap/microk8s/current/args/kube-apiserver
#–secure-port=16443
–secure-port=30000
/var/snap/microk8s/current/args/cluster-agent
–bind 0.0.0.0:25000 → --bind 0.0.0.0:31000
it looks like i can communicate with that port but other services in kubernetes not work properly.
here`s one example after changing,
when trying join as worker node.
Contacting cluster at x.x.x.x (my master node ip)
Connection failed. The port of the cluster agent port has to be set to 31000 (502).
thanks in advance.