feat: expose Grafana dashboard via Tailscale ProxyGroup
This commit is contained in:
parent
6f985281c7
commit
804013d60f
3 changed files with 12 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ spec:
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 3000
|
port: 3000
|
||||||
|
annotations:
|
||||||
|
tailscale.com/proxy-group: grafana
|
||||||
|
|
||||||
# Sidecar to auto-load dashboards from ConfigMaps
|
# Sidecar to auto-load dashboards from ConfigMaps
|
||||||
sidecar:
|
sidecar:
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- proxygroup-rtx6000.yaml
|
- proxygroup-rtx6000.yaml
|
||||||
|
- proxygroup-grafana.yaml
|
||||||
|
|
|
||||||
9
infrastructure/tailnet/proxygroup-grafana.yaml
Normal file
9
infrastructure/tailnet/proxygroup-grafana.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: tailscale.com/v1alpha1
|
||||||
|
kind: ProxyGroup
|
||||||
|
metadata:
|
||||||
|
name: grafana
|
||||||
|
spec:
|
||||||
|
type: ingress
|
||||||
|
hostnamePrefix: grafana-dashboard
|
||||||
|
tags:
|
||||||
|
- tag:k8s-operator
|
||||||
Loading…
Add table
Reference in a new issue