Reddit DevOps
271 subscribers
41 photos
31.6K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Jenkins vs gitlab

Hi people. About CI/CD, I would like to know your opinion between Jenkins and gitlab, the pros and cons. Can we talk about?

https://redd.it/u4kxj0
@r_devops
Are “devops” salaries stagnating?

A decade ago if I made rhe mistake of picking up the phone when a San Francisco headhunter called I would ask for their salary range out of curiosity before I hung up, it was always $140k-$160k.

Today it seems to be $150k-$170k, unless you’ve written books or promoted the hell out of yourself on twitter.

I make almost twice that consulting on managing offshore eng orgs and would never consider a real job again, but why are salaries so low and stagnant in a city where the cost of housing has doubled in 10 years?

they would give me a $140k-$160k salary range and I would hang up.

10 years later I’m given the same salary range

https://redd.it/u4yf7k
@r_devops
How to backup and restore db on postgres?

Hi everyone,
I plan migrate db on postgres 9.3 to 13, when perform restore i have a many error, due to underscore symbol on table name, for example all tables have like _table1 etc.
Please help, how do restore db ?

https://redd.it/u4xebq
@r_devops
How does Circleci compare to github actions and gitlab

longtime lurker here... not a full time dev ops but noticed that most people prefer GitLab or Github actions... I have been using circleci for a while now... wondering if i'm missing some features staying with circleci, so wanted to get some input... We use cci to run a pipeline to k8s cluster, i can create a new cluster in few lines if needed.. also creating docker images and pushing them to registry is pretty seamless...

Whats the hive mind input on Circleci?

https://redd.it/u509au
@r_devops
is kubernetes for entry level devops engineers ?

I am self-taught and I happen to like kubernetes.
I dont have a job yet.
On last interview I was emphasised how bug kubernetes is and that there are people who only do that.
Get I get a entry level job focusing on kubernetes? Can I push it as my selling point ?
Thanks

https://redd.it/u51hf7
@r_devops
My company is starting git, how screwed am i?

Let me explain. Against my stern warnings, they are instituting an environment based system. So the Item is done on local branch, it gets merged to test. Where it gets crazy is from test to stage. They are going to cherry pick each individual item from test into stage. Never merging.

I personally am in charge of implementing this. Are we as screwed as I think we are? Will we be solving merge conflicts on every cherry pick? Should I just get it over with and shoot my foot right now?

Pretty much I want to know from people who might be more experienced than me if this is as bad as I think it's going to get? Am I just nervous and overexagerating?

https://redd.it/u54r5v
@r_devops
My company is starting git, how screwed am i?

Let me explain. Against my stern warnings, they are instituting an environment based system. So the Item is done on local branch, it gets merged to test. Where it gets crazy is from test to stage. They are going to cherry pick each individual item from test into stage. Never merging.

I personally am in charge of implementing this. Are we as screwed as I think we are? Will we be solving merge conflicts on every cherry pick? Should I just get it over with and shoot my foot right now?

Pretty much I want to know from people who might be more experienced than me if this is as bad as I think it's going to get? Am I just nervous and overexagerating?

https://redd.it/u54r5v
@r_devops
medium / small company version list of faang?

Hey Everyone,

As the subject states, I am curious if there is a "FAANG" type list for medium/smaller tech companies? I tend to enjoy the small to medium size companies (less politics more impact usually), so just curious what are companies that fall into this category?

If people are looking for some examples, I would say some medium size companies are:
Splunk, PagerDuty, Hashicorp, Slack, Atlassian, etc.

Any feedback would be greatly appreciated. Thanks!

https://redd.it/u57n76
@r_devops
Interview questions for employers

Hi /r/DevOps it's easy to find search results on google on interview questions for the person applying but I'd like to make a list of intelligent questions one should ask the interviewer to get a good feel of what DevOps looks at their company.

One I was going to ask is how does on call look at your company. Is it repetitive? Do you have a process to ensure you won't get another on call event generated for the same event?

Sorry if this was already answered, I couldn't find it anywhere.

https://redd.it/u5g156
@r_devops
Is my raise enough?

I’m heavily involved in AWS, CI/CD, and architecting and engineering solutions at an east coast higher ed (not in NYC)that’s hemorrhaging IT staff and has no concrete WFH policy. Is a 6.5% raise and a 4% bonus split over two payments good or am I being too critical? Salary now at 130k. Recruiters contact me for positions starting at 150k.

https://redd.it/u5monh
@r_devops
Need help setting up self hosted loki logging mechanism for docker containers.

I am trying to create a monitoring mechansim for our microservices. After an extensive research, I found out using prometheus + loki + grafana is the most scalable, least challenging and most maintainable solution for us since we are going in the self hosted direction.

My current problem is that while prometheus + grafana seemed pretty straightforward, I cannot add loki to the mix. The documentation is a bit confusing.

​

There are apparently two options for Loki + docker for logging.

1. Using promtail + loki for logging, and mounting docker container log files in promtail environment.
2. Using loki logging driver for containers that I want to log. (source)

The first one is not only confusing, but also way less maintainable, since I probably have to lunch a new promtail instance + config files for each time a new type of microservice is getting deployed. Plus there's this hassle of service discovery and container filtering that I have to write manually in the promtail config yaml that is daunting to say the least.

​

The second one while seems pretty straightforward if you use the centralized grafana solution, I cannot find any examples of it being done in a self hosted situation. Has anyone done this? If so, I need a bit of an explaination to how to exactly set up a very small, reproducible example.

https://redd.it/u5qd19
@r_devops
DevOps Junior, Why is BASH something I need to learn?

Good morning / day / evening!

I started learning BASH, and I know the very basics (variables, functions). But I do not know, what can be done with BASH. Why is BASH important for DevOps? I's need someone to explain (preferably someone who works as a DevOps Engineer, or has some experience at a company), what is BASH useful for. To a common young adult.. I do not have any idea what can it be used for.

Also, if you could please make it like:

