kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch15/hello-kiamol/service.yaml

13 lines
191 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: hello-kiamol
labels:
kiamol: ch15
spec:
ports:
- port: 80
targetPort: http
selector:
app: hello-kiamol
type: ClusterIP