IBM ICP管理入口

时间:2018-07-17 18:33:33

标签: ibm-cloud-private

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

  

LimitNOFILE =无限   LimitNPROC =无穷大   LimitCORE =无穷大

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”

1 个答案:

答案 0 :(得分:0)

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

您正在运行的'kubectl'命令不正确。应该是

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