Reddit DevOps
272 subscribers
21 photos
31.3K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
If you're struggling to learn, we have a bunch of projects!

Hey everyone, I'm Dan from roadmap.sh (which I know gets posted and mentioned all the time haha)!

We've been working hard on providing people with projects to help prove their knowledge, because as you know, the best way to really learn something is to build it!

We now have 21 DevOps projects that you can build with a good amount in Basic, Intermediate and Advanced!

https://roadmap.sh/projects?g=devops

If you want to see any other classic projects here then just submit an Issue on GitHub.

https://redd.it/1g19yc4
@r_devops
I am stuck in my job don't know whether to quit or go with the flow?

Please need genuine advice

Currently I work as the L1 NOC engineer and my work includes Linux OS, Networking, Putty, NS-OX, and communication with customers to resolve issue.

Now The scenario is earlier I was doing an internship in the startup based company and the role was Frontend dev. I left that internship because of this job due to higher package and the HR told me that they have various fields in the company so they will put me in web dev and I accepted the offer but later they put me in this NOC position and told me after 6 7 months I will get the domain of Devops, Cybersecurity, Cloud, Network, Database, and Backup. I don't trust them because there are many other people waiting for domain who are hired with me so it's gonna be in the randomised order.

Now my major concern is what to do here should I start studying for Devops and build projects in that to get a internship or entry level job which is quite difficult because no one hires a freshers devops engineer unless you are lucky. Or I should grind my Frontend skills and work on the js frameworks to get back in the web development field. Because I only Know HTML, CSS, JS and some react concept.

Currently its my fourth month here and there is nothing new to learn here and it's feel like this experience is nothing but just a waste of my time but the experience letter would say IT Operations Associate.


https://redd.it/1g1cble
@r_devops
Best way to do CI/CD on a self-hosted server running Proxmox for a small web app

Hello!
I'd like to add CI/CD to my small web app that's on GitHub and hosted and is self-hosted. I'm not looking for the easiest (but rather the best) solution as I'd like to learn something new that might be useful to me in the future. This app is literally used by me and my collegues, so there's basically no traffic on it.

The app uses:

Next.js - Frontend
Python with Sanic - Backend
Postgres
Redis

Right now all this is in 3 separate LXC containers (API and Web are in the same one as the API is exposed thru Next.js rewrites). I did my research and it seems like the way to go is Portainer and a GitHub Action that builds a container and then pushes it to Portainer to deploy (So this solves CI too!).

My questions:

1. Is this a good solution?
2. Does it make sense to run all services related to the app in 1 Portainer instance (So that is the whole web app in one LXC basically with Postgres and Redis alongside it)?
3. Related to 3., if there was another web app, would it make sense to have another separate Portainer instance for it in another LXC?

Thank you!

https://redd.it/1g1dtr9
@r_devops
Dashboard for Apache with Geo Location based IP address

Hi all,

Please suggest an dash board ( Prometheus + Grafana ) for Apache with Geo Location map based IP address.

https://redd.it/1g1eq15
@r_devops
GitOps - one deploy config per service version

I want to hear your thoughts on a problem statement that is not broadly discussed.

Let's say I've got a project in which I need to deploy multiple versions of the same service (different clients with different rollout schedules). Let's say each version of the service needs a different deployment config (env vars, secrets, whatever).

I'm using ArgoCD do deploy this services dynamically. I've got an abstract service helm chart that I use to deploy different services by feeding different deployment configurations.

Now I'm adding another layer to this, different configuration per service version. I've been thinking about the cleanest and most usable way of storing this configuration and I've come up with multiple possibilities:

# Option 1 - Big file per service with a block of configuration per version

# Option 2 - One file with base line configuration + one file per version for any version specific config. Periodically, we would promote those version specific config to the baseline.

# Option 3 - Store deployment configuration in the service repo. Helps a lot with organization but if you want to change deployment configuration you need to rollout a new version of the service, which doesn't make sense.

# Option 4 - GitOps repo would contain a folder per file, inside a deployment config file per deployed version of said service. This one is the most understandable but the number of files could be exponential. (let's say you have 40/50/100 clients, each using different versions).


What do you think? How do you handle this? Do you handle this at all?

Hopefully as part of our ArgoCD/GitOps initiative we will be able to reduce the time between deployments and minimising this issue

https://redd.it/1g1cs7m
@r_devops
Does it make sense to use trunk based development with canary deployments?

I've been reading a lot about deployment strategies recently to decide what to go with for my early stage startup. Stability is important as it's a website for lawyers to run their practices.

I want to do trunk based development, but wondering if it makes sense to pair it with canary deployments?

Say upon a release to production, for the next 24 hours, only 10% of users are routed to the new version. Given that no issues are caught over that period, all users are then routed to the new version.

The benefit is that any issues caught in production will affect only a small portion of users.

The drawback is some (minor?) complexity in setting this up with gcp cloud deploy, as well as monitoring canaries for every release.

Should I implement canary relases?

https://redd.it/1g1gr6s
@r_devops
podman upgrade possibly causing kube-apiserver high cpu?

I was working on some golang middleware tying into opentelemetry and saw the upgrade for podman and took it.

