From 0a682b5ac915b52862da1d3da1b9b005c027ebdd Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 30 Jan 2022 00:07:03 +0100 Subject: [PATCH] feat(views): Add first collection of kubectl custom-columns This patch provides some custom-columns-file collection, that should help to manage the cluster and workload. --- views/kubelet.view | 3 +++ views/pods-requests-limits.view | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 views/kubelet.view create mode 100644 views/pods-requests-limits.view diff --git a/views/kubelet.view b/views/kubelet.view new file mode 100644 index 000000000..3ba2f5352 --- /dev/null +++ b/views/kubelet.view @@ -0,0 +1,3 @@ +NAME KUBELET-CONFIG CONDITIONS +metadata.name metadata.labels.plan\.upgrade\.cattle\.io/kubelet status.conditions[*].message + diff --git a/views/pods-requests-limits.view b/views/pods-requests-limits.view new file mode 100644 index 000000000..926e9327b --- /dev/null +++ b/views/pods-requests-limits.view @@ -0,0 +1,4 @@ +NAME CPU-REQUESTS CPU-LIMITS MEMORY-REQUESTS MEMORY-LIMITS +metadata.name spec.containers[*].resources.requests.cpu spec.containers[*].resources.limits.cpu spec.containers[*].resources.requests.memory spec.containers[*].resources.limits.memory + +NAME:metadata.name,CPU LIMITS:spec.containers[*].resources.limits.cpu,MEM LIMITS:spec.containers[*].resources.limits.memory -- GitLab