我们可以运行kubectl form worker/minion节点吗? [英] Can we run kubectl form worker/minion node?

查看:46
本文介绍了我们可以运行kubectl form worker/minion节点吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的kubernetes集群设置,我想检查worker/minion节点中的节点,我们可以运行kubectl form worker/minion节点吗?

I have my kubernetes cluster setup and I want to check for the nodes from worker/minion node, can we run kubectl form worker/minion node?

推荐答案

是的,您只需要具有正确的客户端凭据,就可以从可以通过网络访问apiserver的任何位置运行kubectl.有关获取kubeconfig文件的说明,请参见使用kubeconfig共享群集访问.到您的工作节点上.

Yes, you just need to have the proper client credentials and you can run kubectl from anywhere that has network access to the apiserver. See Sharing Cluster Access with kubeconfig for the instructions to get a kubeconfig file onto your worker node.

这篇关于我们可以运行kubectl form worker/minion节点吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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