About 20 minutes later my laptop fan starts going like crazy. Come to find out kube-apiserver is maxing out a core on my laptop. I use kind, so I blow away the kind cluster and recreate and its good. Then 20 mins later it happens again.

I enabled audit logging on the apiserver and sure enough there are a ton of watch calls constantly. The sourceIP seems to be something within podman itself. I'll paste a sample line in the comments.

Anyone else seeing this? I'm wondering if podman is going wild on kube-apiserver and causing the spike.

So I spun up a vanilla control plane with kind with nothing loaded. Starts doing the same thing.


https://redd.it/1g1jxit
@r_devops
Learn AWS services for free as much as possible?

Hi everyone.

I am planning to learn aws services by building a simple app like a todo application with just an added feature of image upload to explore S3 as well.

Now, I have a basic plan in mind right now like use ec2, rds, s3 and codepipeline or github actions.

My question is, is it possible to learn all these for free in aws? Like a feee tier or something? Or maybe is it cheap to learn these services?

Please don't bash, I don't have background with DevOps and this will be may day 1 of learning.

Thank you for helping in advance. :)

https://redd.it/1g1l2ei
@r_devops
DevOps duties, but never job titles

Hi everyone! Is your current or past job title(s) super important when looking for new DevOps opportunities? For example, I have had roles where my responsibilities were DevOps but the title would be “Cloud Engineer” or “Systems Engineer”. Is it possible that the experience and skills that I gained from those roles could overshadow the official job titles when searching for a new role?

https://redd.it/1g1mays
@r_devops
Have a DevOps Interview next Thursday. Can y’all see if this would be enough to study for?

Hi everyone! I was laid off from my full stack software engineer job several months ago: it’s been rough, but I found a reason to keep my head up. I’ve come across the opportunity to interview as a dev working in databases and DevOps! The interview happens next Thursday. I want to compile a list of important interview topics to study. There’s so many great looking resources on Google, and you can bet I’m going through tutorials to run down Docker, Kubernetes, Jenkins, CI/CD, etc., but I want to know what the common interview questions would be. ChatGPT generated this for me, but I wonder what else I should study for:

General DevOps Concepts

1. What is DevOps, and how does it differ from traditional IT?
2. What are the main principles of DevOps?
3. How do continuous integration (CI) and continuous deployment (CD) fit into DevOps?
4. What is infrastructure as code (IaC)? How does it work, and what tools are used for it?
5. What are the benefits of version control in DevOps pipelines?

CI/CD Tools and Practices

6. Which CI/CD tools have you used? Can you explain a typical CI/CD pipeline?
7. How do you handle failures in a CI/CD pipeline?
8. What is the difference between continuous delivery and continuous deployment?
9. How would you implement automated testing in a CI/CD pipeline?
10. Can you explain blue-green deployment and how it reduces downtime?

Monitoring and Logging

11. How do you monitor the performance of applications and infrastructure?
12. What logging tools have you used, and how do you centralize logs for analysis?
13. How would you set up alerts for infrastructure issues?
14. What metrics are important for monitoring the health of a system?

Cloud Infrastructure

15. Which cloud platforms have you worked with (AWS, Azure, GCP)?
16. What is the difference between scaling horizontally and scaling vertically?
17. How would you secure cloud infrastructure?
18. How do you manage costs in a cloud environment?
19. What is the difference between containerization and virtualization?

Configuration Management and Automation

20. What configuration management tools have you used (Ansible, Puppet, Chef, etc.)?
21. How do you ensure that infrastructure is consistent across environments (development, staging, production)?
22. What are your best practices for automating infrastructure provisioning?
23. How do you handle secrets management (e.g., passwords, API keys)?

Containers and Orchestration

24. What is Docker, and how does it work?
25. What is Kubernetes, and what are its key components (e.g., pods, services, nodes)?
26. How do you monitor the health of Kubernetes clusters?
27. What is the difference between Docker Swarm and Kubernetes?
28. How do you manage stateful applications in Kubernetes?

Security and Compliance

29. What steps do you take to secure a DevOps pipeline?
30. How do you handle vulnerabilities in your infrastructure?
31. What is role-based access control (RBAC), and how does it apply in DevOps?
32. How do you ensure compliance in a highly regulated industry?

Version Control and Collaboration

33. How do you manage branching strategies in Git (e.g., GitFlow, trunk-based development)?
34. How do you handle merge conflicts during collaboration?
35. How do you use Git hooks for automation?
36. What’s your experience with managing large-scale code repositories?

Troubleshooting and Problem Solving

37. How do you approach troubleshooting issues in production environments?
38. What’s the most challenging DevOps issue you’ve resolved, and how did you do it?
39. How do you handle failed deployments in a live environment?
40. What tools and methods do you use for root cause analysis?

https://redd.it/1g1rs7j
@r_devops
EC2 Instance Free Tier

I created an EC2 Instance Free Tier for practice, where can I check exactly when my free tier will expire? I forgot when I created my AWS account but I only created the EC2 instance today.

https://redd.it/1g1tvpu
@r_devops
How difficult is it to upgrade JDK version? I noticed Java developer tend to stick to a specific JDK version without trying to upgrade

This practice from Java community is bad as there are lots of vulnerability from their legacy stuffs

https://redd.it/1g1tbsm
@r_devops
What’s the next "Kubernetes" hotness for you?

Hi everyone,

I've been a DevOps engineer for about 5 years now, working on the usual DevOps tasks like Kubernetes, CI/CD, AWS, GCP, Terraform, Bash, Go, Helm, ArgoCD, and more.

A few years ago, taking a deep dive into Kubernetes really helped me. Becoming comfortable with it opened up a lot of opportunities at the time.

Nowadays, Kubernetes feels like a default skill that everyone in the field should have, which leads me to the question in the title of my post: What do you think will be (or already is) the next big thing?

I'm thinking about diving into MLOps—would you guys recommend it?

Thanks!

https://redd.it/1g1w970
@r_devops
Roast my resume and suggestions please. 2024 Grad here (India).

I am a 2024 grad and since the last 1 month I have been applying for entry level devops jobs but so far have only gotten 1 revert. What am I doing wrong? Please help, it has become very disheartening.
Any suggestions and guidance would be really helpful.

Resume link: https://imgur.com/a/XvmZdDA

https://redd.it/1g1xtli
@r_devops
Aspiring to be in devopps but a few questions

So I was going for the comptia certs just to get a good base but I'm not sure if it would be worth learning the network+ I want to put my time in to things that help me become a devops engineer. Or should I work on projects? Sorry for the newbie question just need guidance

https://redd.it/1g1yres
@r_devops
Someone who knows devops tools vs someone who has devops thinking: which would you rather hire?

I often see people posting in here that they are looking to learn tools to become a devops engineer and then they ask if thats enough to become one. I don’t blame them considering devops is a hot market right now.

That being said, if you are going through the process of hiring someone and they can answer all the right questions about K8s, Docker, gitflow, CICD pipelines, etc. but they cannot even explain what these tools were made for and why - does that matter to you? Because frankly, I’d rather work on a team of folks who are babies when it comes to the tooling but have a clear understanding of why we use the tooling we use. The latter are more able to pushback when a design is dumb and explain why. There’s also greater resiliency when a team doesn’t just deploy the new shiny some PO wants and find more elegant solutions that work in tandem with the application.

https://redd.it/1g22ipx
@r_devops
Handpicked Software Engineer Jobs Report (10/9): 240+ recently posted roles in the USA & Abroad. Curated weekly to help your job search. DevOps/SRE/Infra roles included.

Hey friends, every week I search the internet for software engineer jobs that have been recently posted on a company's career page. I collect the jobs, put them in a spreadsheet, and share them with anyone whose looking for their next role. All for free.

I added the ability to filter by technology and location on Airtable. Now you can filter by your preferred tech stack and by the location of where those jobs are located. Again we have over 240 roles from Software Engineering to Infrastructure Engineering in cities around the globe.

I hand pick the ones I know are good roles, with market salaries, and no glaring flags (ex: I generally only put roles with posted salary bands). Though its not easy to tell if the roles require leetcode or not. I want to figure out how to get the information in the future.

The data is sourced by my own web scraping bots, paid sources, free sources, VC sites, and the typical job board sites. I spend an ungodly amount on the web so you don't have too!

About me, I am a senior software engineer with a decade of work history, and ample job searching experience to know that its a long game and its a numbers game.

If there are other roles you'd like to see, let me know in the comments.

To get the nicely formatted spreadsheet, click here.

If you want to read my write up, click here.

if you want to get these in an email, click here.

Cheers!

https://redd.it/1g23lw2
@r_devops
Public Databases get a public DNS endpoint over a public IP Addresses in AWS

Hey,

Wondering why AWS made the switch from assigning public IPs to databases to assigning public DNS endpoints to them. Was this always the case, and is it the same with other CSPs?

From my understanding, the public DNS acts as a router configured with port forwarding ( Comparing to my home-lab setup here! ). Unsure whether you could compare the two, though they probably use similar algorithms. If anyone here has worked with router software & DNS would love to know!

Thanks.


https://redd.it/1g23wez
@r_devops
Azure Devops for 3 people team to manage Unreal Engine 5 game project with ci/cd and release setup for different platforms and devices.

Hello Guys,

We are collage grads. And recently started working on developing an unreal engine 5 game. So we are using azure Devops to manage our project. As we know some basic knowledge on Azure Devops plus it's free for indie studio.

Anyways so we are trying to create one admin account which manage main organization of repo. And from that repo 3 of us clone it in our respective organisations so not to make main organization and its repo messy. I have tried to do that with yml but it's not very efficient way to do so. 1. So if anyone knows how to manage push pull function from multiple organisations with same repo cloned? CI/CD for the same.

Later we were experimenting with release pipeline for our game project on various platforms and devices. Yet again it's confusing to manage devices like android, ios, xbox, windows etc for release and their respective build package for that. Also it gets confusing for different platforms like Epic, steam etc. 2. So any one knows how to manage various devices and platform for various build package version for release and publishing? CI/CD for the same.


https://redd.it/1g25du7
@r_devops