-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase-deployment.yaml
54 lines (54 loc) · 1.17 KB
/
database-deployment.yaml
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
50
51
52
53
54
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: database
namespace: default
labels:
app: database
version: 12.1.0.2
spec:
replicas: 1
selector:
matchLabels:
app: database
version: 12.1.0.2
template:
metadata:
name: database
labels:
app: database
version: 12.1.0.2
spec:
volumes:
- name: dshm
emptyDir:
medium: Memory
containers:
- name: database
command:
- /home/oracle/setup/dockerInit.sh
image: quay.io/ravi_r_singhal/database:12.1.0.2
resources:
requests:
memory: 10Gi
ports:
- containerPort: 1521
hostPort: 1521
volumeMounts:
- mountPath: /dev/shm
name: dshm
env:
- name: DB_SID
value: OraDoc
- name: DB_PDB
value: OraPdb
- name: DB_PASSWD
value: Welcome1
- name: DB_DOMAIN
value: my.domain.com
- name: DB_BUNDLE
value: basic
- name: DB_MEMORY
value: 8g
imagePullSecrets:
- name: regsecret