Page MenuHomePhabricator
Paste P9740

confctl --quiet select 'service=nginx' get | jq 'select(..|.pooled? == "no") | select(.tags | contains("cluster=cache_"))'
ActivePublic

Authored by ProdPasteBot on Mon, Nov 25, 7:29 PM.
{
"cp3062.esams.wmnet": {
"weight": 1,
"pooled": "no"
},
"tags": "dc=esams,cluster=cache_text,service=nginx"
}
{
"cp4032.ulsfo.wmnet": {
"weight": 1,
"pooled": "no"
},
"tags": "dc=ulsfo,cluster=cache_text,service=nginx"
}

Event Timeline

ProdPasteBot edited the content of this paste. (Show Details)Mon, Nov 25, 7:29 PM
ProdPasteBot changed the title of this paste from untitled to Masterwork From Distant Lands.
CDanis changed the title of this paste from Masterwork From Distant Lands to confctl --quiet select 'service=nginx' get | jq 'select(..|.pooled? == "no") | select(.tags | contains("cluster=cache_"))'.Mon, Nov 25, 7:30 PM