Reddit DevOps
270 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
What does the structure of your engineering or development team look like (i.e job titles/role responsibilities)? Ex. Does it include QA Testers or are they a part of a separate QA team? Which team would your SRE(s) fall under?

Trying to do conduct some DevRel research for the company I recently started working for, and would like to better understand the internal structure and dynamics of software teams. Any insights you could provide me would be great. Thanks!

https://redd.it/qvige2
@r_devops
How would you manage this problem?

Hi. I am part of a team and we are currently working on migrating old stuff and deploying new services to kubernetes. The problem is we are terribly under capacity, so many teams and different services moving their stuff to K8S and we are accumulating a lot of technical debt because time pressure.

We also have the problem that once we start a project it is never ending. There’s no sense of closure or (iterations). Every single day is a ping from someone asking to change or tweak something. (Multiply this by 10). So the work keeps accumulating, everyone wants to change stuff, try something new and we have no time to do things right or develop improvements.

Quite frankly I am already annoyed and burnt out. I’m my previous company our SRE team had a product owner, our backlog was properly prioritized and teams wanting to do stuff would go through that process first. That allowed us to allocate the right time for everything. But now the work is so unorganized, developers think they can dispose of us for anything anytime and we’re stuck with unrewarding work because everything is improvised.

How would you fix this problem?

https://redd.it/qvwca9
@r_devops
Are there any reasons to choose VMs over containers?

Most of the pros and cons give the weight as to containers as better than VM, and it makes sense. But are there any use cases where using a VM makes more sense?

https://redd.it/qvzrkm
@r_devops
First Junior SRE interview tomorrow, need help

I somehow lucked out and got set up for an interview for a JSRE position tomorrow.

What should I expect from the interview process for a junior site reliability engineer? I'm passionate about the position, but with only 8 months of system engineer experience and a few years of scripting (cmd, powershell) experience, I am worried that I will fall short on the technical side.

I've read the phoenix project, and I'm currently reading the Google SRE handbook as well. It's all really interesting to learn and think about, I just don't have much experience. Is there a best way to approach such an interview, or what would generally be expected for a Jr SRE to know?

https://redd.it/qw47bq
@r_devops
Is this normal for a junior position?

I started as a sysadmin and I'm currently working as a "Sysadmin that writes all the automation" role.

It was established that my experience knowledge lays around: linux, python, bash, ansible, puppet, docker, automation - and that I'm not very familiar with k8s/helm etc..

Earlier today, I interviewed for a Junior DevOps position, and just recieved an this assigment (And yes, I noticed it has tons of typos).

The company itself seems really good but I'm not sure what to do about this assigment. I was given 5-7 days and the email said it should take no longer than 4-5.

I understand everything I'm requested to do (apart from some poorly phrased sentences) but some of these things requires a lot of learning to do properoly.

Does this seem reasonable? Is this normal for Junior (or even experienced) DevOps to get such an assigment?

Thanks ahead!

https://redd.it/qw3vso
@r_devops
Personal project ideas for GitHub/resume?

I'm working as a DevOps engineering intern right now and loving it. However, I want to work on some skills/projects in my free time that I can use in the future as part of my resume and on my personal GitHub to show my work. Anyone know where I can get ideas for projects I can do?

https://redd.it/qw6232
@r_devops
The current job is great, really, but I don't do any programming. How screwed am I for the next job search?

The next level up for me is the $200K+ senior bracket working remotely in a MCOL city. I work with Terraform, Kubernetes, and GitLab on a daily basis, but I don't do any programming, like with actual Python code, on the job. I know Python from previous gigs and have open source contributions but can feel my chops getting rusty. What would you recommend to stay up-to-date for when the next job search comes around? I'd like to avoid leetcode and the jobs that require it if at all possible.

https://redd.it/qw9axp
@r_devops
I'm having difficulty learning Go

Landed my first ever role as an SRE back in February. Previously I was a Networking and Systems Engineer in your traditional Enterprise, MS heavy (but not exclusive) environment. This new company took a chance on me and introduced me to the world of kubernetes, docker & CI/CD.

I already had a bit of python knowledge going in - but reinforced it by buying more books and doing the exercises in each chapter and all that jazz. Same goes for learning the fundamentals of kubernetes, docker, Git CI and Argo CD. I primarily use python or bash when i'm implementing automation - and although I'm no elite programming hero, the scripts get the job done and I try my best to keep my code clean. I did a rather heavy amount of ansible at my previous jobs - but most of it dealt with networking equipment and deploying out services to *nix machines - not nearly as expansive as the playbooks i'm writing now.

