Reddit DevOps
268 subscribers
2 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
dotnet Docker Image SonarQube Scanning

Hi Guys,

Anyone here have already used docker image for dotnet sonarqube scanning?

If yes then can you please share the realiable docker image to scan dotnet projects and how it works. Thank you!

https://redd.it/11497u5
@r_devops
Datadog: why is it so popular?

My org is (finally) getting serious about observability and pushing an SRE mindset. I hear Datadog’s name come up A LOT, but not as much New Relic or Dynatrace. Not really looking for a comparison since we’ll evaluate the leaders in this space. But I’m curious what makes Datadog so much more popular? TBH, I think I was more wowed by others when they gave their demos. Is it their marketing? Are they at all the trade shows? Are the cool kids using it?

https://redd.it/114d0an
@r_devops
How to manage versioning of dockerized application ?

are there any tools just for maintaining the version of the application, we are using Azure devops for ci/cd and application is also hosted on azure servers.

Also is it a good practice to change the docker image tags from staging to production ? my manager wants to keep the latest tag of all the images for staging env but wants to change it to certain versions(different images with diff tags) when moving to production ?

https://redd.it/114dkml
@r_devops
Deploying Laravel with Docker, Nginx, Let's Encrypt SSL and Supervisor

Hey redditors! Help Needed!

I am very new to containerizing approach of deploying applications. I am trying to deploy my Laravel app to Azure using Docker and ACI. I couldn't find any well explained articles or articles matching my requirements of deployment.

I am actually trying to setup a proper DevOps pipeline, with sequence being: I push my code to GitHub, Run GitHub Actions, Build Docker Image, Push to ACR and Pull in ACI.

I attempted to build the Laravel docker image in my local environment with Nginx and Supervisor in a single image and it works well. But now I want to use automated Let's Encrypt SSL in my Nginx server. If I rebuild the image every time requesting a new SSL certificate for my server with `certbot` that wouldn't be a right idea, right? So, what is the best way to do it?

https://redd.it/114e3z8
@r_devops
Sagemaker for production services? xpost from r/aws and r/dataengineering

I need to spin up Sagemaker resources (which ones exactly TBD) for the ML folks on my team. They will be building out a new backend service that will be plugged into the rest of our application stack. We'll likely run it inside an ECS cluster on GPU instances. . .

However, I noticed that Sagemaker can be wired up with https endpoints out of the box. I've used a bunch of AWS services over the years and let's just say, I'm not the biggest fan of some of them especially the all-in-one solutions like Amplify and AppSync or dear lord, Elastic Beanstalk.

I feel like I'm going to hit limitations with Sagemaker that will drive me crazy while I am quite familiar with deploying an ALB fronted service running on ECS (or EKS but ECS makes more sense for what I'm doing).

tl;dr any reason I should stick with Sagemaker endpoints? My spidey sense is tingling.

https://redd.it/114iuun
@r_devops
I don’t know if this is a golden opportunity or a scam…

Hi all,

First time poster here. I haven’t been focused on devops at all, instead studying heavily for the past almost 2 years to be a full stack web developer. I recently moved to a new city and went to a local Jr developer meetup looking to network.

While making my introductions, I admitted I had taken a long sidetracked route to learn a good deal about bash scripting, vim configuration, and understanding the workings of my systemd-less Linux distribution.

I also talked about currently working with an old friends startup which works with VueJS, MariaDB, knexjs, ObjectionJS, HapiJS, Docker, and NodeJS. Although technically this constitutes my first web dev job, I am still very very green.

Apparently all my nerd talk caught the ear of a senior devops engineer who was in attendance. He suggested we meet to talk about a possibility of working in devops instead of web development. Prior to this conversation, I had only heard about devops in passing, and hadn’t really investigated the field.

While I was very amicable with the engineer in question, I couldn’t help but feel like something is amiss. Granted I enjoy working at the command line and know the basics of ssh, bash, git, and the other tech I mentioned above, but I’m not even close to an expert. He seemed highly interested in somebody who had a passion for working at the terminal, regardless of their skill level.

He said there simply wasn’t enough people who knew even a small amount of these sorts of subjects, and he wanted to meet one on one with laptops in hand to see what I knew and what I was passionate about. This all sounds good, but I am on guard a bit because I wonder if I’m being scammed or if something else is amiss.

Are there any red flags in what I’ve described here? Don’t get me wrong, I’m going to meet with this fellow again to see what he’s looking for and if he’s seriously interested in possibly employing me, but I’m getting serious too good to be true vibes.

Any advice and/or constructive thoughts are appreciated. Thanks in advance.

https://redd.it/114m7tw
@r_devops
Can I generate keypair directly in terraform?

