Skip to content

Instantly share code, notes, and snippets.

@tungphan-agilityio
Created October 11, 2018 04:12
Show Gist options
  • Select an option

  • Save tungphan-agilityio/7dd8fba2447a234f22a05e45a1c6d262 to your computer and use it in GitHub Desktop.

Select an option

Save tungphan-agilityio/7dd8fba2447a234f22a05e45a1c6d262 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: webapp1-svc
labels:
app: webapp1
spec:
type: NodePort
ports:
- port: 80
nodePort: 30080
selector:
app: webapp1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment