(excerpt from Culture Code)

Many successful cultures were forged in the moments of crisis

  1. Name and Rank your priorities
  2. Be ten times clear about your priorities as you think you should be
  3. Figure out where your group aims for proficiency and where it aims for creativity
  4. Embrace the use of Catchphrases
  5. Measure what really matters
  6. Use artifacts (e.g. battle gear of killed soldier or equipment of successful mission)
  7. Focus on Bar-setting behaviours

--

--

  1. Leaders have a say, and give others a say. In how situation occurs
  2. Leaders master the conversational environment
  3. Leaders listen for the future of their organization (in a same way physician searches for effective diagnosis )

--

--

A. Identify kubectl command and use “-o json” flag

Example:

$kubectl get pods -o json

B. Form JSON Path Query

Example:

.items[0].spec.containers[0].image

C. Evaluate this query using http://jsonpath.com/ and seeing validity of result

D. Use this JSON Path for Future querying and output digestion

Examples:

To find first container image of first pod

$kubectl get pods -o=jsonpath=’{ .items[0].spec.containers[0].image }’

To find all container images inside first pod

$kubectl get pods -o=jsonpath=’{ .items[0].spec.containers[*].image }’

To get this better formatted (optional formatting criteria using range)

$kubectl get pods -o=jsonpath=’{range .items[0].spec.containers[*]} {.image}’

--

--