V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
JellyG

kubectl 基本命令

  •  
  •   JellyG · Jun 16, 2020 · 2437 views
    This topic created in 2141 days ago, the information mentioned may be changed or developed.

    kubectl get cs 这个命令执行之后不显示 kube-apiserver 状态

    3 replies    2020-06-18 17:49:01 +08:00
    Illusionary
        1
    Illusionary  
       Jun 16, 2020
    k8s 1.16 版本有 bug,kubectl get cs 会显示全部 unknown,要 kubectl get cs -o yaml
    JellyG
        2
    JellyG  
    OP
       Jun 17, 2020
    @Illusionary kubectl get cs 这个指令意思是显示集群状态,和 unknown 有什么关系
    thinkmore
        3
    thinkmore  
       Jun 18, 2020
    @Illusionary 我用的 1.17 也有这个 bug

    @JellyG 你应该 run 下这个 command
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4390 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:59 · PVG 08:59 · LAX 17:59 · JFK 20:59
    ♥ Do have faith in what you're doing.