My boss asked me if I'm willing to learn Go. Of course I am. I'm willing to learn anything - but I'm having a tough time with it. It's so different it's hurting my head. I spent two days just trying to understand how the hell pointers work and even now I still don't think I've quite grasped the concept of it.

When I was learning python, the first book I read and went through was No Starch Press's Python Crash Course. That book was awesome, and very well written - and I picked python up relatively quickly and was able to write really handy scripts within a few weeks.

Not so with Go. I first picked up The Go Programming Language. First chapter almost made me want to cry. So i decided to dumb it down and get O'Reilly's Introducing Go. This book is significantly better, however it tends to gloss over some things that I feel need to be explained a little more for me. I kinda need hand holding with stuff like this. I never went to uni for CS. I went for Engineering and that was a long time ago. Are there some other books I haven't discovered yet that could take me through Go as if I was a complete idiot?

https://redd.it/qwe7uz
@r_devops
What is the easiest or best way to get my Django/React portfolio app online?

Major noob questions here. I....need help.

I've gotten the Django side of things covered and deployed, but it's my first frontend React app and I'm struggling a bit. I'm trying to host them both in a Digital Ocean droplet to avoid having to deal with CORS and CSRF complications. To be totally honest I was hoping I could just run `npm start` instead of building the thing because I'm new to react -- I willingly invite the vitriol this will invite. In fact, I think that 'npm start' is so (appropriately) inefficient that it's eating up all of the ram of my thrifty little $5/month digital ocean droplet and crashing. I desperately also tried heroku and some digital ocean 'Apps' service to no avail. My next step is probably just finding the absolute most responsible way to deploy a React App instead of this chickenshit approach, but again, the CORS and CSRF stuff is waiting to bite me in the ass if I deploy the React side separately from the Django backend.

I picked up docker today and I actually got Docker Compose working locally, but it freaks me out to add a MYSQL client to docker-compose, as configuring a MYSQL server is a bit of a reach for me to begin with. I am totally willing to invest in becoming stronger at Dev-Ops, but I just haven't focused on it much yet.

Essentially, I worked on this thing hard for two weeks and I haven't really left myself enough energy or focus for the deployment side of things. I could ration some time to getting it done right and really understanding Docker, and how it works with React and Django, but I'm not even sure -- might be overkill. I'm super worn out after gnawing on this all day. I'll wake up tomorrow with more initiative and intentionality. I am very open and interested to hearing any perspectives you experiences dev ops may have, thank you!

https://redd.it/qwf6im
@r_devops
How did deployment look like before Docker and Kubernetes?

Hi friends,

Just curious, what did deployment (and DevOps if by another term) look like back in the day before Docker and Kubernetes? Tried to Google for answers but all articles point to some third party Kubernetes/Docker services or bloggers so didn't really help.

https://redd.it/qwf0ll
@r_devops
Concept for an app/platform - code it myself or hire right away?

Hey everyone,

I have a very concise idea of an app I would like to create, very simple user input, small size, some social media elements. I know Python (background mostly in web automation) but I have not done anything in Kotlin yet which I would like to go with because of nativity on Android and the option of using a KMP to ideally make it less of an effort to deploy it on iOS.

Now I'm wondering: Should I build a first version on my own or hire someone right away to do it? I enjoy coding but I am sure it would take me longer than someone who knows his/her way around better; also because I do enjoy directing overall working processes and want to focus on that more (i run my own business with a few employees).

In case anyone has experience in this field: What would you recommend?

Thanks in advance!

https://redd.it/qwn83o
@r_devops
Install a Kubernetes cluster on Hetzner in 5 minutes (7X cheaper than AWS)

Having an out-of-the-box Kubernetes installation can be a big hassle, and I couldn't find a good step-by-step tutorial to set it up until I discovered this open-source project by u/Vitobotta.

I wrote a full article that goes over how to create a cluster using k3s on Hetzner – and how to set up monitoring.

The cluster has one master node and 3 worker nodes, for a total of 12 vCPU and 48 GB of memory – with a monthly cost of \~$54 (while the same config on AWS is $407).

You can read the full article here.

Any feedback is welcome :)

