kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch03/numbers/api-service.yaml

10 lines
139 B
YAML
Raw Normal View History

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