Reddit DevOps
270 subscribers
7 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Has git conquered the source control world?

Are there people who still use other source control like ClearCase, SVN, etc, other than old projects that are sort of abandoned?

https://redd.it/syo6tm
@r_devops
CRLF vs LF Git FIX

git config --global core.autocrlf true

Does this allow mac/windows users to treat CRLF and LF as the same or will this ONLY remove the warning error?
Currently when i do file comparison via filezilla it shows my files as different which is a pain when working in a team.


If I pull from github when synced with server it shows conflicts.
I think this is due to me being windows and team being Mac so I'm looking for a long term solution!

https://redd.it/sylkgl
@r_devops
DevOps projects

How are you guys doing of presenting DevOps projects in your resumes.
How to do or demonstrate a DevOps project in GitHub?

Shoot your opinions and answers

#devops

https://redd.it/syk3ae
@r_devops
Remote work cost of living calculator

There’s been a few discussions on here recently about remote salaries and how they normally vary by location based on cost of living.

Is there any online resource we can use to predict what companies cost of living based salaries will be?

Example, I’m currently looking to move out of NYC area but don’t want to totally screw up my salary. I’m looking at Frederick Md or Dutchess County Ny. I think Maryland is safe but I’d prefer Dutchess county (Poughkeepsie area. Even tho it’s high tax and reasonably pricy I think it will fail the COL calculator.

https://redd.it/sypi9i
@r_devops
Why can't I create a standard public IP in Azure?

Hey,

I'm trying to create a Standard Public IP in Azure but when I do it errors out saying I have insufficient quota for Basic Public IPs. I know I do, that's why I'm trying to create a Standard, not a Basic because I have plenty of Standards left to use.

I originally tried this in Terraform but not I'm just doing it in the Azure portal to troubleshoot. I'm selecting Standard in the SKU so I don't know what the problem is or why it thinks I'm trying to create a Basic.

Any help would be appreciated.

Thanks


UPDATE: I deleted a Basic IP and tried to create a Standard. It worked but now when I check my quota both the Basic and Standard have gone up by 1. Does a Standard Public IP also use up your Basic Public IP quota?

https://redd.it/syks00
@r_devops
Some of the best terminal utilities you have ever used and are still using.

When I got introduced to tmux or lazygit, I got hooked to the wide range of powers 😅 that i felt within my hands. Across my org, was successfully able to move everyone to be using either of them.


So what are some other awesome terminal utilities that you have come across?

https://redd.it/syrl3g
@r_devops
Kubernetes and Cloud Native Associate (KCNA) Certification. Good for someone looking to break into the field?

I am looking to break into the DevOps field in hopes to get a Junior / Beginner level role after working in IT Support and Application/Software Support for 3-4 years.

I stumbled upon the KNCA Kubernetes and Cloud Native Associate Certification from The Linux Foundation and really liked how it’s geared towards beginners. I have been doing a lot of research and searching at job postings and found that Kubernetes is a in-demand skill.

Do you think this certification is worth while? Obviously it’s beginner based and nothing compared to something like the CKA or CKAD certifications… but was wondering if it’s a good talking point on a resume or to get some looks from recruiters/interviewers/. I was thinking of doing the certification and having some projects that use Kubernetes hosted on a GitHub or talking points where I’ve had hands on experience to supplement the learning.

For a Junior/beginner… would you recommend this? The price isn’t an issue for me at the moment. Here is the link for more info:

https://training.linuxfoundation.org/certification/kubernetes-cloud-native-associate/#review_module

https://redd.it/sz28zt
@r_devops
Does anyone know what happened to slack on 2-22-2022 ?

Hey guys, wanted to understand the cause for slack downtime.

https://redd.it/sz9ldm
@r_devops
ProxySQL cluster behavior question regarding max connections (and advantages/experience with clusting)

I'm considering running a proxysql cluster inside kubernetes and be centralized instead of running sidecars in each app's pod so I have more control over the connections.

I want to be able to make sure there's a maximum amount of connections to my db's per application regardless of how many instances of the application (pods) k8s autoscales to. Lets say the db has a quota of 10k connections. If I run proxysql sidecars, whatever max connection number I set scales as the app scales up and down.

If you're running a ProxySQL cluster and have max\_connections for a hostgroup set to 1000, will that be 1000 total or 1000 per node in the cluster?

I can't find docs that describe its behavior well but it kind of seems like the only advantage of clustering is to apply a config to 1 node and have it propagate automatically.

Does anyone have experience with doing something like this?

https://redd.it/szaw8l
@r_devops
What are the scenarios where Jenkins is more appropriate over a bash script ?

I have been asked to prepare to take lead of more team members and responsibilities would include decisions on tools.

Have skimmed through the Jenkins reference including Pipeline and syntax like stages/steps etc. In my earlier responsibilities around 7-8 years ago, I have used bash scripts to automate build processes. I do not want to use tools just because they are industry standard/everyone is doing it, without actually understanding what problem it solves. The only thing that I could think of Jenkins solving is OS portability of the build process. This in itself isn't a priority for us. We are on MERN.

https://redd.it/szewp3
@r_devops
From this morning's standup

A colleague, describing a meeting with customers: "They were trying to nail us down on a completion date, and we were trying to nail them down on the requirements."

I can imagine the dialogue in that meeting:

"When do you think you will be done?"

"Well, that depends. What exactly do you want us to do?"

https://redd.it/szjryt
@r_devops
Grafana vs New Relic

Hello, I'm a Prometheus + Grafana user and most of my system metrics are centralized at Grafana. I'm looking to hear more opinions about New Relic users to see if it's worth it.

Some doubts I have:

1. What New Relic does better than Grafana + Prometheus?
2. How complex it is to implement a monitoring system in New Relic?
3. What New Relic can do that Grafana + Prometheus can't?

Feel free to add personal opinions about this topic too. Thanks.

https://redd.it/szl59g
@r_devops
Chef Server OSS

I've been looking and trying to understand which versions of Chef Server are open sourced. From their downloads page I sometimes get the Apache-2.0 license information for versions <=12.14.0, but not all the time. I'm having trouble finding definitive information. Is anyone else running the FOSS version of Chef and can point me in the right direction?

Do I have to build it myself instead of downloading from their 'downloads' page if I wanted it for use with a company? Does anyone have ties to the community Slack page and can send me an invite (seems locked down and only by invitation now)?

https://redd.it/szkiiu
@r_devops
How to monitor Prometheus itself

I currently use Prometheus and Alertmanager in a Kubernetes cluster for monitoring. However, if Prometheus itself or Alertmanager go down then this could only be verified.

Any ideas of another system that could be used to monitor these so there is redundancy? I'm looking for something that could integrate with Slack to send messages if Prometheus went down.

https://redd.it/szllrw
@r_devops
Debugging Azure Devops

I'm trying to build my first Azure CI/CD pipeline and to be honest I'm having a nightmare. The pipeline I'm building is just the standard tutorial one to create a storage account in Azure using an ARM template.

I keep getting the error message:

"Unexpected character encountered when parsing template"

I've checked and rechecked my ARM template and my YAML. I use the ARM add on in VS code to check the json and it seems fine. I can also manually deploy the ARM file in Azure and it works no problem.

I'm not really asking for help on the specific error, what I actually need is a good place to go to find out exactly what the error is telling me. I can't find any record of this error in MS docs and the usual places are no help. So any Azure Devops people out there, do you have a go to resource somewhere out there to help you fix problems with pipelines?

https://redd.it/szp010
@r_devops
Looking for an OPEN SOURCE/CROSS-PLATFORM deploy script. What is everyone using now a days?

I'm looking for a scripting language that I can create an installer with. I was wondering what was popular now a days. Something I can run from the linux or windows command line that will unzip packages in the right locations and will read environment variables from a text file and inject those into the appropriate config files, etc.

I'm open to automation with Terraform, Ansible, etc, is powershell my only option or are there better more task specific scripting language I can use?

https://redd.it/szqhs6
@r_devops
What is the best way to manage MySQL users

We have an RDS MySQL database and currently users are being created and deleted manually. We are starting to grow and I would like to automate this process.

&#x200B;

I already have an ansible playbook which adds all the developers SSH keys to our VMs, so ideally I would just build off of that and manage MySQL users with the Ansible mysql plugin

&#x200B;

Even with that plugin I am still unsure how to create and distribute the passwords once a user is created?

https://redd.it/szojut
@r_devops
Understanding Nginx tail latencies

In this article we trace Nginx running on a 80 CPU server as a CDN node in one of the world largest Internet exchange point. We revealed that a ligh-weight monitoring process may cause severe latencies due to the Linux CPU scheduler. During the investigations we had a lot of fun with eBPF and perf.

&#x200B;

https://tempesta-tech.com/blog/nginx-tail-latency

https://redd.it/szsihc
@r_devops
DevOps Case Study for Interview Process

I've been doing some interviewing and been given some pretty bad technical assessments so far. One company I liked so far wanted me to do a Case study instead of the standard technical assessment for their 3rd round.

However, once I got the details on the case study it looks like they want candidates to solve issues they're currently facing as part of the interview process. Essentially I'm expected to research and come up with a solution to one of the issues presented and do a presentation for 1 hour (hopefully a lot of time for questions).

I don't think this is a complete bait and switch for some free consulting as I'm pretty confident there are actual positions to be filled as multiple roles are posted for. However, I feel like it is still free work provided for any candidates they don't move forward with.

Am I looking too much into it?

https://redd.it/szpvi0
@r_devops
Leveraging Terraform state file for creating resources in azure

Im trying to deploy some Azure resources via terraform for a new environment. The original environment was setup via the gui but i was able to import them via terraform import. I can see all the configurations via the state file.

Although i can create resources via terraform, the documentation only lists a few arguments (i.e., name, location, etc). Is there a way that i can take info from the state file and use it to create new resources using the additional arguments? For example, i can create an app service environment v3 with some arguments. However, i imported an app service environment and it has alot more info. How can i add all the additional info (i.e., inbound_network_dependencies and all of the ip addresses) when deploying via terraform? There has to be a way to add all the extra info at deployment.

https://redd.it/szwjn9
@r_devops