-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreqeust.json
102 lines (102 loc) · 2.67 KB
/
reqeust.json
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
{
"operation": "CREATE",
"object": {
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"uid": "b20278ed-7856-11ea-9311-0e6ab59d04b1",
"creationTimestamp": "2020-04-06T22:33:53Z",
"annotations": {
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Pod\",\"metadata\":{\"annotations\":{},\"name\":\"busybox\",\"namespace\":\"default\"},\"spec\":{\"containers\":[{\"command\":[\"sh\",\"-c\",\"sleep 1h\"],\"image\":\"busybox\",\"name\":\"busy\"}]}}\n",
"kubernetes.io/limit-ranger": "LimitRanger plugin set: cpu request for container busy"
},
"name": "busybox",
"namespace": "default"
},
"spec": {
"restartPolicy": "Always",
"dnsPolicy": "ClusterFirst",
"serviceAccount": "default",
"securityContext": {},
"schedulerName": "default-scheduler",
"enableServiceLinks": true,
"containers": [
{
"name": "busy",
"image": "busybox",
"command": [
"sh",
"-c",
"sleep 1h"
],
"resources": {
"requests": {
"cpu": "100m"
}
},
"volumeMounts": [
{
"name": "default-token-zvk4c",
"readOnly": true,
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
}
],
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"imagePullPolicy": "Always"
}
],
"terminationGracePeriodSeconds": 30,
"serviceAccountName": "default",
"tolerations": [
{
"effect": "NoExecute",
"tolerationSeconds": 300,
"key": "node.kubernetes.io/not-ready",
"operator": "Exists"
},
{
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"effect": "NoExecute",
"tolerationSeconds": 300
}
],
"priority": 0,
"volumes": [
{
"secret": {
"secretName": "default-token-zvk4c"
},
"name": "default-token-zvk4c"
}
]
},
"status": {
"phase": "Pending",
"qosClass": "Burstable"
}
},
"dryRun": false,
"kind": {
"kind": "Pod",
"group": "",
"version": "v1"
},
"resource": {
"group": "",
"version": "v1",
"resource": "pods"
},
"userInfo": {
"username": "admin",
"uid": "admin",
"groups": [
"system:masters",
"system:authenticated"
]
},
"oldObject": null,
"uid": "b2027f68-7856-11ea-9311-0e6ab59d04b1",
"namespace": "default"
}