Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Survey Relation between scrum and devops.

Hello. I am looking for people familiar with Scrum or Devops. I'm doing my thesis and I need feedback on the challenges of implementing DevOps in organizations with scrum. It is a short survey and you will help me a lot! thank you!


https://forms.gle/etE3nJ2CnRL9M8gRA

https://redd.it/11q7mhz
@r_devops
how does prometheus monitor elasticSearch? e.g. if I want to alert on a host publishing a certain event

hi, I've got winlogbeats shipping to ES, Prometheus scraping some sites and I'd like to get Prom scraping ES, so I can alert when one of my hosts e.g. publishes a low disc space event (2016).

I'd expect my es:9200 host to have a /metrics endpoint, but it doesn't (neither does my kibana:5601 port). So, please can you tell me how this fits together?

https://redd.it/11qavu6
@r_devops
MacOS X Linux

Hey everyone!

I'm trying to move from a Data Engineer role to a DevOps role and of course I've been studying it on my own for a while now.

The thing is, I currently have a Mac M1, do you guys think it's better to have a Linux based machine for studying DevOps in general?

And yes, I did try using VMs but VMs in general are really bad in M1 chips still...

https://redd.it/11nkxyv
@r_devops
Pipeline Bitbucket

Good evening! Can anyone give me a hand?

I'm trying to create a very basic pipeline (yml file) in Bitbucket that, when a Pull Request is approved and merged from the platform, the pipeline runs and reflects the changes from the repository on the test server and restarts the APP (I have a Ubuntu Droplet on D.Ocean).

Assuming that the repository variables are created and everything related to the connection between Bitbucket and the Test VM is OK.

This example to create and copy a file works:

pipelines: default:

\- step: name: Testing Host script:

\- echo "test" >> test.txt

\- scp test.txt $[email protected]:./

But it doesn't work when I try to do these steps:

1. Connect to the Droplet
2. Enter the APP folder
3. Execute Git Pull
4. Restart the APP with pm2

Example yml file:

pipelines:

pull-requests:

'**':

\- step:

name: Update & Restart App

script:

\- ssh $DROPLET_USER@$DROPLET_IP "cd app_folder_name && git pull && pm2 restart app_number"

This is an example of what I'm trying to do. I've attached a screenshot of the error:
https://ibb.co/NmQpY4B
I'm sure this is not the most efficient and organized way to do those 4 simple steps. I appreciate your time and reading.

https://redd.it/11najha
@r_devops
Update: I unstuck my career

A month ago I posted that I was a part of a sinking ship startup and wasn't getting any traction with other startups in terms of interviews. A lot of my experience is "old school" like running and tuning non-containerized linux infra. It turns out my experience in government has very good overlap with large enterprise. Ended up getting an amazing offer from a F100, will finally crack 200k TC. Also I announced I was leaving my startup 2 days before SVB collapsed hahahaha.

https://redd.it/11qfeqg
@r_devops
Thoughts about Honeycomb?

Anyone here using Honeycomb.io for tracing/APM? I'm trying to do some due diligence on it. Curious to hear what you think of the product, and what you particularly like and dislike.

https://redd.it/11qh2t8
@r_devops
A devops CTF?

Fancy breaking out of a Jenkins job and owning the entire Jenkins system? All from your browser.

How about taking over a kubernetes cluster, or escalating your privilege in aws?

We've got just the challenges for you over at https://punksecurity.co.uk/ctf

The PunkSecurity birthday CTF is happening May 4th, but for those on the mailing list you'll be invited to early access trials next week for a chance to win an official Punk Security Limited flashy badge!

It's free, completely. I run a DevSecOps company and we want to celebrate our birthday with everyone by making and sharing awesome puzzles.

We will have prizes etc, but mostly it's just about having fun and learning how not to do DevOps!

https://redd.it/11qfq0q
@r_devops
Which features do you miss the most in the free version of GitLab?

Howdy fellas!
I wonder, which features do you guys miss the most in the community version of GitLab? Is it even worth subscribing at all, and if so, what features would make subscription pointless?

https://redd.it/11qjt47
@r_devops
Prometheus and Grafana

Hi all, any courses on Prometheus and grafana? Introductory of course. Looking for recommendations just to get me started, running it locally, playing around with data, etc. I want my team’s kubernetes clusters to be more visible, having dashboards is ideal. Any recommendations? Even if it’s a great YouTube video that’s helped you out.

https://redd.it/11qn5fg
@r_devops
How we deployed PostHog on Kubernetes

