@@ -128,31 +128,34 @@ var ExpectedGroupData = definition.RawGroups{
128
128
},
129
129
"container" : {
130
130
"kube-system_newrelic-infra-rz225_newrelic-infra" : {
131
- "containerName" : "newrelic-infra" ,
132
- "containerID" : "69d7203a8f2d2d027ffa51d61002eac63357f22a17403363ef79e66d1c3146b2" ,
133
- "containerImage" : "newrelic/ohaik:1.0.0-beta3" ,
134
- "containerImageID" : "sha256:1a95d0df2997f93741fbe2a15d2c31a394e752fd942ec29bf16a44163342f6a1" ,
135
- "namespace" : "kube-system" ,
136
- "podName" : "newrelic-infra-rz225" ,
137
- "daemonsetName" : "newrelic-infra" ,
138
- "nodeName" : "minikube" ,
139
- "nodeIP" : "192.168.99.100" ,
140
- "restartCount" : int32 (6 ),
141
- "isReady" : true ,
142
- "status" : "Running" ,
143
- "startedAt" : parseTime ("2018-02-27T15:21:16Z" ),
144
- "cpuRequestedCores" : int64 (100 ),
145
- "memoryRequestedBytes" : int64 (104857600 ),
146
- "memoryLimitBytes" : int64 (104857600 ),
147
- "usageBytes" : uint64 (18083840 ),
148
- "workingSetBytes" : uint64 (17113088 ),
149
- "usageNanoCores" : uint64 (17428240 ),
150
- "fsAvailableBytes" : uint64 (14924988416 ),
151
- "fsUsedBytes" : uint64 (126976 ),
152
- "fsCapacityBytes" : uint64 (17293533184 ),
153
- "fsInodesFree" : uint64 (9713372 ),
154
- "fsInodes" : uint64 (9732096 ),
155
- "fsInodesUsed" : uint64 (36 ),
131
+ "containerName" : "newrelic-infra" ,
132
+ "containerID" : "69d7203a8f2d2d027ffa51d61002eac63357f22a17403363ef79e66d1c3146b2" ,
133
+ "containerImage" : "newrelic/ohaik:1.0.0-beta3" ,
134
+ "containerImageID" : "sha256:1a95d0df2997f93741fbe2a15d2c31a394e752fd942ec29bf16a44163342f6a1" ,
135
+ "namespace" : "kube-system" ,
136
+ "podName" : "newrelic-infra-rz225" ,
137
+ "daemonsetName" : "newrelic-infra" ,
138
+ "nodeName" : "minikube" ,
139
+ "nodeIP" : "192.168.99.100" ,
140
+ "restartCount" : int32 (6 ),
141
+ "isReady" : true ,
142
+ "status" : "Running" ,
143
+ "startedAt" : parseTime ("2018-02-27T15:21:16Z" ),
144
+ "lastTerminatedExitCode" : int32 (0 ),
145
+ "lastTerminatedExitReason" : "Completed" ,
146
+ "lastTerminatedTimestamp" : "2018-02-27T15:21:10Z" ,
147
+ "cpuRequestedCores" : int64 (100 ),
148
+ "memoryRequestedBytes" : int64 (104857600 ),
149
+ "memoryLimitBytes" : int64 (104857600 ),
150
+ "usageBytes" : uint64 (18083840 ),
151
+ "workingSetBytes" : uint64 (17113088 ),
152
+ "usageNanoCores" : uint64 (17428240 ),
153
+ "fsAvailableBytes" : uint64 (14924988416 ),
154
+ "fsUsedBytes" : uint64 (126976 ),
155
+ "fsCapacityBytes" : uint64 (17293533184 ),
156
+ "fsInodesFree" : uint64 (9713372 ),
157
+ "fsInodes" : uint64 (9732096 ),
158
+ "fsInodesUsed" : uint64 (36 ),
156
159
"labels" : map [string ]string {
157
160
"controller-revision-hash" : "3887482659" ,
158
161
"name" : "newrelic-infra" ,
@@ -240,14 +243,17 @@ var ExpectedGroupData = definition.RawGroups{
240
243
},
241
244
},
242
245
"kube-system_kube-controller-manager-minikube_kube-controller-manager" : {
243
- "containerName" : "kube-controller-manager" ,
244
- "containerImage" : "k8s.gcr.io/kube-controller-manager:v1.16.0" ,
245
- "nodeIP" : "192.168.99.100" ,
246
- "cpuRequestedCores" : int64 (200 ),
247
- "status" : "Running" ,
248
- "startedAt" : parseTime ("2019-10-23T17:10:49Z" ),
249
- "restartCount" : int32 (1 ),
250
- "isReady" : bool (true ),
246
+ "containerName" : "kube-controller-manager" ,
247
+ "containerImage" : "k8s.gcr.io/kube-controller-manager:v1.16.0" ,
248
+ "nodeIP" : "192.168.99.100" ,
249
+ "cpuRequestedCores" : int64 (200 ),
250
+ "status" : "Running" ,
251
+ "lastTerminatedExitCode" : int32 (255 ),
252
+ "lastTerminatedExitReason" : "Error" ,
253
+ "lastTerminatedTimestamp" : "2019-10-23T17:10:25Z" ,
254
+ "startedAt" : parseTime ("2019-10-23T17:10:49Z" ),
255
+ "restartCount" : int32 (1 ),
256
+ "isReady" : bool (true ),
251
257
"labels" : map [string ]string {
252
258
"k8s-app" : "kube-controller-manager" ,
253
259
"component" : "kube-controller-manager" ,
@@ -287,9 +293,9 @@ var ExpectedGroupData = definition.RawGroups{
287
293
"usageCoreNanoSeconds" : uint64 (22332102208229 ),
288
294
"usageNanoCores" : uint64 (228759290 ),
289
295
"labels" : map [string ]string {
290
- "kubernetes.io/arch" : "amd64" ,
291
- "kubernetes.io/hostname" : "minikube" ,
292
- "kubernetes.io/os" : "linux" ,
296
+ "kubernetes.io/arch" : "amd64" ,
297
+ "kubernetes.io/hostname" : "minikube" ,
298
+ "kubernetes.io/os" : "linux" ,
293
299
"node-role.kubernetes.io/control-plane" : "" ,
294
300
},
295
301
"cpuRequestedCores" : int64 (501 ),
0 commit comments