Reddit DevOps
270 subscribers
8 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Is Pulumi worth it?

Had someone build something big with it already? How do you compare your expirience compare to TF? Are there any showcases or public repos to look at?

https://redd.it/1dltcoy
@r_devops
How to create and update ansible inventory automatically from terraform via GitHub actions?

I run the terraform to create the AWS infra and store the tfstate in tf cloud via GitHub actions workflow.I need to list automatically all my AWS ec2 instances public IP addresses as an inventory file to run ansible.I don't sure I articulate it well,if any confusion,let me know

https://redd.it/1dlu5f3
@r_devops
Starting DevOps Career Without any Bachelor's Degree: Seeking for Advice and a Roadmap

Hello,I want to start my career in DevOps. I earned my Google cybersecurity certification last year. Due to some financial issues, I can't pursue further certifications at the moment. Additionally, I don't have a bachelor's degree. I have been working as an IT support technician but have no prior knowledge in DevOps. I need some suggestions on where to start, how to effectively learn DevOps practices, and how to land my first job. I'm currently studying DevOps practices on YouTube. I need a roadmap for my DevOps journey and a good approach for obtaining valuable certifications.Also, I would appreciate some insights on the job market, specifically in the UAE. Your suggestions are appreciated.

https://redd.it/1dlt24x
@r_devops
VSCode, Terraform not recogizing AWS CLI

I have the AWS CLI installed, terraform installed, vscode as my IDE.

However when I try and run a basic syntax "terraform aws s3 ls" I get the following error message:

Terraform has no command named "aws".


Please help, have 1 week to get terraform under my belt before an interview! Any assistance greatly appreciated.

https://redd.it/1dlwkyf
@r_devops
Integrating Synopsys Coverity in a GitLab Pipeline for Static Analysis

Anyone here implement Coverity in a GitLab pipeline? I'm trying to follow the docs, but I feel like they could be more detailed.

What has your experience been like with it?

https://redd.it/1dlyjoq
@r_devops
It's sometimes said "Life runs not on 'perfect', but 'good enough'. What's the 'good enough' of DevOps?

./pipeline.sh



#!/bin/bash

git clone github/company/company_project

cd important_folder

