-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-gke-vm-insert-first-spot.json
220 lines (220 loc) · 7.56 KB
/
sample-gke-vm-insert-first-spot.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
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
{
"insertId": "k9pfh2e2qaak",
"logName": "projects/example-gke/logs/cloudaudit.googleapis.com%2Factivity",
"operation": {
"first": true,
"id": "operation-1667588736638-5eca9c2475f2a-b367e5e2-5b07019b",
"producer": "compute.googleapis.com"
},
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"authenticationInfo": {
"principalEmail": "[email protected]"
},
"authorizationInfo": [
{
"granted": true,
"permission": "compute.instances.create",
"resourceAttributes": {
"name": "projects/example-gke/zones/us-west1-c/instances/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"service": "compute",
"type": "compute.instances"
}
},
{
"granted": true,
"permission": "compute.disks.create",
"resourceAttributes": {
"name": "projects/example-gke/zones/us-west1-c/disks/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"service": "compute",
"type": "compute.disks"
}
},
{
"granted": true,
"permission": "compute.disks.setLabels",
"resourceAttributes": {
"name": "projects/example-gke/zones/us-west1-c/disks/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"service": "compute",
"type": "compute.disks"
}
},
{
"granted": true,
"permission": "compute.subnetworks.use",
"resourceAttributes": {
"name": "projects/example-gke/regions/us-west1/subnetworks/gke-oregon-subnet",
"service": "compute",
"type": "compute.subnetworks"
}
},
{
"granted": true,
"permission": "compute.instances.setMetadata",
"resourceAttributes": {
"name": "projects/example-gke/zones/us-west1-c/instances/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"service": "compute",
"type": "compute.instances"
}
},
{
"granted": true,
"permission": "compute.instances.setTags",
"resourceAttributes": {
"name": "projects/example-gke/zones/us-west1-c/instances/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"service": "compute",
"type": "compute.instances"
}
},
{
"granted": true,
"permission": "compute.instances.setLabels",
"resourceAttributes": {
"name": "projects/example-gke/zones/us-west1-c/instances/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"service": "compute",
"type": "compute.instances"
}
},
{
"granted": true,
"permission": "compute.instances.setServiceAccount",
"resourceAttributes": {
"name": "projects/example-gke/zones/us-west1-c/instances/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"service": "compute",
"type": "compute.instances"
}
}
],
"methodName": "v1.compute.instances.insert",
"request": {
"@type": "type.googleapis.com/compute.instances.insert",
"disks": [
{
"autoDelete": true,
"boot": true,
"deviceName": "persistent-disk-0",
"initializeParams": {
"diskSizeGb": "100",
"diskType": "projects/503076212345/zones/us-west1-c/diskTypes/pd-standard",
"guestOsFeatures": [
{
"type": "UEFI_COMPATIBLE"
}
],
"labels": [
{
"key": "goog-gke-volume",
"value": ""
}
],
"onUpdateAction": "RECREATE_DISK_IF_SOURCE_CHANGED",
"sourceImage": "https://www.googleapis.com/compute/v1/projects/ubuntu-os-gke-cloud/global/images/ubuntu-gke-2004-1-23-v20220714"
},
"mode": "READ_WRITE",
"type": "PERSISTENT"
}
],
"labels": [
{
"key": "goog-gke-node",
"value": ""
}
],
"machineType": "projects/503076212345/zones/us-west1-c/machineTypes/e2-standard-2",
"name": "gke-gke-oregon-spot-nodes-9609d250-2hzh",
"networkInterfaces": [
{
"aliasIpRanges": [
{
"ipCidrRange": "/24",
"subnetworkRangeName": "gkepods"
}
],
"name": "nic0",
"network": "https://www.googleapis.com/compute/v1/projects/example-gke/global/networks/gke-vpc",
"subnetwork": "https://www.googleapis.com/compute/v1/projects/example-gke/regions/us-west1/subnetworks/gke-oregon-subnet"
}
],
"networkPerformanceConfig": {
"totalEgressBandwidthTier": "DEFAULT"
},
"requestId": "f3ab1f92-825e-3fa9-bd8e-997a42424301",
"scheduling": {
"automaticRestart": false,
"instanceTerminationAction": "STOP",
"onHostMaintenance": "TERMINATE",
"preemptible": true,
"provisioningModel": "SPOT"
},
"serviceAccounts": [
{
"email": "default",
"scopes": [
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/trace.append"
]
}
],
"shieldedInstanceConfig": {
"enableIntegrityMonitoring": true,
"enableSecureBoot": false,
"enableVtpm": true
},
"tags": {
"tags": [
"gketag2",
"stv-642676120853",
"stv-123456789012",
"gke-gke-oregon-d432b0f8-node"
]
}
},
"requestMetadata": {
"callerSuppliedUserAgent": "GCE Managed Instance Group for GKE",
"destinationAttributes": {},
"requestAttributes": {
"auth": {},
"time": "2022-11-04T19:05:37.303369Z"
}
},
"resourceLocation": {
"currentLocations": [
"us-west1-c"
]
},
"resourceName": "projects/503076212345/zones/us-west1-c/instances/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"response": {
"@type": "type.googleapis.com/operation",
"clientOperationId": "f3ab1f92-825e-3fa9-bd8e-997a42424301",
"id": "7125034938302782574",
"insertTime": "2022-11-04T12:05:37.231-07:00",
"name": "operation-1667588736638-5eca9c2475f2a-b367e5e2-5b07019b",
"operationType": "insert",
"progress": "0",
"selfLink": "https://www.googleapis.com/compute/v1/projects/example-gke/zones/us-west1-c/operations/operation-1667588736638-5eca9c2475f2a-b367e5e2-5b07019b",
"selfLinkWithId": "https://www.googleapis.com/compute/v1/projects/example-gke/zones/us-west1-c/operations/7125034938302782574",
"startTime": "2022-11-04T12:05:37.231-07:00",
"status": "RUNNING",
"targetId": "5782564763008031855",
"targetLink": "https://www.googleapis.com/compute/v1/projects/example-gke/zones/us-west1-c/instances/gke-gke-oregon-spot-nodes-9609d250-2hzh",
"user": "[email protected]",
"zone": "https://www.googleapis.com/compute/v1/projects/example-gke/zones/us-west1-c"
},
"serviceName": "compute.googleapis.com"
},
"receiveTimestamp": "2022-11-04T19:05:38.072070351Z",
"resource": {
"labels": {
"instance_id": "5782564763008031855",
"project_id": "example-gke",
"zone": "us-west1-c"
},
"type": "gce_instance"
},
"severity": "NOTICE",
"timestamp": "2022-11-04T19:05:36.54988Z"
}