https://redd.it/qwpsna
@r_devops
Looking for a simple, managed cloud provider with CI/CD

Hi folks!

I've worked with the big clouds like AWS, Azure and Google and they're doing a great job, but I'm now **looking for something more guided** and limited.

The options of the big clouds are a bit overkill, depending on the user. As far as I know, Heroku and Digital Ocean are more what I'm currently looking for, but I'd like to get some more **recommendations from you guys**.

Some requirements:

* CI/CD (take source from GitHub and deploy automatically)
* Virtual machines (not managed)
* Managed apps (like AWS Elastic Beanstalk)
* Container (Docker, ...)
* Managed databases
* Highly scalable
* Enterprise support

Any recommendations?

**Thanks** in advance!

https://redd.it/qwqdl7
@r_devops
BLOG Unpacking Observability: The Observability Stack

I am sharing this article prepared by my colleague at Tucows that gives an overview of the Observability Tech Stack. The post is the second piece in their "Intro to Obersvavility" series.

Link here: https://storiesfromtheherd.com/unpacking-observability-the-observability-stack-93d4733e2a72

https://redd.it/qwsf0n
@r_devops
Why use the Docker image and Azure Registry, and not just deploy to Azure App Service?

what would be the advantages and disadvantages

https://redd.it/qwwwxf
@r_devops
Just wondering, career question(s).

Hey everyone, to cut straight to the point: I’m 25 years old and currently in IT support (entry level). My goal is to eventually become an infrastructure engineer / SRE.

How long would you say it would take someone to get from an entry level support job to at least a Junior Infrastructure Engineer?

How much would you say I could accomplish in five years time? I know this is super subjective, but yeah.

Every time I scroll this sub I always see comments full of people talking about the intricacies of all these technologies etc, like how did some of you even get to that point?

https://redd.it/qwx2ur
@r_devops
Github actions - How to compile .scss files to .css files?

Hey all,

When I try to compile it, I am receiving this error in github actions:

Error: /src/scss/main.scss: no such file or directory
at Object._newRenderError (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:2203:19)
at StaticClosure._renderSync (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:2004:18)
at Object.Primitives_applyFunction (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:6525:30)
at Object.Function_apply (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:13852:16)
at _callDartFunctionFast (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:15558:16)
at Object.renderSync (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:15536:18)
at build_CSS (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/index.js:122:28)
at Object.<anonymous> (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/index.js:167:5)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10) {
formatted: 'Error: /src/scss/main.scss: no such file or directory',
status: 3
}

Here is my main.yml, I am following[Sass Build Action](https://github.com/marketplace/actions/sass-build#quick-start) as the template to convert .scss to. css.

build:
runs-on: ubuntu-latest
steps:
- name: Compile CSS from SCSS files
uses: gha-utilities/[email protected]
with:
source: /src/scss/main.scss
destination: /src/scss/main.css

#deploys to heroku
- uses: actions/checkout@v2
- uses: akhileshns/[email protected] # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "ga" #Must be unique in Heroku
heroku_email: "[email protected]"
- name: Compile CSS from SCSS files
uses: gha-utilities/[email protected]
with:
source: /src/scss/main.scss
destination: /src/scss/main.css

Here is my project directory

.github
-> workflows
-> main.yml
src
scss
-> main.scss
-> main.css (untracked in git, and is used locally)
package.json

From my understanding, main.yml starts with the directory level of package.json. Thus, why is it giving out the error?

https://redd.it/qwz5r6
@r_devops
How you decide, if Scale Out or Scale up, your app ?

what is the approach for one case or another thank you very much

https://redd.it/qwwisc
@r_devops
GitLab Runner Infrastructure

What approach do you guys use for hosting GitLab runners?

I’m building out test automation infrastructure. I have the test runner in a docker image. Mostly web based GUI and API testing, with quite a bit of GUI testing that takes a while to run. (I know API>GUI testing but I work on large project with large distributed team, I can’t control everything)

I have a static EC2 image that handles jobs sent from the test pipeline. The tests run in parallel in a number of separate containers.

I’m fairly new to DevOps and not sure how to scale this up. My boss suggested a kubernetes cluster which from the sounds of it can do all that and a lot more. I’ve seen ECS and autoscaling EC2 groups in my research as other possible approaches. Any guidance or words of wisdom for a novice?

https://redd.it/qx49xs
@r_devops