Beginner: (let's me know what can a Beginner use BASH for)

Advanced: (what are some advanced things you can do with BASH)

Above Advanced: (What are some Above Advanced things one can do with BASH)

I appreciate your time, and will appreciate your effort in a well written comment!

Have a blessed day!

https://redd.it/u5tk9l
@r_devops
Minimal viable continuous delivery example repo

[https://github.com/KarmaComputing/minimalcd](https://github.com/KarmaComputing/minimalcd)
Have been working on this hope someone finds is useful for learning intro concepts to continuous delivery/devops.

It is a minimal web application with state (database) and pipelines which:

* Automatically generates releases based on semantic version for every merge into the main branch (using [intuit/auto](https://github.com/intuit/auto))
* Database migrations are [version controlled](https://github.com/KarmaComputing/minimalcd/tree/main/src/migrations/versions) and ran upon app startup
* This repository uses [alembic](https://alembic.sqlalchemy.org/en/latest/) (python) but you might use [alembic/doctrine](https://github.com/doctrine/migrations) (php), flyway/liquibase (java) - the concept is the same
* When a pull request is opened, a [preview application](https://github.com/KarmaComputing/minimalcd/actions/workflows/pr-preview.yml) is automatically built, with a url so people can view the proposed new version (you might use Jenkins X preview environments, or ArgoCD/kubernetes namespaces for this in larger envionrments)
* When a pull request gets merged into the main branch, the latest application is automatically deployed (using [Dokku](https://dokku.com/)). ([Pipeline Code](https://github.com/KarmaComputing/minimalcd/actions/workflows/deploy.yml) / [UI](https://github.com/KarmaComputing/minimalcd/actions/workflows/deploy.yml))
* You might use Kubernetes with ArgoCD (the underlying concepts are the same)
* A backup/snapshot of any database is taken pre and post each release
* Codebase is regularly automatically scanned for known security issues
* At each release a container is built and published to a container registry ([Pipeline Code](https://github.com/KarmaComputing/minimalcd/blob/main/.github/workflows/publish-container.yaml) / [UI](https://github.com/KarmaComputing/minimalcd/actions/workflows/publish-container.yaml))

​

If people like it/think it'll be useful for learning then I'd like to expand it with further examples/questions

https://redd.it/u5zqz7
@r_devops
Where are you in your career and how did you get there?

I would like to know your stories.

1) Where are you currently in your career? Please include title, company, salary range (<$100k, $100-$200k, $200k-$300k, >$300k)

2) How did you get there? Please include certs, schooling, or experience (don’t need to go to deep into experience just summarize)

3) How do you like where your career has taken you? Talk about work/life balance, stress levels, compensation, etc.

https://redd.it/u62enz
@r_devops
Internal and External APIs in the same webserver

1. Is it a bad practice to host Internal and External APIs on the same web server?
2. We have decided to do this anyway. What is the ideal way to solve this? Some options I could think of are:
1. Using different ports for internal and external APIs
2. Using AWS ALB to create rules? Not sure if this is possible.

https://redd.it/u6h2fx
@r_devops
Atlassian outage prompting moves?

With the Atlassian outages and the information that has been spread around related to their internal practices, are people looking to find alternative solutions?

My wife's company left BitBucket and moved to GitLabs but it is hard to find a good alternative to Confluence and Jira.

https://redd.it/u6jk4i
@r_devops
Getting a take-home assignment for DevOps Engineer III interview process: what to expect?

As the title says, I'm currently in the interview process for a DevOps/SRE role, and part of it is getting a take home assignment to do. I was wondering if anyone here had experience with doing a take home assignment when interviewing with a company, and what I could expect?


I interviewed a few years ago for a more junior role and the assignment was building a simple instance in AWS using Terraform, but I feel that since this role is more "senior", it will be way more complex. Maybe something like designing a complete infrastructure with app servers, load balancers, and complete AWS/GCP config. I have no idea.

Any help would be appreciated!

https://redd.it/u6x89q
@r_devops
What OS are you running on your work laptop?

I have never had the option to use a Unix OS on my work laptop at any of my jobs so far... I find this quite frustrating and I usually end up carrying out a large chunk of my work via an Ubuntu/CentOS hop-on server.

So I'm curious how common it is for IT companies to allow their users to use Unix OS distributions on their machines...

https://redd.it/u70kfi
@r_devops
What OS are you running on your work laptop?

I have never had the option to use a Unix OS on my work laptop at any of my jobs so far... I find this quite frustrating and I usually end up carrying out a large chunk of my work via an Ubuntu/CentOS hop-on server.

So I'm curious how common it is for IT companies to allow their users to use Unix OS distributions on their machines...

https://redd.it/u70kfi
@r_devops
Management always assigning epics/bodies of work to individuals instead of the team as a whole.

This is my third team I've been on now. I have worked under at least 7 managers. The way the work has always been assigned no matter which manager I've had goes like this:

Manager needs something done and either assigns one of the teams members in sprint planning or some other planning session. "X I need you to work on this" sometimes they'll say "I need X to take the lead on this". Or in one on ones they ask the person to do some work for them.

I get that this is just a management style and probably works for lots of folks. But I'm wondering if it's rare to find a manager who just throws a body of work at the team and let's them figure out how to manage it amongst themselves?

I'm not a fan of the X person is responsible for this. It tends to lead to silos in my experience.

https://redd.it/u76jn5
@r_devops
Every monitoring system has an inbox, but why isn't there a central inbox for all my monitoring systems?

Like, Sentry, Datadog, Pagerduty etc. all have an inbox view for the alerts they generate, but there isn't a central inbox. The current way seems to be dump all notifications from all these sources to a team slack channel.
Why do we think this hasn't been centralized yet?
Some points that come to mins are, maybe it would be impossible to merge notification from all these sources because of the distict nature of the notifications and different workflow that happen for each source.

https://redd.it/u7042j
@r_devops