cp important_folder/* /filepath/some_folder/



Joke aside, what have you seen?

https://redd.it/1dm3thd
@r_devops
Advice on dealing with a non technical manager

Currently, we are a small company where the ops team consists of one manager and a few ICs (including myself). We initially hoped to expand the ops team, but due to a pivot in product direction, we had to let some members go and condense the team. Now, the team realistically won't be growing much.

From my understanding, the role of an engineering manager, especially for ops, is to set priorities, shield their team from the bureaucracy of the other C-levels, and manage reviews and career growth. However, I've encountered a few roadblocks due to our manager's lack of technical expertise:

- Communication Issues: The manager acts as a middleman, relaying requirements from other VPs to our team and then passing our feedback back. This has backfired because he doesn’t fully understand the technical asks from other teams.

- Unclear Priorities: It's unclear whether the principal engineer or the engineering manager should set technical priorities. This has led to some discord.

- Indecisiveness and Micromanagement: The manager seems indecisive, avoiding assigning tasks to avoid conflict, yet becomes micromanaging when tasks aren't completed as expected.

While he is a good people person, his lack of technical skills and decisiveness is impacting the team. My teammates feel the same way. I’m looking for advice from fellow engineers who have had similar experiences. Currently, my plan is to collate examples and discuss them with my team, then have a talk with him to provide feedback. If there’s no change, we may need to escalate the issue to his boss. However, I want to give him a chance to respond to our feedback first before taking it higher.

Anyone else have this issue? Any feedback would be appreciated

https://redd.it/1dm9mey
@r_devops
Suggest me the best git branching strategy for my use case

We're currently using Gitflow as our branching strategy with the push coming to migrate to Trunk Based Development (TBD). In theory, TBD looks like a way to go, but I just wanted to know if there are better branching strategy for our situation.


Here's our situation -

We've a bunch of repositories (\~25) and a bunch of journeys (\~12). A journey can be a combination of 1 or more repositories.
We've multiple feature teams which own 1 or more journeys, which also means if they make any change, chances are they're making changes to repositories common to all feature teams.
Any feature done by the team are not always fully independent. We can have a feature, which depends on other teams changes, or which undoes the changes if other's team changes are done temporarily. In rare case we may have two versions of same method in different branches.
Each of our feature takes at least 3 months to release, which can go up to a year in some scenarios.
We've a Jenkins pipeline which works with PR but not as CI/CD.
We do have tests and BDDs but test automation is still at around 75-80%.
Our team has varying degrees of experiences with some are fresh graduate trainees.

Our current flow -

main is our base branch where everything is merged back.
If a new feature is needed, release branch is created for it.
PR is raised in these release branches till the feature is ready.
Once feature is release, release branch is merged back in main.
If other team needs to build on top of this feature then their release branch is forked from existing release branch, otherwise from main.
Hotfixes are forked from main and merged back to main and release branches upon release.

I can understand a lot of obvious challenge can be mitigated by using TBD, but I'm worried about a few things -

Given our release cycle and interdependency, will we be overloading app with too many feature flags?
TBD is ideally suited for short feature releases cycles. Will it be scalable for releases as long as, say, once every 3 months?
Given teams' varying experiences and not full test automation, will TBD hurt us in long run?

Our current strategy is not ideal as we ran into several merge conflicts in the past so the change is necessary, but I was wondering if we should adopt TBD as is or look for some hybrid strategy, if available.

Please suggest me a way here.

https://redd.it/1dmkr8z
@r_devops
C Vs Devops Vs Backend

Hey guys!

I'm a CS student during my 2nd year.

I'm trying to find the specialization I like the most so I wanted to hear your opinion :)

I'm actually interested in infrastructure and software development. I want my job to be interesting so i can balance organization, code, and cooperating with other team members.

I was thinking about DevOps which is a blend of those stuff, currently, I'm learning AWS cloud and I already have the RHCSA that gave me a Linux background. (I'm enjoying it so far)

On the other hand, i was thinking about backend and C programming. (I'm not interested in frontend at all)

C programming (mainly about embedded?) I'm not interested in game development. What are the options for a C developer out there? I don't have any electronics background, so getting into the field will probably be tough. However, I seem to like the low-level stuff, but not the crazy math stuff.

I don't want my job to be all day code and no communication with others. I want it to be balanced between different tasks.

Are there people here who were in the same situation or worked in all of the fields and can give advice?

Salary wise DevOps seem good and fits the dynamics i think of.

https://redd.it/1dmsrt9
@r_devops
How to break into the industry?

I've been administering Linux servers for over 15 years.

Old school strategies--multiple hosts with mirrors of monolithic applications, hiding behind a load balancer.

Using suites of bespoke shell scripts to automate away toil and monitor system health.

Ancient security approaches--isolating all the things, not having any unnecessary utilities, libraries, etc. on the hosts, IP whitelists, tight MAC policies, logs galore...

I'm familiar with major cloud platforms like GCP, AWS and Azure. I've setup PIM, synced on-premise LDAP directories to the Azure AD, created Backblaze buckets to rclone encrypted backups to, deployed SIEMs like Splunk, set up log forwarding, setup firewall policies, spun up VMs, created Docker containers, managed DNS...

I've used Ansible, Puppet, stored configuration files in git repos.

I can't get an entry-level DevOps job. I'm stuck working short-term contracts for staffing companies, maintaining ancient monolithic C applications at large universities and performing user access audits for $35/hr.

https://redd.it/1dmuqz1
@r_devops
Let me introduce: ITIL-driven architecture

My company did ITIL by the book for twenty years. Company tries to shift into devops but is afraid to throw away old shitty processes and tools. I’m a devops guy so I write software and also deploy it to prod and operate it. If I want to deliver software officially then I have to click through an awful ITSM tool with ninety’s flair for more than an hour.
My solution: deliver a base image once. Mount config PVC in container under /config. Rsync new software code to /config.
If someone asks then we only do config changes. I still need create a change request for config change in the shitty tool but creating an IT change request only takes me 3 minutes. I’m the only approver of the change request.

I hope this story could make you smile.






https://redd.it/1dmvtt2
@r_devops
Average Full stack developer

Hey I'm a full stack developer and been working for past 3 years. Anyhow, i haven't got the opportunity to work on the devops side but now I'm planning to take on it. Can anyone of you recommend me the course or guidelines to start with?


https://redd.it/1dmujdx
@r_devops
Its 2050, you still see Job Posts filled with „Jenkins” as requirement

/rant on

Holy moly mother of sweet Jeruzalem

Why this crap cant die ? Its not maintained for over 10 years, most plugins are CVE10s, ppl moved on, cloud native is already 5-10 years old.

If that deprecation goes as fast as now my grandchildren will be still (dear god pls no) still required to maintain that sh*t.

What the fk fk stops you ppl from migrating off of that pile of smoking hot crap?

And who tf starts a company in 2020 using Jenkins for CICD? Havent you learnt anything in like past 20 years?

/rant off

Every time you post a job offer and list you use Jenkins a kitten dies of cancer.
I like kittens, please stop killing them.

https://redd.it/1dn06s7
@r_devops
Do I still need to do DSA after shifting to DEVOPS?

I shifted from fullstack to devops. I was a good developer (2 YOE). Should I continue practicing DSA time to time? Will it help in devops?

https://redd.it/1dn2flt
@r_devops
Automation using pyautogui on GCP GCE VM, viewing the remote monitor, and controlling the keyboard and mouse

Hello,

I am building an automation script that uses pyautogui to control the mouse and keyboard, along with some simple computer vision, to automate a manual task in the browser. Imagine a bot that finds buttons on a screen, clicks them, drags files around, uploads things, copies and pastes, etc... The task cannot be done via API because no API exists for what I am trying to do.

I can get the script to run on my local mac machine; however, this is obviously not a scalable solution, as I would like to have this script run virtually, and potentially multiple in parallel. I want the script to be fully automated and virtual, such that It has no dependence on my local machine in any form.

I primarily use GCP for my cloud provider, so I was hoping to find a solution using GCP. I would like to be able to spin up a Google Compute Engine instance, with a Linux OS, and run the bot inside the VM. So this would require a few things:

1. The bot must be able to access the browser from the VM.

2. I need to be able to view the monitor of the VM during the refactoring of the bot, so I can make the bot work on this machine (which will look different than my own mac). For example, the icons for files and buttons will appear differently inside the VM than they do on my local machine.I did see that GCP allows for screenshots to be sent back from VM, instead of a live stream, and this may work for my use case (it may be preferable).

But I was just curious if any DevOps folks had experience with projects like this, which can basically be summarized as, spinning up servers on GCP, viewing their monitor remotely, and manipulating things on the VM using the keyboard and mouse (ideally in an automated way). I can imagine this being useful for developing automated tests for applications and video games. I am looking for advice on solving this problem!

Thank you.

https://redd.it/1dn7jwd
@r_devops
Unleashing the power of frame pointers pt.1

Hello everyone, I just wanted to share with you the first episode of a blog series. This series dives into frame pointers and their critical role in building a CPU profiler.

https://blog.maxgio.me/posts/unleashing-power-frame-poiners-execution-environment/

This episode will explore the fundamentals of a program's execution environment. By the end, it shows how frame pointers become essential for stack walking.

I've written it while writing a basic sampling-based kernel-assisted profiler. Indeed, the second episode will be more practical and see how to code a basic profiler, sampling stack traces and accounting them for CPU time, etc.

As we always have something to learn, any feedback is more than appreciated.

Thank you.

https://redd.it/1dn7rhw
@r_devops
I made a simple introductory quiz for understanding Kubernetes basics

Hey everyone, I've been learning K8s recently and I thought I'd put my basic knowledge to the test with a little quiz for myself and my team at work! I thought I'd share it with you all!

Quiz

https://redd.it/1dn9yfy
@r_devops
All the experience folks out there What's your go to strategy to switch jobs

Let me get straight to point have good skill set for 2 Y.O.E but pay is bad
Want to switch but don't know where to begin
Just before you guys say LinkedIn
The hard truth is too much crowd
I'm a devops engineer btw so all the experience folks please enlighten me on your strategy.

https://redd.it/1dn9q67
@r_devops
Can one person manage a Devops practice?

I know it’s redundant because DevOps is an alleged culture, but my real Q is, can one person admin 5+ K8s clusters. 20+ NS and build out TF templates as well as ArgoCD maintenance? How sustainable is all that?

https://redd.it/1dnbjux
@r_devops
The Open Source Tool That Turns DevOps Pipelines Into MLOps Pipelines

Really interesting post–TL;DR
This article explores KitOps, an open source project that bridges this gap by allowing you to leverage your existing DevOps pipelines for MLOps tasks through the use of ModelKits. A short walkthrough and code sample in the article will demonstrate how easy it is to get started.

https://thenewstack.io/kitops-is-the-open-source-tool-that-turns-devops-pipelines-into-mlops-pipelines/





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