-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds ContainerRuntimeConfig gatherer
- Loading branch information
Marcell Sevcsik
committed
Jan 28, 2021
1 parent
c8cc7d6
commit 1c4fdbe
Showing
4 changed files
with
158 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
docs/insights-archive-sample/config/containerruntimeconfigs/set-log-and-pid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"apiVersion": "machineconfiguration.openshift.io/v1", | ||
"kind": "ContainerRuntimeConfig", | ||
"metadata": { | ||
"creationTimestamp": "2020-10-13T10:24:51Z", | ||
"generation": 1, | ||
"managedFields": [ | ||
{ | ||
"apiVersion": "machineconfiguration.openshift.io/v1", | ||
"fieldsType": "FieldsV1", | ||
"fieldsV1": { | ||
"f:spec": { | ||
".": {}, | ||
"f:containerRuntimeConfig": { | ||
".": {}, | ||
"f:logLevel": {}, | ||
"f:pidsLimit": {} | ||
}, | ||
"f:machineConfigPoolSelector": { | ||
".": {}, | ||
"f:matchLabels": { | ||
".": {}, | ||
"f:debug-crio": {} | ||
} | ||
} | ||
} | ||
}, | ||
"manager": "kubectl-create", | ||
"operation": "Update", | ||
"time": "2020-10-13T10:24:51Z" | ||
}, | ||
{ | ||
"apiVersion": "machineconfiguration.openshift.io/v1", | ||
"fieldsType": "FieldsV1", | ||
"fieldsV1": { | ||
"f:spec": { | ||
"f:containerRuntimeConfig": { | ||
"f:logSizeMax": {}, | ||
"f:overlaySize": {} | ||
} | ||
}, | ||
"f:status": { | ||
".": {}, | ||
"f:conditions": {}, | ||
"f:observedGeneration": {} | ||
} | ||
}, | ||
"manager": "machine-config-controller", | ||
"operation": "Update", | ||
"time": "2020-10-13T10:25:12Z" | ||
} | ||
], | ||
"name": "set-log-and-pid", | ||
"resourceVersion": "45056", | ||
"selfLink": "/apis/machineconfiguration.openshift.io/v1/containerruntimeconfigs/set-log-and-pid", | ||
"uid": "949e59e4-8b90-42e1-8467-6369aa1ea932" | ||
}, | ||
"spec": { | ||
"containerRuntimeConfig": { | ||
"logLevel": "debug", | ||
"pidsLimit": 2048 | ||
}, | ||
"machineConfigPoolSelector": { | ||
"matchLabels": { | ||
"debug-crio": "config-log-and-pid" | ||
} | ||
} | ||
}, | ||
"status": { | ||
"conditions": [ | ||
{ | ||
"lastTransitionTime": "2020-10-13T10:25:11Z", | ||
"message": "Error: could not find any MachineConfigPool set for ContainerRuntimeConfig set-log-and-pid", | ||
"status": "False", | ||
"type": "Failure" | ||
} | ||
], | ||
"observedGeneration": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters