Skip to content

Instantly share code, notes, and snippets.

@strideynet
Created January 15, 2020 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save strideynet/08289aa6790f95bf3fc1a2e90fcfcb3c to your computer and use it in GitHub Desktop.
Save strideynet/08289aa6790f95bf3fc1a2e90fcfcb3c to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: my-nginx
labels:
run: my-nginx
spec:
type: NodePort
ports:
- port: 8080
targetPort: 80
protocol: TCP
name: http
selector:
run: my-nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment