forked from doitintl/kube-no-trouble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fake-deployment-v1beta1-with-kapp-annotation.yaml
71 lines (71 loc) · 2.3 KB
/
fake-deployment-v1beta1-with-kapp-annotation.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
# fake client resource are a bit special
# apiVersion need to match versions we're collection, i.e. apps/v1
# true version is taken from kubectl.kubernetes.io/last-applied-configuration
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
kapp.k14s.io/original: |
{"apiVersion":"apps/v1beta1","kind":"Deployment","metadata":{"annotations":{},"labels":{"app":"nginx"},"name":"nginx-deployment-old","namespace":"default"},"spec":{"replicas":3,"selector":{"matchLabels":{"app":"nginx"}},"template":{"metadata":{"labels":{"app":"nginx"}},"spec":{"containers":[{"image":"nginx:1.14.2","name":"nginx","ports":[{"containerPort":80}]}]}}}}
creationTimestamp: "2020-09-04T19:51:38Z"
generation: 1
labels:
app: nginx
name: nginx-deployment-old
namespace: default
resourceVersion: "647052"
selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/nginx-deployment-old
uid: 93674123-01f1-4a10-a829-ff0751cf13da
spec:
progressDeadlineSeconds: 600
replicas: 3
revisionHistoryLimit: 2
selector:
matchLabels:
app: nginx
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: nginx
spec:
containers:
- image: nginx:1.14.2
imagePullPolicy: IfNotPresent
name: nginx
ports:
- containerPort: 80
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
status:
availableReplicas: 3
conditions:
- lastTransitionTime: "2020-09-04T19:51:48Z"
lastUpdateTime: "2020-09-04T19:51:48Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2020-09-04T19:51:38Z"
lastUpdateTime: "2020-09-04T19:51:48Z"
message: ReplicaSet "nginx-deployment-old-7fd6966748" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 1
readyReplicas: 3
replicas: 3
updatedReplicas: 3