-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s-deployment.yml
61 lines (61 loc) · 1.46 KB
/
k8s-deployment.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "2"
creationTimestamp: 2017-04-19T15:37:12Z
generation: 2
labels:
app: bbtest
name: bbtest
namespace: default
resourceVersion: "2741364"
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/bbtest
uid: 0ebc7858-2516-11e7-809a-0e6145ad429e
spec:
replicas: 1
selector:
matchLabels:
app: bbtest
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: bbtest
spec:
containers:
- image: bbenns/wedding-website
imagePullPolicy: Always
name: wedding-website
ports:
- containerPort: 5000
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
livenessProbe:
httpGet:
path: /
port: 5000
initialDelaySeconds: 3
periodSeconds: 3
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 1
conditions:
- lastTransitionTime: 2017-04-19T15:37:12Z
lastUpdateTime: 2017-04-19T15:37:12Z
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
observedGeneration: 2
replicas: 1
updatedReplicas: 1