安装vela报错
参考
https://blog.csdn.net/u011933777/article/details/102722700
https://www.cnblogs.com/centos-python/articles/10921991.html
[root@k8s-master ~]# kubectl describe pod -n vela-system kubevela-vela-core-554cd6c8ff-8xrtg
Name: kubevela-vela-core-554cd6c8ff-8xrtg
Namespace: vela-system
Priority: 0
Node: k8s-node02/192.168.10.78
Start Time: Mon, 28 Dec 2020 22:18:29 +0800
Labels: app.kubernetes.io/instance=kubevela
app.kubernetes.io/name=vela-core
pod-template-hash=554cd6c8ff
Annotations: <none>
Status: Pending
IP:
IPs: <none>
Controlled By: ReplicaSet/kubevela-vela-core-554cd6c8ff
Containers:
kubevela:
Container ID:
Image: oamdev/vela-core:v0.2.1
Image ID:
Ports: 9443/TCP, 9440/TCP
Host Ports: 0/TCP, 0/TCP
Args:
--metrics-addr=:8080
--enable-leader-election
--use-webhook=true
--webhook-port=9443
--webhook-cert-dir=/etc/k8s-webhook-certs
--health-addr=:9440
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Limits:
cpu: 500m
memory: 1Gi
Requests:
cpu: 50m
memory: 20Mi
Liveness: http-get http://:healthz/healthz delay=90s timeout=1s period=5s #success=1 #failure=3
Readiness: http-get http://:healthz/readyz delay=90s timeout=1s period=5s #success=1 #failure=3
Environment: <none>
Mounts:
/etc/k8s-webhook-certs from tls-cert-vol (ro)
/var/run/secrets/kubernetes.io/serviceaccount from kubevela-vela-core-token-qzxsq (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
tls-cert-vol:
Type: Secret (a volume populated by a Secret)
SecretName: webhook-server-cert
Optional: false
kubevela-vela-core-token-qzxsq:
Type: Secret (a volume populated by a Secret)
SecretName: kubevela-vela-core-token-qzxsq
Optional: false
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 45s default-scheduler Successfully assigned vela-system/kubevela-vela-core-554cd6c8ff-8xrtg to k8s-node02
Warning FailedMount 14s (x7 over 45s) kubelet, k8s-node02 MountVolume.SetUp failed for volume "tls-cert-vol" : secret "webhook-server-cert" not found
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步