I created a Kubernetes cluster using AKS service.
When I execute "kubectl get nodes", I expect to see the Master node. However, I don't. I only see the Agent (Role) nodes.
Is it possible to look at Master node? The reason I want to do this is to check if RBAC is enabled in my cluster, and if not, enable it.
thanks.
The master node is responsible for cluster management and for providing the API that is used to configure and manage resources within the Kubernetes cluster. Kubernetes master node components can be run within Kubernetes itself, as a set of containers within a dedicated pod.
A Kubernetes cluster is made up of at least one master node and one or more worker nodes. The master node makes up the control plane of a cluster and is responsible for scheduling tasks and monitoring the state of the cluster.
You can access AKS nodes using SSH, including Windows Server nodes. You can also connect to Windows Server nodes using remote desktop protocol (RDP) connections. For security purposes, the AKS nodes aren't exposed to the internet. To connect to the AKS nodes, you use kubectl debug or the private IP address.
This includes, for example, the master nodes — a Kubernetes cluster typically has 3 master nodes, and if you have only a single cluster, you need only 3 master nodes in total (compared to 30 master nodes if you have 10 Kubernetes clusters).
Is it possible to look at Master node? The reason I want to do this is to check if RBAC is enabled in my cluster, and if not, enable it.
It is not possible, Kubernetes master node managed by Azure, because Azure handles these critical maintenance tasks for you, AKS does not provide direct access (such as with SSH) to the cluster.
If you need more control over the Azure resource manager templates, you can use the open source acs-engine project to build your own custom kubernetes cluster and deploy it via the az CLI.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With