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

13 lines
181 B
YAML
Raw Normal View History

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