feat: expose flux observability services over tailscale
This commit is contained in:
@@ -217,7 +217,7 @@ Ansible `site.yml` now skips `observability` and `observability-content` roles b
|
|||||||
|
|
||||||
## Observability Stack
|
## Observability Stack
|
||||||
|
|
||||||
The Ansible playbook deploys a lightweight observability stack in the `observability` namespace:
|
Flux deploys a lightweight observability stack in the `observability` namespace:
|
||||||
|
|
||||||
- `kube-prometheus-stack` (Prometheus + Grafana)
|
- `kube-prometheus-stack` (Prometheus + Grafana)
|
||||||
- `loki`
|
- `loki`
|
||||||
@@ -225,7 +225,7 @@ The Ansible playbook deploys a lightweight observability stack in the `observabi
|
|||||||
|
|
||||||
Grafana content is managed as code via ConfigMaps in `infrastructure/addons/observability-content/` (Flux), migrated from `ansible/roles/observability-content/`.
|
Grafana content is managed as code via ConfigMaps in `infrastructure/addons/observability-content/` (Flux), migrated from `ansible/roles/observability-content/`.
|
||||||
|
|
||||||
Services are kept internal by default, with optional declarative Tailscale exposure when the Tailscale Kubernetes Operator is healthy.
|
Grafana and Prometheus are exposed via Tailscale (`loadBalancerClass: tailscale`) when the Tailscale Kubernetes Operator is healthy.
|
||||||
|
|
||||||
### Access Grafana and Prometheus
|
### Access Grafana and Prometheus
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,11 @@ spec:
|
|||||||
storageClassName: local-path
|
storageClassName: local-path
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: LoadBalancer
|
||||||
|
loadBalancerClass: tailscale
|
||||||
|
annotations:
|
||||||
|
tailscale.com/hostname: grafana
|
||||||
|
tailscale.com/proxy-class: infra-stable
|
||||||
sidecar:
|
sidecar:
|
||||||
datasources:
|
datasources:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -41,7 +45,11 @@ spec:
|
|||||||
searchNamespace: observability
|
searchNamespace: observability
|
||||||
prometheus:
|
prometheus:
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: LoadBalancer
|
||||||
|
loadBalancerClass: tailscale
|
||||||
|
annotations:
|
||||||
|
tailscale.com/hostname: prometheus
|
||||||
|
tailscale.com/proxy-class: infra-stable
|
||||||
prometheusSpec:
|
prometheusSpec:
|
||||||
retention: 7d
|
retention: 7d
|
||||||
storageSpec:
|
storageSpec:
|
||||||
|
|||||||
Reference in New Issue
Block a user