Skip to content

Instantly share code, notes, and snippets.

@pichuang

pichuang/cpu.txt

Last active Aug 28, 2020
Embed
What would you like to do?
application-ui Requests:100m Limites:
cert-manager Requests:100m Limites:300m
cainjector Requests:100m Limites:200m
cert-manager-webhook Requests:100m Limites:200m
configmap-watcher Requests:100m Limites:200m
hcm-ui-api Requests:50m Limites:
hcm-ui Requests:100m Limites:
console-header Requests:200m Limites:
etcd Requests: Limites:
etcd Requests: Limites:
etcd Requests: Limites:
etcd-operator Requests: Limites:
etcd-backup-operator Requests: Limites:
etcd-restore-operator Requests: Limites:
grc-ui Requests:200m Limites:
grc-ui-api Requests:50m Limites:
policy-propagator-controller Requests:25m Limites:
hive-operator Requests:100m Limites:
kui-proxy Requests:250m Limites:500m
oauth-proxy Requests: Limites:
management-ingress-4e502 Requests:200m Limites:
mcm-apiserver Requests:200m Limites:
mcm-controller Requests:100m Limites:
mcm-webhook Requests:100m Limites:
multicluster-mongodb Requests: Limites:
multicluster-operators-placementrule Requests:25m Limites:100m
multicluster-operators-deployable Requests:25m Limites:100m
multicluster-operators-channel Requests:25m Limites:100m
multicluster-operators-application Requests:25m Limites:100m
multicluster-operators-hub-subscription Requests:100m Limites:500m
multicluster-operators-standalone-subscription Requests:100m Limites:500m
multiclusterhub-operator Requests:100m Limites:
multiclusterhub-repo Requests:50m Limites:
cluster-controller Requests:50m Limites:500m
search-operator Requests:10m Limites:
redisgraph Requests:25m Limites:
aggregator Requests:25m Limites:
search-api Requests:25m Limites:
collector Requests:25m Limites:
topology-ui Requests:200m Limites:500m
topology-ui-api Requests:50m Limites:500m
application-ui Requests:256Mi Limites:
cert-manager Requests:150Mi Limites:300Mi
cainjector Requests:150Mi Limites:300Mi
cert-manager-webhook Requests:150Mi Limites:300Mi
configmap-watcher Requests:150Mi Limites:300Mi
hcm-ui-api Requests:256Mi Limites:512Mi
hcm-ui Requests:256Mi Limites:512Mi
console-header Requests:256Mi Limites:2Gi
etcd Requests: Limites:
etcd Requests: Limites:
etcd Requests: Limites:
etcd-operator Requests: Limites:
etcd-backup-operator Requests: Limites:
etcd-restore-operator Requests: Limites:
grc-ui Requests:256Mi Limites:
grc-ui-api Requests:256Mi Limites:
policy-propagator-controller Requests:64Mi Limites:
hive-operator Requests:256Mi Limites:
kui-proxy Requests:128Mi Limites:512Mi
oauth-proxy Requests: Limites:
management-ingress-4e502 Requests:256Mi Limites:
mcm-apiserver Requests:256Mi Limites:2Gi
mcm-controller Requests:256Mi Limites:2Gi
mcm-webhook Requests:128Mi Limites:256Mi
multicluster-mongodb Requests:2Gi Limites:5Gi
multicluster-operators-placementrule Requests:64Mi Limites:512Mi
multicluster-operators-deployable Requests:64Mi Limites:512Mi
multicluster-operators-channel Requests:64Mi Limites:512Mi
multicluster-operators-application Requests:64Mi Limites:512Mi
multicluster-operators-hub-subscription Requests:128Mi Limites:2Gi
multicluster-operators-standalone-subscription Requests:128Mi Limites:2Gi
multiclusterhub-operator Requests:256Mi Limites:2Gi
multiclusterhub-repo Requests:50Mi Limites:100Mi
cluster-controller Requests:96Mi Limites:256Mi
search-operator Requests:32Mi Limites:128Mi
redisgraph Requests:64Mi Limites:1Gi
aggregator Requests:32Mi Limites:1Gi
search-api Requests:64Mi Limites:1Gi
collector Requests:64Mi Limites:768Mi
topology-ui Requests:256Mi Limites:512Mi
topology-ui-api Requests:256Mi Limites:512Mi
#!/bin/bash
oc get pods -n open-cluster-management -o=jsonpath="{range .items[*]}{range .spec.containers[*]} {.name} Requests:{.resources.requests.cpu} Limites:{.resources.limits.cpu}{'\n'}{end}{'\n'}{end}" | column -t
#!/bin/bash
oc get pods -n open-cluster-management -o=jsonpath="{range .items[*]}{range .spec.containers[*]} {.name} Requests:{.resources.requests.memory} Limites:{.resources.limits.memory}{'\n'}{end}{'\n'}{end}" | column -t
@pichuang

This comment has been minimized.

Copy link
Owner Author

@pichuang pichuang commented Jun 16, 2020

oc get pods -n open-cluster-management -o=jsonpath="{range .items[]}{.metadata.namespace} {.metadata.name}{'\n'}{range .spec.containers[]} {.name} Requests:{.resources.requests.cpu} Limites:{.resources.limits.cpu}{'\n'}{end}{'\n'}{end}"

@pichuang

This comment has been minimized.

Copy link
Owner Author

@pichuang pichuang commented Aug 28, 2020

oc get pods -o=jsonpath="{range .items[]}{range .spec.containers[]} {.name} CPU_Requests:{.resources.requests.cpu} CPU_Limites:{.resources.limits.cpu} Memory_Requests:{.resources.requests.memory} Memory_Limites:{.resources.limits.memory} {'\n'}{end}{'\n'}{end}" | column -t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.