2023-12-05 13:20:40 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
kompose.service.expose.storage-class-name: default
|
2024-02-14 10:37:13 +00:00
|
|
|
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: {}
|