k3s/examples/mysql-wordpress-pd/mysql-service.yaml

14 lines
279 B
YAML
Raw Normal View History

apiVersion: v1
2015-01-28 17:21:22 +00:00
kind: Service
metadata:
labels:
name: mysql
2015-01-28 17:21:22 +00:00
name: mysql
spec:
ports:
# the port that this service should serve on
- port: 3306
# label keys and values that must match in order to receive traffic for this service
selector:
name: mysql