All nodes have two network interfaces for internal and external networks. I need to set up a self-managed Kubernetes cluster that is using only the internal network except NodePorts must be open also on the external network.
This config is used with the kubeadm init
:
apiVersion: kubeadm.k8s.io/v1beta2
kind: InitConfiguration
bootstrapTokens:
localAPIEndpoint:
advertiseAddress: "10.x.x.x"
Starting kubelet:
/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS --address=10.x.x.y --node-ip=10.x.x.y
What is the difference between
--address
and--node-ip
I am unable to understand from the documentation.Is it enough to do what I want from the Kubernetes perspective? I am unable to run Istio, so trying to narrow down the issue.
Self managed Kubernetes 1.23.4