Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Varnish in front of IIS

This is a really stupid question from someone not super experienced with backend / devops but:

I think varnish is a caching reverse proxy right? So am I right in that you would need one single instance in front of each webserver instance (eg a container)?

Or is it one instance one front of ALL webserver instances? confused. Thx.

https://redd.it/1300ej0
@r_devops
Was told "<tool> can be configured with <language> because it is written in <language>", am skeptical.

Hi all,

Unsure of where to ask about this, but since I was told the following during a DevOps bootcamp I thought I'd try my luck here.

Often, the last time being when teaching Kubernetes, a teacher told my class that "this tool is written in some programming language, which explains why it can be easily configured using the same language, or why it is more compatible with some other software which has ties to said language".

This quote is as vague as it was originally told, the teacher in question said this multiple times in various ways, and isn't the best of speakers.

I am skeptical about that statement.

Surely, once code is compiled the resulting binary becomes completely independent of the language it was originally programmed with?

What would make sense to me is "this tool includes an API which was developed to be especially easy to use with the same language it was written with".

Kubernetes is written in GO, and so is Podman. But that alone doesn't make them particularly compatible? This compatibility would come from the developers' design choice, right?

https://redd.it/1303yuf
@r_devops
Help: Docerkize IIS app and SQL server with windows authentication

I have .net4.5 and used Docker to run asp.net on IIS app using windows server core image. But how do I containerize a SQLsever db with windows authentication?

https://redd.it/12zyo5f
@r_devops
How do you manage your container lifecycle?

I wrote some notes since it seems nontrivial to clean up old images without mutating the tag. Am I missing something please? https://dabase.com/blog/2023/container-lifecycle/

https://redd.it/1302hwu
@r_devops
Is "Certified GitOps Associate" a joke or desperate attempt by CNCF?

Why does CNCF the want to sell certs so desperately?

https://redd.it/1309zrg
@r_devops
Can Google Enteprise enforce hardware MFA?

Does anyone use google workspace enteprise know if they allow to enforce hardware MFA only?

https://redd.it/12zzmqi
@r_devops
Best courses to learn python specifically for devops

I am doing sysadmin things in my organization and I've heard everywhere that one cannot survive in devops without scripting knowledge either bash or python.
I know neither of them but want to learn one and picked python first. I don't want to learn in deep or i don't know if i should learn it deep.
I am from a non technical field just entered into the software industry so it'll be quite hard.
Is there any courses where can I learn python specifically for devops? Like for automation and scripting. I've heard that automate the boring stuff with python is good but would that be suitable for me as i am from non tech field and have low critical thinking ability? What are your recommended courses and what's your advice for me?

https://redd.it/130c6vu
@r_devops
Monitor Logs From an Agent in Icinga2

I'm currently using Icinga2 for a distributed monitoring solution, in a master-agent configuration. I've looked into using the built-in logfiles plugin ([https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#logfiles](https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#logfiles)), but have found no success in getting it to parse through the requested logfile on the agent server.

Here's the curent configuration within \`/etc/icinga2/zones.d/master/cpanel.conf\` on the master server:

object Service "cpanel-backup" {
import "generic-service"
host_name = "cpanel29.dbl-mail.com"
check_command = "logfiles"
vars.logfiles_logfile ="/var/log/borgbackup.log"
vars.logfiles_critical_pattern = "error:"
command_endpoint = host.vars.agent_endpoint
}

Any ideas on what I'm doing wrong?

0 comments

https://redd.it/12zyusc
@r_devops
What are the most important DevOps conferences this year?

I'm curious what are the most interesting/important/influential DevOps related conferences happening this year? Job let's me pick one and pay for travel and the ticket so definitely planning to use that perk, just not sure on what.

https://redd.it/130gsk4
@r_devops
Remote DevOps salaries poll

Hi, this one is for DevOps engineers who work remotely, I'm curious to see what are your salaries? Where are you from and where is your employer located? Do you work on a b2b contract basis or are you fully employed? Thanks!

I'll start:



q| a
---|---
Your location| E.Europe(Latvia)
Employer location| E.Europe(Latvia)
Contract or Full time| Full time employment
Years of relevant experience| 5
Salary(gross/net)| 50k EUR (55k USD) which is ~35k EUR after tax.

https://redd.it/130gcc4
@r_devops
Scaling RabbitMQ

Hey guys!

Currently facing the use case where our RabbitMQ cluster (3 nodes, all quorom queues) has to handle 80k-100k events per second. We've reached situations where the latency was above what we can allow for our applications and downstream users.

The cluster is being used across the entire company and we were trying to think of ways to overcome this problem.

One of the suggestions is multicluster RabbitMQ where several clusters would be provisioned for different teams so that an outage of a cluster doesn't influence many functions. However, currently we're in a situation where certain teams are producing to queues which are consumed by other teams. Additionally, we don't want to overcomplicate the management of connections to several different teams on the application level and therefore we were debating whether federation is a good use case for this.

If anyone has experience with similar problems or how to spread the load of a RabbitMQ cluster and has any best practices/ recommendations I'd love to hear those and would be very appreciative.

Thanks!

https://redd.it/130kiu0
@r_devops
A notion template for writing Architecture Decision Record(ADR)

Make better architectural decisions with ease and clarity using our Architecture Decision Record template for Notion!

https://www.notion.so/templates/architecture-decision-record-template

https://redd.it/130nkii
@r_devops
Check application environnement status / requirements

Hello,
I am looking for a tool, an app that would allow me to check the status of an application environment.

I'm thinking about network resources (API endpoints, internet, databases, smtp servers, etc....

In practice, I currently have to check accessibility to +150 resources (URL, domains, host, port ...) and i repeat this check with every change 😮‍💨....

Before I start writing an application, I would like to have your feedbacks. Thanks all for sharing your experience.

https://redd.it/12zy5zr
@r_devops
How to set DKIM signing key length and DKIM signature with boto3?

Hi,
I am trying to implement Python script with boto3 for aws ses. What my target is, I will create domain identity and it will set DKIM signing key length and Enable DKIM signatures. And then in the console, it will publish the DNS records for DKIM authentication. Anyone can help?
The below link is not working or deprecated I guess.

https://boto3.amazonaws.com/v1/documentation/api/1.26.108/reference/services/sesv2/client/create\_email\_identity.html

https://redd.it/12zhiwj
@r_devops
Essay on Datadog, Splunk and Grafana

I’m writing an essay for uni on Datadog, Splunk and Grafana and need to answer the questions which would be a better a tool for:

A. Startup company
B. FTSE 100

Finding it difficult to find sources or information surrounding why a startup might pick them but any help would be much appreciated

https://redd.it/130wsro
@r_devops
Technical debt prevention

Is there a technical debt prevention process in your organization? Can you explain how it's implemented?

https://redd.it/1310pr6
@r_devops
Any recommendations for CLI wrappers?

I currently have a makefile with a bunch of kubectl, helm, and aws commands for various environments. This is pretty ugly / brittle as the commands are duplicated for each environment, and I'd like to be do something like `<something other than make> apply_xyz -env staging`or `<something other than make> apply_xyz -conf ./staging.yaml`.
I recall seeing a CLI wrapper project maybe half a year ago from a DevOps influencer type that looked promising, but I can't recall who it was, or what the project was called.

Does anyone have any suggestions? I'd rather a more basic wrapper, vs doing my own in with fabric, etc.

https://redd.it/13137hi
@r_devops