-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathref.json
94 lines (94 loc) · 3.2 KB
/
ref.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
{
"kind": "AdmissionReview",
"apiVersion": "admission.k8s.io/v1beta1",
"request": {
"uid": "bf72b12b-0b87-11e8-ad08-020ee0ad1b60",
"kind": {
"group": "",
"version": "v1",
"kind": "Pod"
},
"resource": {
"group": "",
"version": "v1",
"resource": "pods"
},
"namespace": "charms",
"operation": "CREATE",
"userInfo": {
"username": "lucky",
"groups": [
"system:masters",
"system:authenticated"
]
},
"object": {
"metadata": {
"name": "webhookx",
"namespace": "default",
"uid": "bf72ab8e-0b87-11e8-ad08-020ee0ad1b60",
"creationTimestamp": "2018-02-06T21:50:29Z"
},
"spec": {
"volumes": [
{
"name": "default-token-nd57q",
"secret": {
"secretName": "default-token-nd57q"
}
}
],
"containers": [
{
"name": "webhookx",
"image": "nginx",
"resources": {
"limits": {
"alpha.kubernetes.io/nvidia-gpu": "1"
},
"requests": {
"alpha.kubernetes.io/nvidia-gpu": "1"
}
},
"volumeMounts": [
{
"name": "default-token-nd57q",
"readOnly": true,
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
}
],
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"imagePullPolicy": "Always"
}
],
"restartPolicy": "Always",
"terminationGracePeriodSeconds": 30,
"dnsPolicy": "ClusterFirst",
"serviceAccountName": "default",
"serviceAccount": "default",
"securityContext": {},
"schedulerName": "default-scheduler",
"tolerations": [
{
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"effect": "NoExecute",
"tolerationSeconds": 300
},
{
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"effect": "NoExecute",
"tolerationSeconds": 300
}
]
},
"status": {
"phase": "Pending",
"qosClass": "BestEffort"
}
},
"oldObject": null
}
}