我使用的是kubernetes on-prem 当我使用kubernetes构建gitlab时,遇到了一些问题。我认为它与serviceaccount或角色绑定有关。但是找不到正确的方法 我找到了这些帖子 Kubernetes log, User "system:serviceaccount:default:default" cannot get services in the namespace https://github.com/kubernetes/kops/issues/3551 我的错误日志 ==> /var/log/gitlab/prometheus/cu
我正在尝试获取Kubernetes仪表板中的指标。为此,我在kube-system名称空间中运行influxdb和heapster pod。我使用命令kubectl get pods -n kube-system检查了pods的状态。下面是我关注的,但是heapster将日志显示为
E1023 13:41:07.915723 1 reflector.go:190] k8s.io/heapster/metrics/util/util.go:30: Failed to list *v1.Node: Get https://kubernetes.default/api/v1/nodes?
我正在尝试在ubutnu上安装kubernetes (裸机安装)。我安装了一个主节点和一个节点,它看起来很好。我安装了ui插件,没有问题,但当我尝试安装dns插件时,pod不断地重新启动。
在kube-apiserver日志中,我得到:
E1218 12:56:15.298118 5 handlers.go:37] Unable to authenticate the request due to an error: crypto/rsa: verification error
I1218 12:56:15.298220 5 handlers.go:131] GET /
我正在使用创建kubernetes operator项目。在运行中描述的项目初始化命令之后
kubebuilder init --domain k8s.io --license apache2 --owner "The Kubernetes Authors"
dep ensure返回错误日志,如下所示。
Solving failure: No versions of k8s.io/client-go met constraints:
v8.0.0: Could not introduce k8s.io/client-go@v8.0.0, as it is not all
因此,当我在kubernetes上部署prometheus时,我有3个名称空间,我在日志中看到了错误。它无法监视所有的名称空间。
错误:
\"system:serviceaccount:development:default\" cannot list endpoints at the cluster scope"
level=error ts=2018-06-28T21:22:07.390161824Z caller=main.go:216 component=k8s_client_runtime err="github.com/prometheus/prom
寻找一些关于容器的防御信息,特别是它是如何获得它分析的日志的。
文档说明如下():
To protect your Kubernetes containers, Defender for Containers receives and analyzes:
Audit logs and security events from the API server
Cluster configuration information from the control plane
Workload configuration from Azure Policy
Securi
我有一个包含两个节点的kubernetes集群,以及两个用于etcd的节点,我还对我的kubernetes使用身份验证。当我运行这个命令:kubectl get cs时,我得到以下输出:
NAME STATUS MESSAGE ERROR
scheduler Unhealthy Get http://127.0.0.1:10251/healthz: dia
我对在CentOS虚拟机上运行的CloudStack中的Kubernetes有一个问题。我的吊舱仍处于待定状态。当我打印一个吊舱的日志时,收到了以下错误消息:
[root@kubernetes-master ~]# kubectl logs wildfly-rc-6a0fr
Error from server: Internal error occurred: Pod "wildfly-rc-6a0fr" in namespace "default" : pod is not in 'Running', 'Succeede
我试着执行
kubeadm init --apiserver-advertise-address 49.232.211.230 --pod-network-cidr=10.244.0.0/16 -v=9
打印日志:
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
I0426 01:21:19.624413 30
我们在GCP kubernetes集群事件日志中收到了来自event-exporter容器的许多警告。
event-exporter Jun 4, 2018, 10:45:15 AM W0604 14:45:15.416504 1 reflector.go:323] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:55: watch of *v1.Event ended with: The resourceVersion for the provided watch is
我在3台REHEL7服务器上安装了kubernetes 1.2.4 (没有互联网接入,一切都是由ansible推动的)。
编辑:请看问题的结尾
除了在文档中给出的kube示例之外,我已经让一切都工作得很好。我做了几个测试,几个配置,重新创建了整个吊舱.我总是有一个"MissingClusterDNS“错误:
enter code here20m 20m 2 {kubelet k8s-minion-1.XXXXXX} Warning MissingClusterDNS kubelet does not have Clus
我正在使用kubernetes-dashboard来查看所有的pods,检查状态,登录,通过命令等。它工作得很好,但有很多与之相关的连接问题。我目前在端口8443上运行它,并通过Nginx的proxy pass将连接从443转发到8443。但是我的网关一直不好,而且连接一直在中断。这不是nginx的问题,因为我有kubernetes错误。我在nginx中使用Letsencrypt证书,我哪里做错了? 错误日志: E0831 05:31:45.839693 11324 portforward.go:385] error copying from local connection to re