Prometheus needs operator.prometheus.io/name label selector. Flux UI pods are labeled gitops-server not weave-gitops. Grafana now reads admin creds from Doppler via ExternalSecret instead of hardcoded values.
20 lines
459 B
YAML
20 lines
459 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: prometheus-tailscale
|
|
namespace: observability
|
|
annotations:
|
|
tailscale.com/hostname: prometheus
|
|
tailscale.com/proxy-class: infra-stable
|
|
spec:
|
|
type: LoadBalancer
|
|
loadBalancerClass: tailscale
|
|
selector:
|
|
app.kubernetes.io/name: prometheus
|
|
operator.prometheus.io/name: observability-kube-prometh-prometheus
|
|
ports:
|
|
- name: http
|
|
port: 9090
|
|
protocol: TCP
|
|
targetPort: 9090
|