DEV Community

Discussion on: Why learn Python as a DevOps Engineer? 🤔

Collapse
 
andreidascalu profile image
Andrei Dascalu

When you put it like that, I sense that what you mean by DevOps is actually Ops. DevOps is not a role but rather a practice where Ops knowledge is spread around a development team so that they're not dependent on external resource and can own their entire process.
What's demanded in general for Ops in the context of automation, is generally Python, for sure, but there's also the context of the role. (Dev)Ops is pretty broad.

Do you work in a Kubernetes/containerised/Cloud-Native environment (or do you want to)? Go is way more popular in that subset. It involves Kubernetes extensions, Terraform plugins and related tooling. Virtually all need Go.

If you need to maintain existing Ops scripts/tools and/or you work in an Ansible-dominant environment, certainly Python gets the prize.

But if you don't need to work with existing tooling and aim for an environment where you can choose, an environment that's cloud-native focused or one that performs a transition, might as well go with the core language.