Skip to content

Instantly share code, notes, and snippets.

@koorukuroo
Created November 13, 2025 04:37
Show Gist options
  • Select an option

  • Save koorukuroo/d676af5f2e9245a09cfa27d43147485f to your computer and use it in GitHub Desktop.

Select an option

Save koorukuroo/d676af5f2e9245a09cfa27d43147485f to your computer and use it in GitHub Desktop.
# ExternalName Service for monitoring namespace services
# This allows default namespace to access monitoring namespace services
apiVersion: v1
kind: Service
metadata:
name: grafana-external
namespace: default
spec:
type: ExternalName
externalName: prometheus-grafana.monitoring.svc.cluster.local
ports:
- port: 80
targetPort: 80
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment