W0601 02:19:04.647511 7 client_config.go:617] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. I0601 02:19:04.647953 7 main.go:230] "Creating API client" host="https://10.43.0.1:443" I0601 02:19:04.653149 7 main.go:274] "Running in Kubernetes cluster" major="1" minor="26" git="v1.26.5+k3s1" state="clean" commit="7cefebeaac7dbdd0bfec131ea7a43a45cb125354" platform="linux/amd64" I0601 02:19:04.804224 7 main.go:104] "SSL fake certificate created" file="/etc/ingress-controller/ssl/default-fake-certificate.pem" W0601 02:19:04.812567 7 main.go:114] No permissions to list and get Ingress Classes: ingressclasses.networking.k8s.io is forbidden: User "system:serviceaccount:nfs:nfs-subdir-external-provisioner" cannot list resource "ingressclasses" in API group "networking.k8s.io" at the cluster scope, IngressClass feature will be disabled F0601 02:19:04.812608 7 main.go:123] Unexpected error obtaining ingress-nginx pod: unable to get POD information (missing POD_NAME or POD_NAMESPACE environment variable
时间: 2024-04-28 17:25:34 浏览: 299
Neither_Snow_Nor_Rain_Nor_MITM_._._._An_Empirical_Analysis_of
这段日志是关于一个Kubernetes集群中的Ingress Controller的启动过程的日志。其中包含了一些警告和错误信息,其中最严重的是IngressClass feature被禁用了,并且无法获取ingress-nginx pod的信息。可能需要检查一下集群权限和配置以及相关资源是否正确创建。
阅读全文