How can I output the PodSpec of a replication controller using kubectl?
I tried
kubectl describe rc <name>
but the output doesn't include the PodSpec.
You can see the pod.spec for a replicationController using kubectl get and the --output=json or --output-yaml arguments. Something like this should work:
kubectl get rc <rc_name> --output=yaml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With