Skip to content

Develop on EKC

To develop new Apps, Pods, and other Workloads, install a client on your local machine to access the Kubernetes API:

Kubectl

kubectl is a CLI application that allows you to run commands against Kubernetes clusters.

Many commands can give output in JSON format. Install jq locally to automatically format JSON data in the terminal. Pipe it to less for navigation.

kubectl get pods -o=jsonpath='{.items[*].spec}' | jq | less

Read more about jsonpath here:

kubectl can also output using Golang Templates

kubectl get pods -o=go-template='{{range .items}}{{.spec}}{{end}}'

Read more about go-template here:


Last update: 2023-02-06
Created: 2023-01-03