Skip to content

Instantly share code, notes, and snippets.

@chrisedrego
Created July 31, 2020 09:04
Show Gist options
  • Save chrisedrego/3bc7498663f6959fbbb37692d6f52bf2 to your computer and use it in GitHub Desktop.
Save chrisedrego/3bc7498663f6959fbbb37692d6f52bf2 to your computer and use it in GitHub Desktop.
ingress-prometheus-svc
apiVersion: v1
kind: Service
metadata:
name: ingress-prometheus
namespace: {{NAMESPACE}}
spec:
ports:
- name: ingress-prometheus
port: 80
protocol: TCP
targetPort: 9901
selector:
app: controller-nginx-ingress
type: ClusterIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment