Last active
November 9, 2018 04:06
-
-
Save sudermanjr/609f7a9290cdd9768c6896db6ff36c12 to your computer and use it in GitHub Desktop.
Kube202 NodePort 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: | |
annotations: | |
name: test-service | |
namespace: kube202 | |
spec: | |
ports: | |
- port: 80 | |
protocol: TCP | |
targetPort: 80 | |
selector: | |
app: nginx | |
sessionAffinity: None | |
type: NodePort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment