0

Cloud Private 2.1.0.3 无法在 Ubuntu 16.06 和 18.04 上启动管理入口 Docker.service 已修改并重新启动服务

LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity

Docker ps 命令返回容器正在运行

root@master-node:~# docker ps | grep management*
260419af796d        4b5ac3c6d7c5                   "/icp-management- 
ing…"   About an hour ago   Up About an hour                        
k8s_icp-management-ingress_icp-management-ingress-t9jz7_kube- 
system_e31012fc-89e4-11e8-ba42-f46d043873f5_0

Docker 日志 --follow 报告没有错误

root@master-node:~# docker logs --follow 260419af796d
I0717 17:14:44.989456       1 main.go:112] Creating API client for 
https://10.0.0.1:443
----------------------------------------------------------------------
ICP Management Ingress controller
Release:    UNKNOWN
Build:      UNKNOWN
Repository: UNKNOWN
----------------------------------------------------------------------
I0717 17:14:45.000195       1 main.go:125] Running in Kubernetes 
Cluster version v1.10 (v1.10.0+icp) - git (clean) commit 
1c6988c2361d678dab8ea5ddfab82cb52680b20b - platform linux/amd64
I0717 17:14:45.005428       1 nginx.go:204] starting Ingress 
controller
I0717 17:14:45.014718       1 event.go:218] 
Event(v1.ObjectReference{Kind:"Ingress", Namespace:"kube-system", 
Name:"platform-oidc-block", UID:"dfafbcab-89e4-11e8-ba42- 
f46d043873f5", APIVersion:"extensions", ResourceVersion:"973", 
FieldPath:""}): type: 'Normal' reason: 'CREATE' Ingress kube- 
system/platform-oidc-block
I0717 17:14:45.014922       1 event.go:218] 
Event(v1.ObjectReference{Kind:"Ingress", Namespace:"kube-system", 
Name:"id-mgmt", UID:"dfb16986-89e4-11e8-ba42-f46d043873f5", 
APIVersion:"extensions", ResourceVersion:"979", FieldPath:""}): type: 
'Normal' reason: 'CREATE' Ingress kube-system/id-mgmt
I0717 17:14:45.015009       1 event.go:218] 
Event(v1.ObjectReference{Kind:"Ingress", Namespace:"kube-system", 
Name:"platform-oidc", UID:"dfaf5fdd-89e4-11e8-ba42-f46d043873f5", 
APIVersion:"extensions", ResourceVersion:"971", FieldPath:""}): type: 
'Normal' reason: 'CREATE' Ingress kube-system/platform-oidc
I0717 17:14:45.015178       1 event.go:218] 
Event(v1.ObjectReference{Kind:"Ingress", Namespace:"kube-system", 
Name:"platform-auth", UID:"dfb220bf-89e4-11e8-ba42-f46d043873f5", 
APIVersion:"extensions", ResourceVersion:"981", FieldPath:""}): type: 
'Normal' reason: 'CREATE' Ingress kube-system/platform-auth
I0717 17:14:45.015306       1 event.go:218] 
Event(v1.ObjectReference{Kind:"Ingress", Namespace:"kube-system", 
Name:"iam-pap", UID:"e12bcbfc-89e4-11e8-ba42-f46d043873f5", 
APIVersion:"extensions", ResourceVersion:"1046", FieldPath:""}): type:       
Normal' reason: 'CREATE' Ingress kube-system/iam-pap
I0717 17:14:45.015398       1 event.go:218]

100 次退休后它死了 SUSE 没有在相同的硬件上出现相同的错误 16.04 和 18.04 都有

编辑更多信息:所以它正在做的步骤是

kubectl -n kube-system get daemonset icp-management-ingress -o=custom-     columns=A:.status.numberAvailable,B:.status.desiredNumberScheduled --no-  headers=true | tr -s \" \" | awk '$1 == $2 {print \"READY\"}'"

当我通过 cmd 运行此错误时:服务器没有资源类型“daemonset”

4

1 回答 1

0

我没有从日志中看到明确的错误消息。还有来自 'docker ps | 的输出 grep management',该服务运行了一个小时。

您运行的“kubectl”命令不正确。它应该是

kubectl -n kube-system get ds icp-management-ingress

于 2018-07-26T03:19:36.247 回答