Created
November 29, 2018 14:06
-
-
Save ipochi/72bf27a59b5bcea45ee2691e5f9de31f to your computer and use it in GitHub Desktop.
Service to expose Prometheus pods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: prometheus | |
| spec: | |
| type: NodePort | |
| ports: | |
| - name: web | |
| nodePort: 30900 | |
| port: 9090 | |
| protocol: TCP | |
| targetPort: web | |
| selector: | |
| prometheus: prometheus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment