3 ms·
> I can't write a deployment yaml without googling or copy/pasting What about Nginx or Apache configuration files? Could you write them without googling?
by echelon 6y ago
> I can't write a deployment yaml without googling or copy/pasting
What about Nginx or Apache configuration files? Could you write them without googling?
- goatinaboat 6y agoWhat about Nginx or Apache configuration files? Could you write them without googling? Easily, because noone writes them from scratch, they just modify the default one. For most of my Kubernetes work I "kubectl describe" something existing into YAML, modify it, then "kubectl apply" it back again.
- marcc 6y agoYou can do this without a cluster also: kubectl create deployment my-deployment --image nginx --dry-run -oyaml