Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: v1
kind: Service
metadata:
name: nginx-svc
namespace: sample-ns
labels:
name: nginx
spec:
selector:
app: nginx
ports:
- name: nginx
protocol: TCP
port: 40001
targetPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment