Reddit DevOps
269 subscribers
2 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Which frontend framework do you mostly use?

I know DevOps is mostly backend but every once in a while there is a need to do some front end stuff, which frontend framework do you all mostly use?

https://redd.it/113132o
@r_devops
Creating a Platform for internal use of developers

Not sure if this is the kind of work that a DevOps engineer do, because currently the company that I'm working with is they would like us to create a platform that the developer will be using to enhance the developer experience can you provide any insight on this.

https://redd.it/112zv20
@r_devops
Why are people using Terraform Cloud? I may be missing something, but why can't terraform just be run in GitHub Actions?

I feel that for 99% of companies, a terraform runner fundamentally only needs the following flow:

1. Run terraform plan on every PR
2. Run terraform apply on merge to master/main branch.
3. Handle of concurrency by queuing multiple applies together.
4. Terraform secrets can be handled using GitHub Secrets.

I created a demo repository [https://github.com/motatoes/tfcloud-alt\] and it seems to work just fine. What am I missing?

https://redd.it/1133ktw
@r_devops
Help me understand why is MDM needed

The mid-size company I work for several years now has recently started pushing more IT management software on all employees.
We as DevOps have admin permissions on basically everything, so in my personal view, an MDM software/agent installed by the IT dept running under root only adds a potential attack vector, in case it's compromised.

I just honestly don't understand what sort of added value is there by having a 3rd party agent running as root on my MBP. If the laptop is stolen, the disk is encrypted, so I find the 'remotely wipe the disk' argument weak, and I believe you could also just do it from iCloud anyway(?)

I get the argument of treating the work computer as that, company property, but that does not explain why it's needed.
I most certainly don't need an IT support, I don't need an IT guy silently installing random crap, and having an agent running as root on my machine makes me feel as if I have a piece of malware installed.

Anyway, maybe it's just my OCD, but i'd like to hear your thoughts on this. And if you have any example for how it objectively has any benefit for me, the company or otherwise. (What problem does it solve, and/or what does it improve)

If the company trusts DevOps with permissions to wipe out entire production environments, but not to self manage a laptop is kinda bizarre imo.

https://redd.it/1134ku2
@r_devops
VPS provider with terraform support and firewall solution

Hey everyone!

I'm looking for the second VPS provider like Hetzner, which I really love for prices and tech stack support

​

Whould you recommend some besides big ones that has good support for terraform, keep prices on Hetzner level, has own firewall solution and servers are not located in US?

​

Which I should consider? Thank you very much in advance, I really stuck on this one

There are companies like Kamatera - everything is great but price x3-x4 comparing to Hetz

https://redd.it/112sje1
@r_devops
Unpopular opinion: I like ads in this sub

Whenever someone tries to advertise their product here people point them out like it's something bad, or try to find out if they have commercial intentions. Well, why is it bad?
These posts turn out to be the most interesting to me. I don't care that someone tries to make money, and here's why:

What's good in these posts is that there is an ops problem and a possible solution to it. It exposes me to either problems I haven't thought about before or solutions I can continue to think about on my own. Nobody forces you to buy any of these products, the ideas themselves are just nice to look at, and yes, even seeing examples of how people pitch those ideas so one day I might pitch my own.

https://redd.it/1138sws
@r_devops
How do you test k8s works as expected after automatic image updates?

I am setting up automatic dependencies update for some packages I use (NPM) using Renovate, and it will auto merge unless the CI is not passing. I have set up a test in CI so that I can detect failure after upgrading packages.

But for external images that I use in K8S, how can I test that they work after I have automatically upgraded them? Specifically I want to know if all nodes would run fine after an upgrade.

https://redd.it/113ahb8
@r_devops
How to handle non-existent on-boarding

Hey all,

I've recently started a new job and I'm having a lot of trouble getting going, it's been 3 and a half months and I feel next to totally useless. Their has basically been 0 on-boarding which makes contributing exceedingly frustrating, I am constantly getting blocked and rely on calling in team members for help. Ironically when I have contributed it's because other teams actually have documentation and I'm able to use it to make some sort of impact.

I get the feeling that since I'm a senior DevOps Engineer they expected to just give me tasks and have me solve them. I feel like since I'm totally new to this system, my knowledge has little to no overlap with their systems, and I'm having to attempt to educate myself entirely on my own this feels very unfair.

Really unsure how to handle this, never been in a situation where there is really 0 documentation for a system. Also 90% of it is on Windows machines which I've never used in a production DevOps environment so I want to rip my hair out all the time.

https://redd.it/113bhw4
@r_devops
Deploy AWS Lambda from S3 vs docker Repo

Was wondering if anyone had opinions on lamdas deployed from zipped code on s3 vs a docker image lambda function from ECR or Docker Hub.

The images seem quite large, but I have liked working with developers with images, so we don't have to worry about code working once deployed (at least not that much). However, the images are pretty big and take a long time to upload during the deploy step.

Anyone who has used zip files from s3 to deploy lambdas can you let me know how zipped files are organized on s3 and what has/has not worked for you?

Going to post this to r/AWS as well, since it is kind of specific to AWS.

https://redd.it/113cfls
@r_devops
what are the top 5 services - in AWS - a devops engineer must know in and out

There are hundreds of services in AWS, if we are to learn for a devops role, what are the top 5 services a devops engineer must know. It is obvious that it depends from company to company. You could say what are you top 5 services that you have used or think you should know or your company uses.

https://redd.it/112mqcm
@r_devops
Q about Salaries and Layoffs in Tech

When big tech companies are doing layoffs, are salaries a big consideration in who they layoff - or are they just laying off whole teams? The main question I have is - can you help protect yourself during times of layoffs by not being greedy with salary? In other words, if you don't push and scheme for maximum salary, will you be viewed as "a great bargain" and more likely to be kept on board?

https://redd.it/113ezrx
@r_devops
Folks who implemented Istio...

What were the big challenges you encountered while implementing Istio?

https://redd.it/113epl2
@r_devops
Questions about Devops from a curious programmer

Hello there.
I was wondering how is the current Devops jobs market (for people without university degree specifically) doing compared to programming and do you think it will continue to expand in the future?

​

My second question is what would a person that is already familiar with "syadmin-ing", deploying apps and containers orchestration (only Docker) do/learn in order to be considered a "Devops engineer"?.

Thanks in advance.

https://redd.it/112grke
@r_devops
A focused, personalized report for every Pull Request. GitHub Actions: Would you find this useful?

See the effects of your code diff, including hidden errors, app ripple effect, performance and security insights, diff coverage/

## To get the CI report you need to:

1. Push your code change.
2. Create a Pull Request with your recent changes.
3. Wait for the actions to complete and get the report inside the Conversation tab.

Sprkl for GitHub Actions - Sprkl Docs

https://redd.it/113mdud
@r_devops
No matter what I try, I cannot get reusable workflows to work using Github actions in the same Organization!

I've got two repos within my organisation (lets call them repo A and repo B).

Repo A has the caller.yml workflow in it. Repo B has the reusable.yml workflow inside of it.

I have set visibility and actions permissions for Repo B to "Allow all actions and reusable workflows" and to be "Accessible from repositories in 'Blank' organization".

I have run the caller.yml within Repo B and it can successfully call reusable.yml using it's path.

Despite all of this and knowing that they can communicate with each other, when I put caller.yml in Repo A and raise a pull request to trigger, it cannot hit the reusable.yml in Repo B.

Instead I am left with the error message in Repo A's actions stating:

`Invalid workflow file: .github/workflows/caller.yml#L10`

error parsing called workflow ".github/workflows/caller.yml" -> "org/repo-b/.github/workflows/reusable.yml@main" : workflow was not found. See `https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows` for more information.

I have tried troubleshooting this for days but I am really confused what I could be doing wrong. I have even followed the link that the error messages gives and have set Repo-B's access correct.

What am I doing wrong?

Thank you.

https://redd.it/113mx8b
@r_devops
Makefile tips: preambles & help text generation

I find myself using this from project to project so I wrote a little post on some common knowledge with `Makefile`s

There's been a return to using Makefiles (at least I want there to be/I've been seeing them more) as very nice and simple glue that works across projects.

Note that some platforms very frustratingly do not have make (cough Alpine Linux cough) and it's annoying, but easily fixed.

Of course, I'd be remiss to not mention `just`, so I did :)

https://redd.it/113mwq9
@r_devops
Learning DevOps

Hello everyone, I'm trying to learn DevOps at the company that I'm currently employed at. We are mostly trying to make the deployment of our mobile apps more automated so it's easier and faster for everyone. Let me know what are some of the best practices to achieve that. Thank you!

https://redd.it/113p8ao
@r_devops
let's talk about Networking knowledge in Devops.

How much networking knowledge should a devops engineer should have and is it something one learns as they work and one is expected to take a course and learn them. If you can even suggest a book, it'll be grateful. Remember for Devops role.

https://redd.it/113qdft
@r_devops
Doubt about setting up an ERP on AWS

Good morning I have a question for my devops friends maybe they can help me.

A customer has an ERP on a 16gb RAM 2x2Tb hosting with a Postgres database with about 90gb currently occupied.

They need to move this to AWS, i.e. set up an ERP on AWS and migrate the data from one side to the other.

They also put emphasis on backups.

I have been thinking about these 2 options:

EC2 + Odoo

AWS Smart Business

Can you think of a better option and how much would it cost?

https://redd.it/113pmsw
@r_devops
Ignore CPU requests of workloads DEV/TEST

At the moment our devs can't specify the resource requests for the workloads per environment.
So on our dev/test clusters all CPU cores are reserved and no new pods can be scheduled. But node utilization is no where near to full.

How can we let the scheduler ignore the CPU requests of the pods, so they can get scheduled without wasting money/resources by adding new nodes?

Thanks!

https://redd.it/113sekv
@r_devops
It's been 1.5 years and I feel like I've grown very little as an engineer?

This is my first role out of college, I graduated smack in the middle of the pandemic and had been applying for 6 months before getting this role so I had to take it. After 18 months I've began to regret not waiting it out for a more SWE related position. I am currently in a junior DevOps role at a bank and while I'm able to complete the majority of my tickets I honestly hate my work, my standing on my team and my confidence in myself as an engineer.

There is little to zero documentation on any of the processes, meanings, why or what's of our systems. What does exist is usually put together awfully and is not indexed correctly meaning I can't even search for information I need without asking a senior or mid-level engineer every time and I hate doing so. It's been 18 months I feel like I should have a better understanding of all this stuff than I actually do. We work with Kubernetes, OpenShift, Docker, Jenkins, etc. but I still cannot tell you what exactly all these things do in conjunction with one another. To make matters worse I was originally hired to do programming related work but 1.5 years in now and I haven't coded a single thing. My work entirely consists of YAML files basically and I've gotten incredibly rusty with my programming skills. LeetCode Easy is giving me problems level of rusty.

In addition my company has fired or had quit 4 different mid or senior level engineers in the timespan since I joined and 2 of those were people who were immensely helpful to me at the beginning of my stint. The remaining mid-level and senior engineers and those who have been hired since barely interact with me no matter how much I try. I will message the lead engineer for the team with questions or things to review and he will just leave me on read. The junior engineer prior to me who was in my role also left within 6 months of joining the company....

I have my performance review coming up in a week and am lost. I am individual contributor on the work that is assigned to me usually and don't require much help but on things I don't know of that are larger tickets there is nowhere for me to go to find information. This role has stunted my abilities I feel like and I wish I never started out in a DevOps role. I have zero idea if my review will go well or if I'll be placed on a PIP, this is my 7th manager in 18 months as well and the first manager to actually have worked on the same team as me even though he's been gone on vacation for 12 out of the 17 days since he's been assigned to our team and as my manager. What should I do? The pay here is nothing crazy either in a HCOL area. I don't feel like I'm growing professionally or financially.

https://redd.it/113tidy
@r_devops