Reddit DevOps
269 subscribers
2 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
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
CI/CD Pipeline example for Homelab

Hi all

I am looking to find a pretty typical example of a ci/cd pipeline that I could implement in my homelab. I am about to start learning Rust and wanted to incorporate my lab into it somehow.

Something that is pretty standard for the industry to get as close to the real thing as possible.

Just starting out, so any help would be awesome!

https://redd.it/113v8cv
@r_devops
Data-driven decisions in OSS helm-dashboard

How to make decisions in OSS?
TL; DR - ask the users: https://docs.google.com/document/d/1E-gIa-EV7i3qrfajoIYYOCY18usvSeNyIdB9lREc0kw


Helm dashboard (https://github.com/komodorio/helm-dashboard/) is my first big open-source project, and during the last couple of months, we at Komodor have consistently been working on improving it (We released a GA and got 3K stars in a couple of months), but we were scratching our heads with the future roadmap!


The tricky part of OSS is that it's hard to know what should be developed next; we tried a couple of methods to make this work:
1. Reach directly to the users - but there's no easy way of doing so (we don't store any identifiers of who is using the project)
2. Github issues - not many people are actively opening GitHub issues, so you are left mainly with people reporting severe bugs or issues.
3. Reading about the problem in different places: Hacker news, Reddit, etc. - hard to get concrete insights.


To cope with those problems, we decided to create our first-ever user survey and ask the users and community members what they wanted (added CTA inside the product and GitHub to engage with the users).


Luckily for us, after two weeks, we got 22 answers! It might not sound like a lot, but it gives us a better understanding of where to lead the project, and it's 22 data points that we simply didn't have prior.


To make things even more transparent, we decided to share the results and the process with the community in hopes of helping other OSS maintainers.


If anyone has any feedback on the process (and the next features we should develop!) I'll be really happy to hear it :) 

https://redd.it/113wal8
@r_devops
Best Universal Date Format For DevOps Systems?

Hey!

I'm creating a secrets (sensitive information) metadata standard format to be used across multiple systems (Prometheus, Grafana, CircleCI, HashiCorp Vault, alerting tools, etc).

I'm trying to determine what date format should be used that will be able to be parsed universally.

The date standard I am leaning towards is ISO 8601.

Are there any other recommendations?

Thanks!

https://redd.it/113yaun
@r_devops
Are Terraform docs incomplete?

I'm new to Terraform and I'm starting out with Azure+Terraform. From where do I find the list of possible values that an Terraform azurerm module argument can take. For example inorder to deploy a simple Azure Web App I wanted to select a docker image from Azure container registry itself. So as per the docs it's supposed to go into the "site_config" block, but under which argument and what format , there's no example or document for it and it's frustrating. Can somebody point me in the right direction ? Thanks in advance.

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