seafile-containerized/k8s/db-service.yaml
2024-02-14 11:37:13 +01:00

24 lines
623 B
YAML

apiVersion: v1
kind: Service
metadata:
annotations:
kompose.service.expose.storage-class-name: default
kompose.service.healthcheck.readiness.interval: 10s
kompose.service.healthcheck.readiness.retries: "3"
kompose.service.healthcheck.readiness.test: healthcheck.sh --su-mysql --connect --innodb_initialized
kompose.service.healthcheck.readiness.timeout: 10s
kompose.volume.size: 1Gi
creationTimestamp: null
labels:
io.kompose.service: db
name: db
spec:
ports:
- name: "3306"
port: 3306
targetPort: 3306
selector:
io.kompose.service: db
status:
loadBalancer: {}