Created
May 19, 2017 03:45
-
-
Save goindwalia/7e16f5af622b0f06281dec0f3df2ac96 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: 7102 | |
selector: | |
k8s-app: <name of application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment