case_studies/kubernetes/README.md
raw| 1 | # Kubernetes Example |
| 2 | |
| 3 | This Kubernetes example is based on https://github.com/vasanthbala/hackathon/tree/master/kbp/redis |
| 4 | |
| 5 | Generate the yaml (actually json) files for Kubernetes: |
| 6 | |
| 7 | ```sh |
| 8 | jsonnet -m ./ example.jsonnet |
| 9 | ``` |
| 10 | |
| 11 | Check they are the same as the original handwritten files: |
| 12 | |
| 13 | ```sh |
| 14 | python test_same.py |
| 15 | ``` |
| 16 | |
| 17 | Clean up |
| 18 | |
| 19 | ```sh |
| 20 | rm -v *.out *.new.yaml |
| 21 | ``` |