Skip to content

Instantly share code, notes, and snippets.

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