Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Master Node on AKS cluster

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.

like image 747
jeeva.usa Avatar asked Jan 08 '18 01:01

jeeva.usa


People also ask

What does master node in Kubernetes cluster do?

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.

Is there a master node in Kubernetes?

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.

How do I access AKS master node?

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.

How many master nodes are in Kubernetes cluster?

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).


1 Answers

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.

like image 96
Jason Ye Avatar answered Sep 19 '22 21:09

Jason Ye