简体   繁体   English

如何在 k8s 中找到 MASTER_IP 和 MASTER_CLUSTER_IP?

[英]How to find MASTER_IP and MASTER_CLUSTER_IP in k8s?

I am following this guide and trying to create the TLS cert , I am using cfssl and I am able to create the required file, but what should I provide for MASTER_IP and MASTER_CLUSTER_IP ?我正在遵循本指南并尝试创建 TLS 证书,我正在使用cfssl并且能够创建所需的文件,但是我应该为MASTER_IPMASTER_CLUSTER_IP提供什么?

When I execute kubectl cluster-info , I can only see the following information:当我执行kubectl cluster-info时,我只能看到以下信息:

Kubernetes control plane is running at https://xxx.yy.zzz.40:6443
CoreDNS is running at https://xxx.yy.zzz.40:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

Where can I find these two values?我在哪里可以找到这两个值?

use below command使用以下命令

kubectl get no -owide

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM