Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: ecolyo-agent-database
name: ecolyo-agent-database
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: ecolyo-agent-database
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.network/ecolyo-agent-network: "true"
io.kompose.service: ecolyo-agent-database
spec:
containers:
- env:
- name: MYSQL_DATABASE
value: ecolyo-agent-database
- name: MYSQL_ROOT_PASSWORD
value: root_password
image: mysql:5
livenessProbe:
exec:
command:
- mysqladmin ping -h 127.0.0.1 -u root --password=$MYSQL_ROOT_PASSWORD
failureThreshold: 60
periodSeconds: 5
timeoutSeconds: 10
name: ecolyo-agent-database
ports:
- containerPort: 3306
resources: {}
restartPolicy: Always
status: {}