kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch03/sleep/sleep2-service.yaml

9 lines
113 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: sleep-2
spec:
selector:
app: sleep-2
ports:
- port: 80