Operators (Prometheus+Grafana)
-PROMETHEUS INSTALLATION-- (orig: https://prometheus-operator.dev/) kubectl create -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/master/bundle.yaml kubectl get deploy (see prometheus operator) sudo mkdir /etc/kubernetes/operator_k8s sudo vim /etc/kubernetes/operator_k8s/prom_rbac.yaml (https://grafana.com/docs/grafana-cloud/monitor-infrastructure/kubernetes-monitoring/configuration/config-other-methods/prometheus/prometheus-operator/) sudo vim /etc/kubernetes/operator_k8s/promtheus.yaml (will create HA prometheus deployment) kubectl get pods (see the operator and pods) kubectl get prometheus kubectl port-forward svc/prometheus 9001:9090 --address 0.0.0.0 -------- additionally: add port forwarding on vmware -since my cluster runs there-
-PROMETHEUS INSTALLATION-- (orig: https://prometheus-operator.dev/) kubectl create -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/master/bundle.yaml kubectl get deploy (see prometheus operator) sudo mkdir /etc/kubernetes/operator_k8s sudo vim /etc/kubernetes/operator_k8s/prom_rbac.yaml (https://grafana.com/docs/grafana-cloud/monitor-infrastructure/kubernetes-monitoring/configuration/config-other-methods/prometheus/prometheus-operator/) sudo vim /etc/kubernetes/operator_k8s/promtheus.yaml (will create HA prometheus deployment) kubectl get pods (see the operator and pods) kubectl get prometheus kubectl port-forward svc/prometheus 9001:9090 --address 0.0.0.0 -------- additionally: add port forwarding on vmware -since my cluster runs there-