zkt24/z2/mysql-service.yaml

12 lines
174 B
YAML
Raw Permalink Normal View History

2024-04-25 16:35:23 +00:00
apiVersion: v1
kind: Service
metadata:
name: mysql-service
spec:
selector:
app: mysql
ports:
- protocol: TCP
port: 3306
targetPort: 3306