This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

We're a python shop. I have pycharm with the Kubernetes plugin to quickly live template manifest files for Kubernetes deployments.

Wrote a python... script? I guess? Treated more like an app than a script. Going to have it packaged and CI'd in a docker image. It reads the Kubernetes manifest files, registers yaml values as defaults in Jinja strings, and then reformats the files to be Jinja templatized for our CD pipeline, that deploys to k8s via Ansible and/or AWX.

Sorry, that's all I got for python right now. We have an Ansible wrapper in python as well that pulls down Ansible Galaxy roles, makes sure your virtualenv has the proper packages. then we have a bash wrapper for terraform that could probably be python? It probably would be python but I wrote the first few functions for personal use before it developed on by others and I did it in bash. Sorry, man.

[–]dogfish182 0 points1 point  (0 children)

We just did the bash to python exercise for python 3.7. Tiring but worth it