Home > database >  Kubectl query for regex in JsonPath
Kubectl query for regex in JsonPath

Time:09-23

I am trying to output the value for .metadata.name followed by the student's name in .spec.template.spec.containers[].students[] array using the regex in JsonPath for a Kubectl query.

I had actually asked a similar question linked here for this in jq.

enter image description here

  • Related