Reddit DevOps
269 subscribers
4 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
How push and pull-based communication architectures are used with synchronous and asynchronous services

Hi all, I spent some time writing up a guide to using message queues and streams especially on AWS. Would appreciate any and all feedback: https://yehudacohen.substack.com/p/a-comprehensive-guide-to-communication

https://redd.it/ygxno3
@r_devops
Network engineer or Devops engineer

I have a Masters in electrical and computer engineering. I have more of my background in controls(5years) and currently working as a controls engineer. I have lost interest in my field due to two reasons extra long working hours and having to stay away from family either due to long travel or working at remote locations.

I have a little bit of IT background as well with my coursework. I have build up an interest with some of my research and also because my friends work in the same fields. I started networking with learning CCNA for certification but for some reason i feel more interested in Devops, maybe also because my wife works in Devops.

It’s not a random decision. I want to give my proper time and learn the skills needed. I thought networking would be more aligned as I had taken some coursework.

I know I have to go through a lot of prep and build up my skills. I want to know what career would be good for long term. How successful can one be and how long is the road to being comfortable. Also, in terms of pay and work life balance.

Thank you!

https://redd.it/yhk4mv
@r_devops
Difference between DevOps Engineer, Site Reliability Engineer, Cloud Engineer, Software Engineer - Infrastructure, Platform Engineer?

What is the difference??? I am so confused.

https://redd.it/yhlwq6
@r_devops
What are the biggest issues faced by DevOps/DevSecOps developers?

I'm curious about the biggest pitfalls that DevOps engineers experience right now. I would love to know your tech stack and the specific issues you face at a production level. I'd be especially interested to hear from the senior engineers out there.

https://redd.it/yhmz89
@r_devops
[Q] I can't make work Drone CI secrets (type docker) - Extra: sometimes Drone doesn't run the CI

Hi everybody!

I'm new with Drone and I'm trying to figure out how it works.

Their documentation seems to be a little poor or outdated.

First I setup the secret called "secret_name" in the Secret Drone section in a repo called "test-repo".

Then I commit the "test-repo" with this `.drone.yml` file in it:

---
kind: pipeline
type: docker
name: Drone YAML CI testing
steps:
- name: test_drone_docker
image: alpine:3.9
commands:
- echo "show hello world by drone"
- echo $(pwd)
- echo -e ${user}
settings:
user:
from_secret: secret_name

And the result is the following:

latest: Pulling from library/alpine

Digest: sha256:bc41182b7ef5ffc53a40b044e762933bc10142b1243f395ee852a8c9730fc2ad

Status: Image is up to date for alpine:latest

+ echo "show hello world by drone"

show hello world by drone

+ echo $(pwd)

/drone/src

+ echo -e

What am I doing wrong or miss?


---


EXTRA:

I've Drone integrated to my Gitea instance and sometimes after a change, Drone CI never starts. It's like don't see some commits.

For example:

`git commit -m "Change readme.md"`

`git push`

Task #1 runs ok

`git commit -m "Add a line to readme.md"`

`git push`

Here the task #2 should run, but nothing happens.
Any idea?

It's Drone a little buggy or I just am I using it in a wrong way?

Thanks!

---

Drone image docker version: `drone/drone:2`

Drone runner version: `drone-runner-docker:1`

Gitea version: `gitea/gitea:1.17.3`
I've drone installed with Gitea

https://redd.it/yhmbwn
@r_devops
should i go for it?

I have 10years of experience in support/devops/infra, this is for sr. Devops role i have a final system design round pending. This is my first time in career giving a SD round. If i tell the panel that this is my first time for sd round. What message does it conveys? Would like to hear your thoughts

Edit: adding one more question

What smart questions i can ask the panels(2 members) at the end of interview. If selected they will be my future team-mates.

I thinking to ask below questions:

What traits you are looking in a teammate?
What does the regular day at work look like?
Of all my skills which is the most important for the role?

https://redd.it/ygrvke
@r_devops
DevOps Engineers / SREs / Cloud engineers / etc... what does your day to day look like?

Title. What is your typical day of work look like?

https://redd.it/ygq3yn
@r_devops
Identifying Best CICD Solution

Long time sysadmin here, but just recently moved into a DevOps position. I've been asked to research, and ultimately, select a CI/CD solution. There is a whole lot that I do not understand about our environment, but the gist of it is that we are running multiple AKS clusters of fairly large sizes (about 4000 cores in total). The main devops tools that we use are Helm, Flux, and Terraform.

Naturally, I was thinking of gathering requirements as a starting point. Some CI/CD solutions are being suggesting during discussions, such as Jenkins, GitHub Action, Azure DevOps... but I am unsure how I should go about determining the appropriate solution for our use case. Any tips on how I should go about?

https://redd.it/yfw6d0
@r_devops
How-To: Managing my personal server with Kubernetes (k3s) tutorial

Hello,
Wanted to share with you my guide of how I manage my personal servers since I have updated it with my feedbacks from 2 years of insights.

https://github.com/erebe/personal-server/blob/master/README.md

Hope you find it enjoyable

https://redd.it/yi4d1u
@r_devops
Noob question about autoscaling in Kubernetes

I'm interested to know whether there's an out-of-the-box solution out there for the requirements that I have. I'm new in this field, so I might make some wrong assumptions, please be patient.

Application will run in a Kubernetes setup.
It needs to be able to start websocket sessions for the user on demand, with as little delay as possible.
These sessions need massive amounts of memory, sometimes up to 64Gb or more (think video editing app for a point of reference).
The lifetime of the sessions can exceed a day.
Given the size of the instances needed, it'd be ideal to have as few/small instances running as possible.
At any given moment, there are multiple sessions running, never zero.

The custom solution that I have in mind so far, is to manually "autoscale" a few k8 pods with very high memory (128gb or more), and assign sessions to these pods as they get created, and once the demand lowers, kill the pods which don't have any session assigned to them. From my experiments, creating a pod per session isn't feasible due to longer startup time, and cost of spinning up multiple large pods versus spinning up a single very large pod.

I'm certain it's not the first time this type of problem is being tackled, and I'm interested to know what solutions are available, and what mistakes I'm making in defining the problem.

https://redd.it/yi97eu
@r_devops
Literal DevOps? Run your README.md like a notebook

Created an open source tool to get ahead of bit-rot by regularly executing command blocks in your markdown alongside reading thru your markdown-based docs:

👉 https://runme.dev/

Curious to hear what you think!

https://redd.it/yid7cc
@r_devops
CTO wants crystalized plan for reducing cycle time this week. Need advice on things that won't use a lot of budget.

Some context: Came up through a full-stack coding bootcamp and was sort of the agreed upon replacement for my dev manager who left in 2021. I've gotten to where I am being good at coding and got the promotion by being liked by my coworkers.

My employer got a new round of funding in the summer and it's meant the founders brought on a CTO who is from a much larger company and is slightly intimidating.

He's tasked the 3 dev managers (including myself) to come up with concrete plans to improve our cycle time by EOY.

I'm assuming a lot of understanding of this stuff would come with a CS degree, but given how I came up I don't really know. Also, lots of pressure to do this with asking for a bunch of money.

Any and all tips on how you're handled similar situations are more than welcome.

https://redd.it/yigsez
@r_devops
Age of Devops Engineers

I was chatting on another IT subreddit and mentioned the youngest Devops Engineer I have personally seen is around 30. They have always had at least 5 years sysadmin, or dev experience, and proficient in powershell, python, Linux, or cloud before they became Devops.

That got me thinking. How old are you guys? What have you seen?

https://redd.it/yij0sl
@r_devops
Question Nerdctl vs Docker?

I have containerized a webapp for my first deployment. I use a Mac M1, and I am deciding between Nerdctl or Docker.

Unfortunately, both docker-compose up and nerdctl compose up are able to start the webapp locally. I say "unfortunately", because now it means I have to choose which one to use.

I'm leaning towards Docker because it has more users, but I've heard about how Nerdctl runs rootless by default.

Should I just flip a coin on this one, or is one preferred over the other?

https://redd.it/yigbpe
@r_devops
teamcity project always shows a red light despite the latest build was successful

Hi, one of my many build definition always shows a red light, even though last three builds have been successful, it has been like that since I took over, it doesn't affect anything but it just bugs me to see a red, it ruins my all green visual. Can anyone help please?

https://redd.it/yimd3g
@r_devops
Its Halloween, whats your DevOps Horror story?

I once deleted a table with cascading enabled on production first day at a new job :D. We got to test out our backups and what accounts could do what that day.

https://redd.it/yiqk4i
@r_devops
Generating Kubernetes templates

What do you folks do for generating K8s templates to deploy the apps? We currently have a custom tool that takes input from developers and generates templates.

But, I would like to use any open source tools that will fill this gap. We used Helm, but didnt like it (this was before my time). I see Kustomize as other alternative that we may try out.

What tool do you use for this?

https://redd.it/yiqhbr
@r_devops
Can you pass all env properties from one job to downstream job in Jenkinsfile?

Basically the question from the topic. Can you pass all of the current job's env parameters to a downstream job in a stage?
If so, how and how can you obtain all of them in the second job's Jenkinsfile?

https://redd.it/yixyd4
@r_devops
Scan Jar file for vulnerabilities

I have some Jar and War files distributed by a contractor for running in a classic Jetty application server scenario. This archives are not containerized for now.

Typically I would scan container images by external vendors with trivy. I also suspected that there are issues in the Jar archives and I want to test them too.

I there a way to scan raw Jar archives for vulnerabilities?

Putting the files in a container and then run trivy does not work because trivy does not detect them for any reason.

https://redd.it/yj1zfg
@r_devops