Created
March 29, 2016 22:05
-
-
Save ramr/43f55948461df51cc8ffe01530af0ce7 to your computer and use it in GitHub Desktop.
nodeport-router-yaml
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: router-exposition | |
labels: | |
name: router | |
spec: | |
type: NodePort | |
ports: | |
# the port that this service should serve on | |
- port: 80 | |
nodePort: 30405 | |
protocol: TCP | |
targetPort: 80 | |
selector: | |
router: router |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment