AKS群集上的主节点 [英] Master Node on AKS cluster

查看:68
本文介绍了AKS群集上的主节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用AKS服务创建了一个Kubernetes集群.

I created a Kubernetes cluster using AKS service.

当我执行"kubectl获取节点"时,我希望看到主节点.但是,我没有.我只看到Agent(角色)节点.

When I execute "kubectl get nodes", I expect to see the Master node. However, I don't. I only see the Agent (Role) nodes.

是否可以查看主"节点?我要执行此操作的原因是检查群集中是否启用了RBAC,如果未启用,请启用它.

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.

谢谢.

推荐答案

是否可以查看主"节点?我要这样做的原因是检查是否在我的集群中启用了RBAC,如果没有,请启用它.

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.

由Azure管理的Kubernetes主节点可能不可能,因为Azure会为您处理这些关键的维护任务,所以AKS不会提供直接访问(例如使用SSH))添加到群集中.

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.

如果您需要对Azure资源管理器模板的更多控制,则可以使用开源 acs-engine 项目,以构建您自己的自定义kubernetes集群并通过az CLI对其进行部署.

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.

这篇关于AKS群集上的主节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