Skip to content

Instantly share code, notes, and snippets.

@devinburnette
Created September 12, 2017 14:47
Show Gist options
  • Save devinburnette/d6f9c97be1c0a9cd2e98cea46a2257e9 to your computer and use it in GitHub Desktop.
Save devinburnette/d6f9c97be1c0a9cd2e98cea46a2257e9 to your computer and use it in GitHub Desktop.
Example Kubernetes Nginx Service
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
type: NodePort
selector:
component: nginx
stack: local
ports:
- protocol: TCP
port: 80
nodePort: 80
name: http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment