-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp.yml
37 lines (37 loc) · 794 Bytes
/
temp.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: comments-api
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
name: comments-api
template:
metadata:
labels:
name: comments-api
spec:
containers:
- name: application
image: "enriquesalceda/comments-api:latest"
imagePullPolicy: Always
ports:
- containerPort: 8080
env:
- name: DB_PORT
value: "25060"
- name: DB_HOST
value: ""
- name: DB_PASSWORD
value: "bnq7zrdudgeagcdv"
- name: DB_TABLE
value: "defaultdb"
- name: DB_USERNAME
value: "doadmin"