-
Notifications
You must be signed in to change notification settings - Fork 0
/
pod-mysql-server.yml
41 lines (41 loc) · 926 Bytes
/
pod-mysql-server.yml
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
apiVersion: v1
kind: Pod
metadata:
labels:
run: mysql-server
name: mysql-server
namespace: default
spec:
containers:
- image: phx.ocir.io/axmvl4uui9gb/oracle/mysql-server:latest
imagePullPolicy: Never
name: mysql-server
ports:
- containerPort: 22
protocol: TCP
name: opensshd
- containerPort: 3306
protocol: TCP
name: mysql
- containerPort: 33060
protocol: TCP
name: mysqlx
- containerPort: 33061
protocol: TCP
name: mysql-group
resources:
requests:
memory: "2G"
cpu: "250m"
limits:
memory: "4G"
cpu: "500m"
securityContext:
capabilities:
add:
- SYS_NICE
- SYS_RESOURCE
- NET_ADMIN
- AUDIT_WRITE
restartPolicy: Always
nodeName: 10.10.110.115