zoukankan      html  css  js  c++  java
  • aaa

    创建依赖时遇到的错误

    pvc创建失败报错:

    Events:
      Type    Reason                Age                  From                         Message
      ----    ------                ----                 ----                         -------
      Normal  ExternalProvisioning  1s (x19 over 4m18s)  persistentvolume-controller  waiting for a volume to be created, either by external provisioner "nfs-storage" or manually created by system administrator
    

    注意查看nfs pod日志,有报错

    E0511 10:28:46.640171       1 leaderelection.go:234] error retrieving resource lock kube-system/nfs-nfs1: endpoints "nfs-nfs1" is forbidden: User "system:serviceaccount:kube-system:eip-nfs-client-provisioner" cannot get resource "endpoints" in API group "" in the namespace "kube-system"
    
    [root@ikj-141 test]# kubectl get pods
    error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
    

    没有设置KUBERNETES_MASTER

  • 相关阅读:
    实验 7 综合练习一
    实验或作业模版: 实验 6-1 最大公约数 最小公倍数
    实验 6 数组1
    Pro
    作业 4 函数应用
    老大
    双端队列
    zxa and leaf
    Baby Ming and Matrix games
    The more, The Better
  • 原文地址:https://www.cnblogs.com/wangzhangtao/p/12930388.html
Copyright © 2011-2022 走看看