Skip to content

Instantly share code, notes, and snippets.

@priyankvex
Created February 4, 2018 14:03
Embed
What would you like to do?
YAML file to create the cats service in kubernetes
apiVersion: v1
kind: Service
metadata:
name: cats-service
labels:
run: cats-service
spec:
type: NodePort
ports:
- port: 80
protocol: TCP
selector:
app: cats-deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment