Hi Everyone : ) I composed 3 masters and 1 work u...
# rke2
b
Hi Everyone : ) I composed 3 masters and 1 work unit with rke2. Prometheus-operator can be installed through Rancher, but it is installed separately using helm. The status of Scheduler and Controller-manager is "down" on Prometheus Target. Is there a way to activate it? I'm not sure, but when Rancher installs Prometheus-operator, it seems that there is a proxy (nginx? pushprox?) at the front, but we don't use that service and want to provide it as a separate IP through HAproxy.
Copy code
root@server1:~# kubectl get all -n prometheus

NAME                                                         READY   STATUS    RESTARTS   AGE
pod/alertmanager-prometheus-kube-prometheus-alertmanager-0   2/2     Running   6          21h
pod/kube-state-metrics-5df6cf6dc8-twfc7                      1/1     Running   1          17h
pod/prometheus-node-exporter-hjnnw                           1/1     Running   1          17h
pod/prometheus-node-exporter-pkrsc                           1/1     Running   1          17h
pod/prometheus-node-exporter-tlz97                           1/1     Running   1          17h
pod/prometheus-node-exporter-whgr9                           1/1     Running   1          17h
pod/prometheus-operator-operator-6b964b49f5-hsf75            1/1     Running   4          21h
pod/prometheus-prometheus-kube-prometheus-prometheus-0       2/2     Running   2          15h

NAME                                              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
service/alertmanager-operated                     ClusterIP   None            <none>        9093/TCP,9094/TCP,9094/UDP   21h
service/kube-state-metrics                        ClusterIP   10.43.105.101   <none>        8080/TCP                     17h
service/prometheus-kube-prometheus-alertmanager   NodePort    10.43.221.127   <none>        9093:30012/TCP               21h
service/prometheus-kube-prometheus-prometheus     NodePort    10.43.113.247   <none>        9090:30011/TCP               21h
service/prometheus-node-exporter                  ClusterIP   10.43.151.85    <none>        9100/TCP                     17h
service/prometheus-operated                       ClusterIP   None            <none>        9090/TCP                     21h
service/prometheus-operator-operator              ClusterIP   10.43.70.120    <none>        443/TCP                      21h

NAME                                      DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/prometheus-node-exporter   4         4         4       4            4           <none>          17h

NAME                                           READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/kube-state-metrics             1/1     1            1           17h
deployment.apps/prometheus-operator-operator   1/1     1            1           21h

NAME                                                      DESIRED   CURRENT   READY   AGE
replicaset.apps/kube-state-metrics-5df6cf6dc8             1         1         1       17h
replicaset.apps/prometheus-operator-operator-6b964b49f5   1         1         1       21h

NAME                                                                    READY   AGE
statefulset.apps/alertmanager-prometheus-kube-prometheus-alertmanager   1/1     21h
statefulset.apps/prometheus-prometheus-kube-prometheus-prometheus       1/1     21h