Created
September 12, 2017 14:47
-
-
Save devinburnette/d6f9c97be1c0a9cd2e98cea46a2257e9 to your computer and use it in GitHub Desktop.
Example Kubernetes Nginx Service
This file contains 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: nginx | |
spec: | |
type: NodePort | |
selector: | |
component: nginx | |
stack: local | |
ports: | |
- protocol: TCP | |
port: 80 | |
nodePort: 80 | |
name: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment