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

15 lines
197 B
YAML

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