Skip to content

Instantly share code, notes, and snippets.

@ejhsu
Created January 9, 2019 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ejhsu/cd348bc3f6699cd8e28944ff7a66417a to your computer and use it in GitHub Desktop.
Save ejhsu/cd348bc3f6699cd8e28944ff7a66417a to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: monitoring
spec:
type: ClusterIP
ports:
- port: 9090
targetPort: 9090
selector:
app: prometheus-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment