K8S 运行环境添加失败
K8S 运行环境添加失败
错误信息提示 校验失败: rpc error: code = Unavailable desc = tiller 在命名空间[kube-system]下未正常服务: the server could not find the requested resource
K8S 环境helm成功安装
[root@rh .kube]# kubectl get pod -n kube-system NAME READY STATUS RESTARTS AGE helm-install-traefik-w2vlz 0/1 Completed 0 7h26m metrics-server-6d684c7b5-zlt6f 1/1 Running 3 7h26m local-path-provisioner-58fb86bdfd-92rxv 1/1 Running 4 7h26m svclb-traefik-7l6kj 2/2 Running 8 7h23m coredns-d798c9dd-f8gkm 1/1 Running 3 7h26m traefik-6787cddb4b-8k4q6 1/1 Running 3 7h23m svclb-traefik-q77xc 2/2 Running 6 7h22m svclb-traefik-xpcm5 2/2 Running 6 7h5m tiller-deploy-c774c87d6-z7xwg 1/1 Running 0 89m
kubectl get svc -n kube-system
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kube-dns ClusterIP 10.43.0.10
helm version Client: &version.Version{SemVer:"v2.16.3", GitCommit:"1ee0254c86d4ed6887327dabed7aa7da29d7eb0d", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.16.1", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"}
在验证是否安装helm的逻辑是什么,在k8s集群里面helm安装使用都正常。
必须要检查tiller吗,helm3支持吗
必须要检查tiller吗,helm3支持吗
暂时还不支持helm3,新的版本会支持
K8S 运行环境添加失败
错误信息提示 校验失败: rpc error: code = Unavailable desc = tiller 在命名空间[kube-system]下未正常服务: the server could not find the requested resource
K8S 环境helm成功安装
[root@rh .kube]# kubectl get pod -n kube-system NAME READY STATUS RESTARTS AGE helm-install-traefik-w2vlz 0/1 Completed 0 7h26m metrics-server-6d684c7b5-zlt6f 1/1 Running 3 7h26m local-path-provisioner-58fb86bdfd-92rxv 1/1 Running 4 7h26m svclb-traefik-7l6kj 2/2 Running 8 7h23m coredns-d798c9dd-f8gkm 1/1 Running 3 7h26m traefik-6787cddb4b-8k4q6 1/1 Running 3 7h23m svclb-traefik-q77xc 2/2 Running 6 7h22m svclb-traefik-xpcm5 2/2 Running 6 7h5m tiller-deploy-c774c87d6-z7xwg 1/1 Running 0 89m
kubectl get svc -n kube-system NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kube-dns ClusterIP 10.43.0.10 53/UDP,53/TCP,9153/TCP 7h27m metrics-server ClusterIP 10.43.41.8 443/TCP 7h27m traefik-prometheus ClusterIP 10.43.155.48 9100/TCP 7h24m traefik LoadBalancer 10.43.113.219 192.168.186.12 80:31491/TCP,443:30542/TCP 7h24m tiller-deploy ClusterIP 10.43.186.121 44134/TCP 89m
helm version Client: &version.Version{SemVer:"v2.16.3", GitCommit:"1ee0254c86d4ed6887327dabed7aa7da29d7eb0d", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.16.1", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"}
在验证是否安装helm的逻辑是什么,在k8s集群里面helm安装使用都正常。
看一下openpitrix-rp-kubernetes-deployment这个deployment对应的pod下的日志,有可能是k8s版本太高导致tiller服务发现不了