Skip to content

Instantly share code, notes, and snippets.

@miend
Created June 28, 2017 21:16
Show Gist options
  • Save miend/000346ca93ed9f78bfa982ff66900125 to your computer and use it in GitHub Desktop.
Save miend/000346ca93ed9f78bfa982ff66900125 to your computer and use it in GitHub Desktop.
An example NodePort service.yml
kind: Service
apiVersion: v1
metadata:
name: 'reports'
spec:
ports:
- protocol: 'TCP'
port: 443
targetPort: 443
selector:
app: 'reports'
type: LoadBalancer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment