夜莺监控安装

前提:安装git,FQ

git clone https://github.com/flashcatcloud/n9e-helm.git

kubectl apply -f https://openebs.github.io/charts/openebs-operator.yaml

kubectl patch storageclass openebs-hostpath  -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'  

helm install nightingale ./n9e-helm -n n9e --create-namespace

卸载方法:

helm uninstall  nightingale -n n9e

 

需要nodeport访问:

kubectl edit svc -n n9e nightingale-center

ClusterIP修改为NodePort

 

查看svc

[root@master01 n9e]# kubectl get svc -n n9e
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
nightingale-center NodePort 10.233.33.72 <none> 80:30522/TCP,20090:30615/TCP 90s
nightingale-database ClusterIP 10.233.26.249 <none> 3306/TCP 90s
nightingale-prometheus ClusterIP 10.233.47.223 <none> 9090/TCP 90s
nightingale-redis ClusterIP 10.233.49.80 <none> 6379/TCP 90s

 

采用masterip:30522访问

账号密码:

root

root.2020

posted @ 2025-04-23 23:59  技术根据地  阅读(23)  评论(0)    收藏  举报