Hey all,

I need to create and import keypair in an instance that I'm creating with terraform. Ideally, the keypair should be created in terraform and imported to the newly created instance.

​

Thanks.

https://redd.it/114plwh
@r_devops
How many of you use twingate for accessing cloud environments or homelabs?

Recently someone recommended me twingate as a solution for accessing non-public resources in cloud environments. On the surface it seems like great alternative for things like wireguard, openvpn, ipsec, pritunl etc. which give you access to all protected network, and for things like tailscale/zerotier which give you access to only things with clients installed. Twingate can give access selectively for each user. Ive seen that people use it even for accessing their homelabs (NASes).

But i would like to hear other opinions about them, whether the company is trustworthy, whether they passed some security audits, things like that. Just to be sure that im not installing some trojan horse in networks which supposed to be protected.

https://redd.it/114mpcq
@r_devops
what do you do on a daily basis as a devops engineer?

Trying to understand how it varies based on company, role, experience and location. Please be as comprehensive as possible.

https://redd.it/114siyp
@r_devops
Top 15 Kubectl plugins for security engineers

We have grouped in [this article the list of Kubectl plugins](https://sysdig.com/blog/top-15-kubectl-plugins-for-security-engineers/) that we strongly feel will be very useful for anyone, especially security engineers.


* Stern plugin
* RBAC-tool
* Cilium Plugin
* Kube Policy Advisor
* Kubectl-ssm-secret
* Kubelogin
* Kubectl-whisper-secret
* Kubectl-capture
* Kubectl-trace
* Access-matrix
* Rolesum
* Cert-manager
* np-viewer
* ksniff
* Inspektor-Gadget

Any that you miss?

https://redd.it/114me28
@r_devops
Advice on requesting to move back to previous role?

Hi All -

Curious if anyone has been in a similar position. I recently (6 months ago) moved to a new team internally to my company, but it's just *ok*. I thought this would've been a good move career wise, but I feel like my old role is still a better fit for me.

Is it in bad faith to reach back out to my old manager? They were quite upset that I had left the team, and really wanted me to stay. This is all internal in the same region if that matters.

Thanks!

https://redd.it/114x1yy
@r_devops
Comparing deployment pipelines using templating with GitOps

Greetings.

I have a setup with templated value files for Helm charts, prior to install/upgrade. That way the configuration repository just needs global yaml value files used for any project with any structure of their values.

Using it for shared annotations, labels, tolerations etc.

I'm wondering if anyone has experience or suggestions for to go about that in context of GitOps with pull mode like Argo CD.

Would you keep templates and push rendered files to git, or are there options available that remove need for templating without too much duplication?

https://redd.it/114icda
@r_devops
Industry standard on Terraform drifts

TLDR: What is the industry standard on detecting and handling drifts in terraform source code? What are the advantages and disadvantages of having VMs adhere to source code?

https://redd.it/1150fgp
@r_devops
Alerting. Prometheus Alertmanager vs Grafana Alerts

When setting up alerting for your infrastructure, do you find it better to use Alertmanager or the native alerting in grafana?

https://redd.it/1152z00
@r_devops
tearraform

Where to keep up with lates formating of terra form like for aws ? what is the best tool to write terra form. It seems lots of git projects have dated examples.

https://redd.it/11559ul
@r_devops
Streamline Cloud Governance with Cloud Custodian

# Looking to take control of your cloud environment? Check out our latest blog post on unlocking the power of cloud governance with Cloud Custodian. Learn how this open-source tool can help you address security, compliance, and cost optimization in your cloud environment.

https://medium.com/@arshad.zameer/unlocking-the-power-of-cloud-governance-with-cloud-custodian-why-you-need-it-b09eb831396b

https://redd.it/115634g
@r_devops
Real Shell scripts - to learn?

Where can I find shell scripts of real projects for learning purposes, I've been upgrading myself with shell scripting and I want to see others scripts for better understanding.

https://redd.it/1156wiw
@r_devops
Alternative to virtual-box on M1 macs for chef

Hi DevOps experts, I am wondering what would be an alternative to VirtualBox that can be used with Chef to run `kitchen verify` commands?

https://redd.it/115a1kh
@r_devops
Secretless Broker — Thoughts?

Ran into this GitHub repo for a secretless broker but seems like it didn't really catch on: https://github.com/cyberark/secretless-broker#using-secretless-broker-with-conjur-open-source

Idea seems to be for an application to proxy requests through a "secrets broker" with access to secrets from a vault that can then make a response to a resource like database and return the response back to the application.

This way, the application itself never has access to the secrets.

https://redd.it/115b3ui
@r_devops