ContainerSolutions / kubernetes-examples

Minimal self-contained examples of standard Kubernetes features and patterns in YAML
https://k8s-examples.container-solutions.com/
MIT License
1.4k stars 299 forks source link

make it a kubectl cli plugin #9

Closed lalyos closed 4 years ago

lalyos commented 4 years ago

Improve UX by conertig it into a kubectl cli plugin:

# browse samples by interactively selecting resource type first
kubectl examples

# interactively select from filtered resource type
kubectl examples Pod

See full usage in readme section: https://github.com/lalyos/kubernetes-examples#usage

Todo

[ ] Once its been merged, the urls can be fixed to point to the original git repo instead of the fork. [ ] Could be submitted as an official krew plugin: https://krew.sigs.k8s.io/docs/developer-guide/release/new-plugin/

ianmiell commented 4 years ago

This is great!

Have raised: https://github.com/ContainerSolutions/kubernetes-examples/issues/10 for submission as a krew plugin

A couple of things before merging: