k8s-training-app/02_wordpress/yaml/03_service.yaml

15 lines
201 B
YAML

---
apiVersion: v1
kind: Service
metadata:
name: wordpress
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app: wordpress
type: ClusterIP
# vim: set ts=2 sw=2 et: