Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Data Science related Ops

Im interested in courses that are worth a demn and can prepare you for data processing platforms.

Best if HIPAA applicable data processing course. How to maintain such platform, which tools are most commonly used, links with self-study and/or homeworks.

I would like to pivot from DevOps into MLOps or Data Processing Operations.

There seems to be a ton of content on the web, but most likely majority of it is SEO garbage and not worth my time. Someone experienced probably can distinguish.

Maybe someone in the field could point me to something worth checking that will really teach me something or certs that you did look into and were worth the time ?

(Im just short on time and have to correctly pick what to learn).

https://redd.it/1j8ywf3
@r_devops
Best course for GPC Professional Cloud Architect Exam?

Hello, i am preparing for the GCP professional exam directly, please suggest me some good paid courses and exam practices .

https://redd.it/1j8xpen
@r_devops
Workaround/alternative for gated deployments in GitHub actions?

Is there an alternative/walkaround that simulates a manual step to approve the next step in the workflow? The official way of doing it is by adding required reviewers to the environment protection rule, but that feature is available only under the GitHub Enterprise plan. Is there a workaround that enables you to have a manual gate, but it is available under lower-tier plans?

https://redd.it/1j93et2
@r_devops
Grafana Oncall is deprecated

Grafana announced today that they're deprecating Grafana Oncall. The cloudification trend continues.
Blog post: https://grafana.com/blog/2025/03/11/oncall-management-incident-response-grafana-cloud-irm/

I've been a big advocate for Grafana OSS for years, but it's getting harder to justify. With the deprecation of Grafana Alert, Grafana Agent, and its Operator, old Kubernetes app, not to mention the issues with Loki Helm charts and migrations, sticking with their OSS stack is becoming a challenge.

Glad I didn’t dive into Grafana Phlare, lol. Unless you're using their SaaS offerings, it feels like the OSS effort just isn’t worth it anymore.

Hope others didn’t get burned by this shift.

https://redd.it/1j948o9
@r_devops
My Final Work: AmICompatible - A Cross-Platform Compatibility Testing Tool

Hello everyone,

I recently finished my final work and wanted to share it with you all.
It's a tool that automatically tests software compatibility across different platforms: Whether you're checking if a simple script runs on all Linux distributions or validating enterprise-level applications.

I highly recommend working on projects like this, especially for anyone looking to become a DevOps engineer or get into automation. It’s fun to build and teaches you a lot, especially about topics schools don’t usually cover, like Infrastructure as Code (IaC).

Check out the project on GitHub: https://github.com/IGLADI/AmICompatible

Hope it can be useful to anyone out there and let me know if you have any feedback.

https://redd.it/1j90vjq
@r_devops
I am fresher and is Devops / sre are safe career for me

I am fresher doing Devops internship at the startup, i mostly working with Kubernetes and monitoring infra with signoz, there is not much workload in my organisation, despite of resolving alerts, I am confused that whether this job is good for me in the term of growth like, I have this internship till July and after that most probably I need to search another job so the point is is Devops good career for fresher

For reference of my capabilities this is my resume

bit.ly/yashbhangaleresume1

https://redd.it/1j98275
@r_devops
Anyone actually using Woodpecker CI?

Jerkins definitely has the advantage of being well known and having a path that is well traversed. However, I feels a bit heavy and old. I came across Woodpecker CI the other day and it seems much more modern and light. It started as a fork of Drone and has a small but growing community.

For those who have tried it, how did it go? Is it something that is worth using or is there something better? Are there any major downsides I need to be aware off?

https://redd.it/1j8v64c
@r_devops
How to describe my ansible skills in resume?

My main job was to configure small form factor servers from scratch. I used a bootable Debian preseed ISO to install the OS and then used the DHCP IP address after OS was installed to configure the server. The server was then shipped to different sites across country.

SSH configuration
Installation of necessary debian packages
Configure unattended upgrades
Configure network with a particular IP scheme
Configure NTP
Install docker and build the containers.
Change passwords,
Create cron jobs etc.

This was an unusual case of using ansible due to business needs. It varied from what I learnt in RHCE where VMs are configured and a desired state is maintained.

I am looking for a new job and want to highlight my ansible skills.

To do the above project I used the following skills or gained knowledge in the areas.

Ansible Automation:

\- Used Debian pre-seeding and Ansible to automate server builds.

Understand configuration file precedence and the available directives such as privilege escalation, connection etc.
Understand difference between ad-hoc commands, task, play, playbook, roles.
Know different modules from documentation to accomplish a task.
Understand the difference between host_vars, group_vars, magic variables and variable precedence.
Understand ansible fact structure and retrieve required values.
Implement task control using loops, conditional tasks.
Create idempotent tasks to the extent possible and prevent unnecessary task executions.
Manage task errors using failure conditions.

Do you think this is too much detail just on Ansible? How can I streamline it?

For some background, I am looking for junior devops position and Ansible is the my main skill. I have 3 years of experience with Linux administration, networking, M365, Windows Admin and more. Certs wise, I have RHCSA and about to take RHCE. I have some AWS experience and in the process of getting SAA cert. Also trying to improve my bash, python and docker skills.

https://redd.it/1j9a7el
@r_devops
Is It Normal If Your Manager Is Asking ETA for Research Tasks As Well!?

I mean how can you quote a time if you're learning and implementing that technology for the first time, let me know if you also seen same in your organization!?

Thanks!

https://redd.it/1j9bz9t
@r_devops
Is this a practical career path for Cloud & DevOps Engineering?

Hey everyone,

I’m currently pursuing a BSc in Information Systems and planning my career path toward DevOps Engineering. My goal is to start as a Cloud Support Associate, transition into a Cloud Engineer, and then move into DevOps Engineering. Eventually, I’d like to progress into higher-level roles like DevOps Architect and beyond.

I want to know whether this is a practical path globally and if there are better approaches to breaking into DevOps.

# A few questions for professionals in the field:

Is starting as a Cloud Support Associate a good entry point for Cloud/DevOps?
Are there faster or better ways to transition into DevOps?
Which certifications or skills should I focus on early in my career?
Any advice for landing a good internship or first job in Cloud/DevOps?

I’d love to hear from those who have followed a similar path or work in the industry. Any insights or recommendations would be much appreciated! 🙌

https://redd.it/1j9cgei
@r_devops
Simple Open Source AI Content Generator Tool with AWS Bedrock Llama 3.1 405B

I created simple open source AI Content Generator tool. Tool using AWS Bedrock Service - Llama 3.1 405B

to give AI generated score,
to analyze and explain how much input text is AI generated.

There are many posts that are completely generated by AI. I have seen many AI content detector software on the internet, but frankly I don't like any of them because they don't properly describe the AI detected patterns. They produce low quality results. To show how simple it is and how effective Prompt Template is, I developed an Open Source AI Content Detector App. There are demo GIFs that shows how to work in the link.

GitHub Link: **https://github.com/omerbsezer/AI-Content-Detector**

https://redd.it/1j9eenk
@r_devops
Devops consultant in Deloitte USI

Can anyone working there tell me if it’s worth it ? Their offer and perks really attract me but I’ve been hearing overwhelmingly negative reviews about them. If I look past that the thing some people mention is that it’s hard to find a project to get yourself assigned into basically putting yourself through another job hunt after you’ve secured the actual job.

Could anyone confirm the same please ? The thing is consultants mostly require 3 years minimum while I was hired with just having 2.5 plus I’ve never bothered to take any certs as all of my previous orgs never required certs for me to prove my skills.

So considering all this would it hard for me to actually get assigned to projects ?

https://redd.it/1j9fce0
@r_devops
Terraform vs Pulumi vs SST - A tradeoffs analysis

I've been looking a lot at the different options we have for IaC tools lately. After experiencing and researching for a while, I've decided to summarize my experience in a blog article, which you can find here: https://www.gautierblandin.com/articles/terraform-pulumi-sst-tradeoff-analysis.

I hope you find it interesting !

https://redd.it/1j9f4mx
@r_devops
Did any of you switch from DevOps to data engineering?

Hello friends!

Short summary: Started my career in tech 7 years ago with hopes of slowly carving a career path in DevOps, but considering my passion for data, I now have the knowledge (cloud, productionising deployment, IAC, etc. ) and opportunities to do a slow lateral move into data engineering.

Question: Not an expert in the field, but got my hands dirty with a few data pipelines in AWS and want to switch from DevOps before I find my self under the rubble. I have no grievances with the field per se, just an idiot manager who believes DevOps is a label to get the employee to do more with less. Have any of you done something similar? If so what resources and pace (asking if it’s an overly ambitious move?) do you recommend?

https://redd.it/1j9gr3j
@r_devops
How the hell do you do Semver with TBD? When do you tag?

I'm really struggling with this

When do you actually tag? Whether it's your container image, commit or any artifact.

Here is what I think should happen :

|Stage|Tests|Deploy reference|
|:-|:-|:-|
||
|local dev (developer's laptop, live env, hot reload, no pipeline)|unit tests|no pipeline deploy|
|integration|unit tests / integration tests|deploy using pipeline with commit hash ex: fec80bd (or latest?)|
|testing|end to end tests|deploy using pipeline with commit hash ex: fec80bd (or latest?)|
|staging||1.0.1|
|production||1.0.1|

I'm trying out Kargo with ArgoCD and what bugs me out is that in their quickstart example they start by deploying to a dev environment a Docker image with a tag that already have a semver tag.

But you would not do semver on EVERY COMMIT right? Only those considered valid, thus releasable?

https://redd.it/1j9gk50
@r_devops
Software developer intern who will be doing some DevOps work

Hello everyone, I'm a bit scared tomorrow I will be going at the office to finalise the paperworks with the CTO. From the interview I did I know I will be doing Vue.js - PHP - Laravel - Docker - CI/CD with CircleCI
I have no experience with Vue.js, Laravel and CI/CD.
I know some Docker basics like pulling image, running command inside container ect...
Anything I can ask them to make my learning a bit easier as I will have like 1 month before I officially start. I'm already researching and learning from docs ect... but I'm not confident at all.
I need some advice I'm quite lost here.

Thank you everyone!

https://redd.it/1j9fnlc
@r_devops
How To Mock Correctly?

tldr :- test file returns actual data instead of mocked data when invoked through function or route

Hi, I am new into the tech field and my mentor assigned me the task to learn how to test python files for the pipeline which I would work on.
and the pipeline will have flask files.

so to learn that, I have been watching YouTube videos on pytest, mocking(mentor emphasized this part more).
but I am facing an issue,
context :-
created a app.py file which is basic flask app and it has a route that return's data stored in db(for now using a temp dict as db)

/app.py
from flask import Flask, jsonify, request, abort

app = Flask(name)

# In-memory storage for our resources
resources = {
1:{"name" : "Item 1", "desc" : "This is Item 1"},
2:{"name" : "Item 2", "desc" : "This is Item 2"}
}

# Read all resources
@app.route('/resources', methods='GET')
def getresources():
return jsonify(resources)

if name == 'main':
app.run(debug=True)

and then in the test file , I tried creating mock data and assigning that mock data to mock\
response obj.
here comes the issue, when I test the file using the route or function it returns the value from db itself rather than the mock_reponse obj which has mock data.

import pytest
from app import app as flaskapp

@pytest.fixture
def app():
yield flask
app

@pytest.fixture
def client(app):
return app.testclient()

def test
get(client, mocker):
mockdata = {'1': {"name": "Mocked data 1", "desc": "This is Mocked data 1"}}

mock
response = mocker.Mock()
mockresponse.statuscode = 210
mockresponse.json = mockdata

mocker.patch('app.getresources', returnvalue=mockresponse)
response = client.get('/resources')

print(f'\n\nMocked response JSON: {mock
data = }')
print(f'Actual response JSON: {response.json}\n\n')

assert response.statuscode == 210
assert len(response.json) == 1
assert response.json == {'1': {"name": "Mocked data 1", "desc": "This is Mocked data 1"}}

Error :- test\
get_resources.py

Mocked response JSON: mockdata = {'1': {'name': 'Mocked data 1', 'desc': 'This is Mocked data 1'}}
Actual response JSON: {'1': {'desc': 'This is Item 1', 'name': 'Item 1'}, '2': {'desc': 'This is Item 2', 'name': 'Item 2'}}


F

========================================= FAILURES ==========================================
testget

client = <FlaskClient <Flask 'app'>>
mocker = <pytest
mock.plugin.MockerFixture object at 0x00000289D6E63410>

def testget(client, mocker):
mock
data = {'1': {"name": "Mocked data 1", "desc": "This is Mocked data 1"}}

mockresponse = mocker.Mock()
mock
response.statuscode = 210
mock
response.json = mockdata

mocker.patch('app.get
resources', returnvalue=mockresponse)
response = client.get('/resources')

print(f'\n\nMocked response JSON: {mockdata = }')
print(f'Actual response JSON: {response.json}\n\n')

> assert response.status
code == 210
E assert 200 == 210
E + where 200 = <WrapperTestResponse 94 bytes 200 OK>.statuscode

testgetresources.py:25: AssertionError
================================== short test summary info ==================================
FAILED
testgetresources.py::testget - assert 200 == 210
===================================== 1 failed in 0.59s =====================================

so my query is, what am I doing wrong? and how can i Fix it.
as per my understanding, we use mocking to mock the return value of a function and when i tried to do this it returns actual values instead of mocked values.

I was able to figure
out a way that instead of mocking the function if i mock the db mocker.patch('app.resources',return_value = mock_data) then it returned the expected result. but this beats the purpose of testing using mock

https://redd.it/1j9n7ld
@r_devops
Need advice as I am struggling!


Hey guys, long story short. I accepted a full time job from a a contracting company, and the company I am contracted to is a fortune 500. This is my first career job out of college I had no experience, first two years as integration dev went so slow. Low workload ended up learning a lot. beginning of 3rd year they switch me to a DevOps engineer role. Workload is 10X I’m not shitting u, I start at 6am and don’t finish until 7 8pm but Im only allowed to work 40hrs as I get salary but realistically, I work close to 55hrs or the job wont be done . They pay me 65k/year didn’t have a raise in the last three years. I asked for one but the literally said no or u can seek other opportunities, I love the team and this new role I learned a shit ton in the first 3 months than my last two years. Should I just stick with it for another year or look for another job? Most of my college friends got a full time role within the company and get $100k+, raises and bounces yearly. While Im stock!
Financially Im not doing okay as school loans and inflation, rent ect.


https://redd.it/1j9qaw5
@r_devops
Reproducable Server without Nix/NixOS?

Hi! I've been maintaining servers on bare metal for a while now, and so far I've rolled most of them manually, and for some of them I used NixOS.

I've enjoyed using NixOS. I like it because it allows me to recreate my server very easily when moving hosting providers. I don't want to bind myself to a hosting provider because it's an instance of vendor lock-in (since it takes significant time and effort to move to another service provider).

However, when using NixOS, I've often experienced that support for certain newer services (e.g. Dendrite) was not good (and writing Nix unfortunately feels very inaccessible and unintuitive to me). Also, there was no way to make sure I wasn't using compromised packages (since vulnix was discontinued), making my server vulnerable to CVEs and supply chain attacks.

Guix' Scheme language feels very verbose and cumbersome to read to me, so I'm not sure I want to go that route either.

Therefore, my question is: Can I get the reliable reproducability of NixOS with a different tool or set of tools as well? Ideally without the cons mentioned above, of course. I'm currently already considering using podman, but that still leaves me with the base OS not being reproducable... right? Maybe a tool like Pulumi is what I should be using here? Looking forward to your recommendations, pointers, suggestions and ideas! And questions, of course :)

Thank you for your time! 💜

Addendum: I'm intending to rent a single server to host some self-hosted services on (stuff like a Mastodon server, a Minecraft server, a CryptPad server, maybe Excalidraw). Ideally I will be able to move the services I host from one hosting provider to another with minimum effort.

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