Created
November 18, 2018 13:39
-
-
Save tanan/2ed4affc06e3dd957c403a4a9601caee 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: | |
name: nginx-svc | |
namespace: sample-ns | |
labels: | |
name: nginx | |
spec: | |
selector: | |
app: nginx | |
ports: | |
- name: nginx | |
protocol: TCP | |
port: 40001 | |
targetPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment