kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch06/lab/numbers/api-service.yaml

12 lines
170 B
YAML

apiVersion: v1
kind: Service
metadata:
name: numbers-api
labels:
kiamol: ch06-lab
spec:
ports:
- port: 80
selector:
app: numbers-api
type: ClusterIP