K8s for Data Engineers — 10 useful tricks with kubectl
Published in
3 min readApr 4, 2024
Good to know kubectl commands to help work with K8s easily
Part I | Part II | Part III | Part IV | Part V | Part VI | Part VII | Part VIII | Part IX | Part X | Part XI | Part XII | Part XIII
Generate Resource YAML
It is possible for us to generate yaml with kubernetes kubectl command. We can use the --dry-run==client
flag to generate the resource manifest. We can also use --output=yaml
to generate it in YAML.
# Generate yaml
kubectl create…