seafile-containerized/k8s/db-service.yaml

24 lines
623 B
YAML
Raw Permalink Normal View History

2023-12-05 13:20:40 +00:00
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
2023-12-05 13:20:40 +00:00
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: {}