File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ creationTimestamp : null
5+ labels :
6+ app : accounts
7+ name : accounts
8+ spec :
9+ replicas : 3
10+ selector :
11+ matchLabels :
12+ app : accounts
13+ strategy : {}
14+ template :
15+ metadata :
16+ creationTimestamp : null
17+ labels :
18+ app : accounts
19+ spec :
20+ containers :
21+ - image : us.icr.io/sn-labs-coursera1308/accounts:1
22+ name : accounts
23+ resources : {}
24+
25+ env :
26+ - name : DATABASE_HOST
27+ value : postgresql
28+ - name : DATABASE_NAME
29+ valueFrom :
30+ secretKeyRef :
31+ name : postgresql
32+ key : database-name
33+ - name : DATABASE_PASSWORD
34+ valueFrom :
35+ secretKeyRef :
36+ name : postgresql
37+ key : database-password
38+ - name : DATABASE_USER
39+ valueFrom :
40+ secretKeyRef :
41+ name : postgresql
42+ key : database-user
43+
44+ status : {}
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ creationTimestamp : null
5+ labels :
6+ app : accounts
7+ name : accounts
8+ spec :
9+ ports :
10+ - port : 8080
11+ protocol : TCP
12+ targetPort : 8080
13+ selector :
14+ app : accounts
15+ type : ClusterIP
16+ status :
17+ loadBalancer : {}
You can’t perform that action at this time.
0 commit comments