Created
June 1, 2017 04:48
-
-
Save goindwalia/afad0b2a52fe5c96fd2cc275ec95616a to your computer and use it in GitHub Desktop.
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: | |
k8s-app: <name of application> | |
name: <name of application> | |
namespace: <namespace of Kubernetes> | |
spec: | |
type: NodePort | |
ports: | |
- port: 2223 | |
selector: | |
k8s-app: <name of application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment