-
Notifications
You must be signed in to change notification settings - Fork 0
/
warehouse-deployment.yaml
172 lines (172 loc) · 5.46 KB
/
warehouse-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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"labels":{"app":"warehouse"},"name":"warehouse","namespace":"default"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"warehouse"}},"template":{"metadata":{"labels":{"app":"warehouse"}},"spec":{"containers":[{"env":[{"name":"MT_Scheduler","value":"masstransit-scheduler"},{"name":"MT_RMQ__HOST","value":"masstransit-rabbitmq-service"},{"name":"CUSTOMCONNSTR_MongoConnectionString","value":"mongodb+srv://893Vy5Ga2i1XGHcl:[email protected]/retryWrites=true\u0026w=majority"}],"image":"drakon660/kubernetes:warehouse","name":"warehouse","ports":[{"containerPort":80}],"resources":{}}],"restartPolicy":"Always"}}},"status":{}}
creationTimestamp: "2021-02-26T20:51:58Z"
generation: 1
labels:
app: warehouse
managedFields:
- apiVersion: apps/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:kubectl.kubernetes.io/last-applied-configuration: {}
f:labels:
.: {}
f:app: {}
f:spec:
f:progressDeadlineSeconds: {}
f:replicas: {}
f:revisionHistoryLimit: {}
f:selector: {}
f:strategy:
f:rollingUpdate:
.: {}
f:maxSurge: {}
f:maxUnavailable: {}
f:type: {}
f:template:
f:metadata:
f:labels:
.: {}
f:app: {}
f:spec:
f:containers:
k:{"name":"warehouse"}:
.: {}
f:env:
.: {}
k:{"name":"CUSTOMCONNSTR_MongoConnectionString"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"MT_RMQ__HOST"}:
.: {}
f:name: {}
f:value: {}
k:{"name":"MT_Scheduler"}:
.: {}
f:name: {}
f:value: {}
f:image: {}
f:imagePullPolicy: {}
f:name: {}
f:ports:
.: {}
k:{"containerPort":80,"protocol":"TCP"}:
.: {}
f:containerPort: {}
f:protocol: {}
f:resources: {}
f:terminationMessagePath: {}
f:terminationMessagePolicy: {}
f:dnsPolicy: {}
f:restartPolicy: {}
f:schedulerName: {}
f:securityContext: {}
f:terminationGracePeriodSeconds: {}
manager: kubectl-client-side-apply
operation: Update
time: "2021-02-26T20:51:58Z"
- apiVersion: apps/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
f:deployment.kubernetes.io/revision: {}
f:status:
f:availableReplicas: {}
f:conditions:
.: {}
k:{"type":"Available"}:
.: {}
f:lastTransitionTime: {}
f:lastUpdateTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
k:{"type":"Progressing"}:
.: {}
f:lastTransitionTime: {}
f:lastUpdateTime: {}
f:message: {}
f:reason: {}
f:status: {}
f:type: {}
f:observedGeneration: {}
f:readyReplicas: {}
f:replicas: {}
f:updatedReplicas: {}
manager: k3s
operation: Update
time: "2021-03-03T11:53:02Z"
name: warehouse
namespace: default
resourceVersion: "57542"
uid: 74dbd55a-dc64-4b5d-93bb-62d712e215c9
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: warehouse
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: warehouse
spec:
containers:
- env:
- name: MT_Scheduler
value: masstransit-scheduler
- name: MT_RMQ__HOST
value: masstransit-rabbitmq-service
- name: CUSTOMCONNSTR_MongoConnectionString
value: mongodb+srv://893Vy5Ga2i1XGHcl:[email protected]/retryWrites=true&w=majority
image: drakon660/kubernetes:warehouse
imagePullPolicy: IfNotPresent
name: warehouse
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2021-02-26T20:51:58Z"
lastUpdateTime: "2021-02-26T20:52:03Z"
message: ReplicaSet "warehouse-77b96dfbcb" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: "2021-03-03T11:53:02Z"
lastUpdateTime: "2021-03-03T11:53:02Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
observedGeneration: 1
readyReplicas: 1
replicas: 1
updatedReplicas: 1