Last month PostHog announced that it was sunsetting support for it’s platform on Kubernetes. It’s not surprising considering how many moving parts users need to figure out when self-hosting the application. The timing for us was coincidental since our engineering team just spent a large chunk of time figuring out how to add it to our marketplace for our users. We thought it would be a great time to outline how to self-host PostHog on Kubernetes (and how our engineering team went about adding the application to our marketplace for users to deploy the OSS application on Kubernetes without the complexity.

https://www.plural.sh/blog/how-we-deployed-posthog-on-kubernetes/?utm\_medium=social&utm\_source=Reddit&utm\_campaign=posthog

https://redd.it/11qka8b
@r_devops
Who got a Devops gig w/o production Kubernetes experience?

I'm experienced mainly in a lot of different Azure PaaSes, Terraform/Terragrunt, Azure DevOps, and Ansible and PowerShell. I've only done some basic Kubernetes troubleshooting when the Kubernetes guy didn't understand some fundamental stuff. I'm looking around and almost all the DevOps positions require Kubernetes experience. Right now there's zero % chance of dealing with Kubernetes at my current job. Am I screwed? Sometimes I feel like the companies needed Kubernetes want it but really don't need it since they aren't scaling due to demand. It's probably more of a convenience thing at that point. I feel screwed right now... :(

https://redd.it/11qncz8
@r_devops
Crossplane throttling my control plane

I’d love to use crossplane for IaC, but when installing it in an EKS cluster (v1.25), the control plane API hits the rate limit. What can I do to stop that? Can I “auto scale” the control plane?

https://redd.it/11qp3m4
@r_devops
Most important lessons learned in the trenches

A lot of knowledge that a person acquires from their work experience is often not transmitted successfully to other people. In a field like DevOps where there is still a lot of innovation ongoing and there are no established or agreed upon procedures for accomplishing tasks. Given this level of volatility, what are timeless kernels of knowledge have you acquired in your work experience that you would like to impart on others?

https://redd.it/11qtrl8
@r_devops
My poor man's server setup you might laugh about

Insight into an unglamorous server setup from a devops perspective.

I'd love to read your thoughts on it!

https://redd.it/11qks87
@r_devops
Monorepo CI Pipeline with Argo Events and Argo Workflows

We started our k8s journey several months ago. In the past month we have started deploying some apps to the dev cluster to get a sense for how this will work. One of the devs has been working with me on this. He compiles an app, I build an image, push it to the registry, and deploy it in the cluster. After doing this manually dozen or so times we agree we need to build a CI pipeline to automate as much of this as possible.

We are going to build a CI pipeline using Argo Events and Argo Workflows. We have done some of the work. We have a webhook setup from Bitbucket to trigger a Workflow of Workflows pattern. We just have a couple of steps so far, but I've been thinking about the app repo, which is a monorepo. We have talked about breaking that out into multiple repos, but we're going to stick with the monorepo for the time being.

I'm thinking about how this could work with a monorepo. I have a couple of rough ideas. I thought I'd throw them out here and get some feedback. First idea is to do something with git diff to determine which directories in the app code repo have changed and deploy those to the dev cluster on each commit. Not sure how versioning would work in this case. Second idea is not automating the process fully, but instead manually submit the CI workflow as needed and use intermediate parameters with a drop down to select the app to deploy.

https://redd.it/11qw0bv
@r_devops
are you interested in an end to end queue/pubsub & worker platform

Hello,

I'm currently thinking of building a service for an end to end queue/pubsub & worker platform with emphasis on the platform rather than simply queue/pubsub backend like sqs, confluent etc,. I'm thinking of push based subscription to have a unified contract for workers and service to service calls i.e use http/grpc for both service to service calls and for workers.

push based subscription has a lot of usecases compared to pull based subscription like canarying, elastic scaling, common operating semantics with http/grpc service.

I built a similar platform for my org, but I'm not sure how much value a managed service would provide for other organisations and would you be willing to buy such a service and why(what problems do you see in your current platform)?

Thanks

https://redd.it/11qqp3z
@r_devops
is it possible to disable the echolock feature/software of my pc?

my previous company decided to leave me the PC i used for my work from home setup after i resigned. however, they never got back to me with disabling the echolock system they input in it.

on echolock:

“echolock improves time on the system and enhances enterprise productivity by: Tracking login adherence and presenting dashboards on the reasons for time spent away from the system. Enabling accurate determination of productive and non-productive tasks(apps and website)”

is it possible to disable this? it would be really helpful for me so that i can freely use the PC. thanks!

https://redd.it/11qyace
@r_devops
To DRY or NOT to DRY! Github Actions Version

Hey everybody,

As the DevOps engineer for a startup I'm responsible for the deployment of the microservices that we have.

I've started to create a generalized pipeline (Reusable Workflows Github Actions) that works in all microservices and that works nice, until.... I wanted to try Semantic Releases for every microservice.

So this is where the DRY is not helping... I've created the Reusable Workflow with the intention of not repeating and if there was something that i wanted to enforce( like SonarQ or security practices etc) i would implement in the main workflow and all pipelines will have the change. However i'm not seeing as an advantage right now having in mind our goal, which i explain just below...

The goal is to have only master branch deploying to development and then creating releases both for sandbox and production. I'm having some struggle in visualising the semantic release in the reusable workflows... Is it even possible?

Do you have a better approach? Or know a better way?

https://redd.it/11r0m56
@r_devops
Help designing authentication implementation

I’m not sure where / how to implement auth. I would like it so that a user can login with Google on my frontend.

I have a frontend running SvelteKit, a backend web API hosted elsewhere running Rust (Axum framework) and a MySQL database hosted elsewhere again.

For now, performance is not a concern. I just want to implement secure best practices, enabling users to login to the frontend with their GitHub / Google accounts, and keep the session alive.

Can you please guide me how to implement this?

Thank you for your help 🙏

https://redd.it/11qzzzp
@r_devops