Different Json query

kubectl get pods -o=jsonpath=’{.items[0].metadata.name}’
kubectl get nodes -o jsonpath=’{.items[ *].status.nodeInfo.osImage}’
kubectl config view --kubeconfig=my-kube-config -o jsonpath="{.users[ * ].name}"
kubectl get pv --sort-by=.spec.capacity.storage
kubectl get pv --sort-by=.spec.capacity.storage -o=custom-columns=NAME:.metadata.name,CAPACITY:.spec.capacity.storage
kubectl config view --kubeconfig=my-kube-config -o jsonpath="{.contexts[?(@.context.user==‘aws-user’)].name}"

kubectl get po multipod -o jsonpath=’{.spec.containers.image}{"\n"}’
apt install kubeadm=1.12.0-00
kubeadm upgrade apply v1.12.0
apt-get install -y kubelet=1.12.0-00

apt install kubeadm=1.12.0-00
apt install kubelet=1.12.0-00
kubeadm upgrade node config --kubelet-version $(kubelet --version | cut -d ’ ’ -f 2)