Created
August 22, 2020 08:06
-
-
Save muralidharan-rade/4f67411b355299e17763fbd7c6afa37d to your computer and use it in GitHub Desktop.
NodePort Service definition
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: | |
| labels: | |
| app: wordpress | |
| name: wordpress | |
| spec: | |
| ports: | |
| - name: 80-31004 | |
| port: 80 | |
| protocol: TCP | |
| targetPort: 80 | |
| nodePort: 31004 | |
| selector: | |
| app: wordpress | |
| type: NodePort | |
| status: | |
| loadBalancer: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment