dmitriev-aal@VDI-Dmitriev-A:~/Desktop$ kubectl --context devstbl -n platform get resourcepool -o json |
> jq '.items | length'
99
dmitriev-aal@VDI-Dmitriev-A:~/Desktop$ kubectl --context rcsdstbl -n platform get resourcepool -o json |
> jq '.items | length'
99
dmitriev-aal@VDI-Dmitriev-A:~/Desktop$ kubectl --context devstbl -n platform get resourcepool -o json |
> jq '[
> .items[]
> | select(
> [
> (.status.zoneResources.zones // {})[]
> | (.environments // {})[]
> | select(.total != null)
> ] | length > 0
> )
> | .metadata.name
> ] | unique | length'
95
dmitriev-aal@VDI-Dmitriev-A:~/Desktop$ kubectl --context rcsdstbl -n platform get resourcepool -o json |
> jq '[
> .items[]
> | select(
> [
> (.status.zoneResources.zones // {})[]
> | (.environments // {})[]
> | select(.total != null)
> ] | length > 0
> )
> | .metadata.name
> ] | unique | length'
95
dmitriev-aal@VDI-Dmitriev-A:~/Desktop$ kubectl --context devstbl -n platform get resourcepool -o json |
> jq '[
> .items[]
> | (.status.zoneResources.zones // {})[]
> | (.environments // {})[]
> | select(.total != null)
> ] | length'
244
dmitriev-aal@VDI-Dmitriev-A:~/Desktop$ kubectl --context rcsdstbl -n platform get resourcepool -o json |
> jq '[
> .items[]
> | (.status.zoneResources.zones // {})[]
> | (.environments // {})[]
> | select(.total != null)
> ] | length'
244
dmitriev-aal@VDI-Dmitriev-A:~/Desktop$ kubectl --context devstbl -n platform get resourcepool -o json |
> jq -r '
> .items[]
> | select(
> [
> (.status.zoneResources.zones // {})[]
> | (.environments // {})[]
> | select(.total != null)
> ] | length == 0
> )
> | [.metadata.name, (.spec.path // ""), (.status.code // "")]
> | @tsv
> '
rshbintech-bproff-agile rshbintech/bproff/agile ACTIVE
rshbintech-it-corp-backoffice-bpm rshbintech/it-corp/backoffice-bpm ACTIVE
rshbintech-retail-dboretail rshbintech/retail/dboretail ACTIVE
waf waf ACTIVE