Hello eveyone.
I need help about “advanced kubectl commands” lesson
I can’t get the same result as in the video.
NODE CPU
master 4
node01 4
I would like to add the column names but I can try much time :without success.
kubectl get nodes -o=custom-columns=“NODE:.metadata.name,CPU:.status.capacity.cpu” -o=jsonpath=‘{range .items[*]}{.metadata.name}{“\ t”}{.status.capacity.cpu}{“\n”}’ > test.txt
I thank you in advance,
Have a beautiful day