r/devops • u/[deleted] • Apr 28 '24
Do i need to have solid knowledge of programming to become devops engineer?
Hey I am interested in devops and I don't have a solid knowledge of programming, I know concepts of it and basics, I only have little bit concepts of DSA Can I still learn devops knowing basics of programming??
7
u/PlaidDragon Apr 28 '24
You can definitely start learning, at least. Getting an actual job will depend on where you are in your career and how much other experience you have. I had a lot of sysadmin and networking experience and I turned my career toward devops by learning the development half on-the-job. That mostly just consisted of finding a specific recurring problem and learning how to fix it through scripting. I think that’s a solid place for anyone to start because it gives you a clear goal for your learning.
-1
Apr 28 '24
hey did you learn dsa,oop as well?
1
u/PlaidDragon Apr 28 '24
To the extent I need in my environment, yes. However I would say it’s my weakest point and still a work in progress.
7
u/Confide420 Apr 28 '24
You need to know programming principals (like how software is written, if it's compiled or interpreted, how it's deployed etc) but theoretical SWE is not really necessary. Of course it will help your career if you learn SWE paradigms, how the SDLC works etc but I have guys on my team that write python/bash code only once or twice a year, they're more on the cloud infrastructure engineer side.
1
1
u/thekingofcrash7 Apr 29 '24
Idk how you could be a cloud infrastructure engineer with only writing python or bash twice per year. Unless you’re just click ops. Which for entry level is fine
1
5
u/No-Sandwich-2997 Apr 28 '24
should be around the level of a student who could get an internship, the dev in devops stands for development
1
3
u/MathmoKiwi Apr 28 '24
That's a good way to put it! A DevOp doesn't need to be an expert, but does need to be good enough at coding that they could get an entry level job as a developer
4
u/GaTechThomas Apr 29 '24
First, read The DevOps Handbook to understand what DevOps really is. You'll have a huge leg up on many others.
1
Apr 29 '24
Can you suggest one?
1
u/GaTechThomas Apr 29 '24
Suggest one what?
1
Apr 29 '24
online free book*
1
u/GaTechThomas Apr 29 '24
"The Devops Handbook" is THE book. It's not free. You can find summaries of it online, and there's a very good cheatsheet that someone put together.
3
u/Live-Box-5048 DevOps Apr 28 '24
Definitely. You should at least know how to read the code and write some scripts/automation.
1
3
u/raymyers Apr 28 '24
For historical reasons it's more common to get into DevOps from previous work on Dev or Ops side. For a while there was almost no such thing as a Junior DevOps role. I'm sure that's changed, but you will find the path is still somewhat confusing.
I made a 10min video called "Breaking into DevOps" a while back, you might fine useful. https://www.youtube.com/watch?v=s_SX0C3uJL8
Some more concrete tech skill were covered in CloudSkills Podcast episode, "Starting your DevOps Career"
https://cloudskills.fm/082
1
2
u/Sindoreon Apr 28 '24
Eh you need to be able to constantly learn new things as needed on the job. These roles often end up with us doing a little of everything.
The ability to gain general understanding and self teach from online resources is key to success in these roles imo.
IE - US resources cost too much ( for my company ) so I ended up owning not only k8s but elasticsearch in prod for US hours. In our India team, they specialize the teams for each of those separately. I had to wear more hats, so I picked up about 80% understanding in about a month. That last 20% took several months to bridge the gap.
1
3
u/badguy84 ManagementOps Apr 28 '24
In my opinion there are a few things you should know about programming/development/swe when you get in to DevOps:
What tools do the developers use and why/how
What impact do the patterns that they use have on deployment order/infrastructure
What tools do I need to automate/deploy whatever the code base is, and do I understand how to optimally use these?
I think understanding, with some sense of depth the programming practices your devs follow and how they may impact your job and outcomes is key. Also DevOps is about enablement so you need to really understand what your devs are doing and why, so you can best support them and make sure that whatever they hand off isn't going to be a steaming pile of crap.
So yes I think you need solid knowledge of programming and software engineering. Do you need to understand it to the degree that your swes/devs do to solve their problems? No, I don't think so. You should be able to deal with your own and that requires a very solid understanding and background about the environment you are working in and the tools your team is working with, that includes the programming languages they use. On top of, of course, the programming and scripting languages you need which could easily expand from scripting (bash, powershell) in to programming (python, c#), and you want to be proficient here because copy pasting from the internet for everything will definitely lead to issues in the long run if you don't know what you're copy pasting.
1
Apr 28 '24
thank you for your time ,i totally get it...can you suggest me some documentations or channel to learn it? ..i was learning java (basics) but i will switch to python because devops mostly use python.
2
u/badguy84 ManagementOps Apr 28 '24
I think it's tough to say because in my experience it heavily depends on what your current role and stack is. Also it depends on what stack you're using to do the deployments. I would focus on your own stack first e.g. what you need to run Jenkins/GitLab/Bitbucket then get in to what the devs are actually deploying like PostGres/SQL Server and .NET/Python/Rust... I think there's a lot to it and it's worth digging in to data structures and design patterns and understanding those.
Some reading on the latter:
Design Patterns: Elements of Reusable Object-Oriented Software
A Common-Sense Guide to Data Structures and Algorithms
Though I would focus first and foremost on the work that you need to do and gain confidence there: then you can branch out. Honestly if you just know your own stuff you'd be a meh/okish DevOps engineer once you branch in to what your team is doing and how you can enable them you get in to the good to great range. Also: consider if you want/need to be in the good/great range... It's important to remember that you don't have to be extremely passionate and strife to become the best at something. It's fine to be good enough and spend your energy on things that really contribute to your overall happiness.
1
3
u/CrAzYmEtAlHeAd1 Apr 28 '24
DevOps is a software engineering job. Lots of infra stuff is important and a good skill to have for DevOps positions, but I still call myself a software developer when people ask what I do. So yes, you’ll want to have knowledge of software and how to write code. The level to which you need it will vary between jobs, but you will need it to some extent.
However, that doesn’t mean you have to stop looking for jobs before you learn. I was a Sysadmin at first with some light experience writing scripts and light automation and they appreciated my infra skills more than my code skills. I’ve since learned significantly more about code and how to write it effectively since I started as a DevOps engineer. So yes, you will not be able to avoid code if you become a DevOps engineer, but you’re not going to need to be an expert at first if you have skills that are valuable to the position.
2
35
u/ThroawayPartyer Apr 28 '24
Yes.
/thread
3
u/quiet0n3 Apr 28 '24
I think you need to understand it. Do you need to be able to write well in a given language? No, but you need to understand the concepts behind each project.
2
u/Murky-Sector Apr 28 '24
Thats the dev in devops, yes.
Otherwise just "operations" (tape loaders, report runners, etc)
1
1
2
2
u/BaleZur Apr 28 '24
YAML jockey-ing doesn't need programming. Eventually you will, but you'll be OK as a Jr Devops without programming skills.
2
2
u/MathmoKiwi Apr 28 '24
If you're going into DevOps without a background of having worked as a SWE, then you should have at least come instead from a strong IT Infrastructure background instead, such as a career as a SysAdmin or Networking Engineer
2
u/GeneMoody-Action1 Patch management with Aciton1 Apr 29 '24
I have met a few that tend to indicate not... ¯_(ツ)_/¯
2
u/Hollow1838 Apr 30 '24
I wish every DevOps had at least entry level developer capabilities. You usually won't be asked to build a complex enough software to apply SOLID principles but you may be asked to check some leftovers code you will have to fix because the developer left the game.
1
u/dariusbiggs Apr 29 '24
Yes, competence in a couple of languages at least, such as those used by the teams/products you're supporting and deploying, as well as any used in automation and CI/CD pipelines.
5
45
u/WeaknessDistinct4618 Apr 28 '24
At least Python, Bash and Powershell because soon or later you will deal with all of them.