kubernetes Helm-chart web UI添加

charts web ui

添加chart仓库

helm repo add cherryleo https://fileserver-1253732882.cos.ap-chongqing.myqcloud.com/charts

安装ingress

helm install cherryleo/nginx-ingress \
--set controller.image.repository=ccr.ccs.tencentyun.com/quay.io/nginx-ingress-controller \
--set controller.image.tag=0.15.0 --set defaultBackend.image.repository=ccr.ccs.tencentyun.com/k8s.io/defaultbackend \
--set defaultBackend.image.tag=1.4

安装monocular

helm install cherryleo/monocular --name monocular

查看monocular

kubectl get pods
NAME                                                              READY     STATUS    RESTARTS   AGE
giggly-grasshopper-nginx-ingress-controller-8965d964f-58zwr       1/1       Running   0          2h
giggly-grasshopper-nginx-ingress-default-backend-58954bc7chdvxz   1/1       Running   0          2h
monocular-mongodb-6c9b897fdf-nh49n                                1/1       Running   0          4m
monocular-monocular-api-5697776746-h4j9z                          1/1       Running   2          4m
monocular-monocular-prerender-6866b8c48d-8zdqt                    1/1       Running   0          4m
monocular-monocular-ui-75f899bf44-x96hr                           1/1       Running   0          4m

查看ingress端口

monocular必须通过ingress进行访问

kubectl get svc | grep ingress
my-ingress-controller        LoadBalancer   10.100.66.211    <pending>     80:31511/TCP,443:32308/TCP   3h

 

posted @ 2018-06-12 16:56  划得戳  阅读(2107)  评论(0编辑  收藏  举报