Skip to content

Instantly share code, notes, and snippets.

@faiyaz26
Created August 28, 2018 02:48
Show Gist options
  • Save faiyaz26/b3694f85ebe61b91ff67129185cf2945 to your computer and use it in GitHub Desktop.
Save faiyaz26/b3694f85ebe61b91ff67129185cf2945 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: rtn-k8s-service
labels:
app: rtn-k8s
spec:
ports:
- port: 80
targetPort: 3000
protocol: TCP
type: LoadBalancer
selector:
app: rtn-k8s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment