Reddit DevOps
270 subscribers
7 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Just out: "State of CloudNative Release Orchestration 2021" report

Hi all, CTO and cofounder of Vamp.io here. We've just released(sic) our report on the 2021 state of cloudnative release orchestration, and i feel there are some interesting insights to be learned from it.


It seems "dependency-hell" and costly release-validation are some of the more pressing challenges in the devops, kubernetes and cloudnative space.
Do you agree, disagree? Do you miss any specific topics you're focussing on? All feedback is welcome!

**https://blog.vamp.io/the-state-of-cloud-native-release-orchestration-2021/**

https://redd.it/l6169t
@r_devops
Troubleshooting the right way

In this blog-post, I share a methodology for troubleshooting technical challenges - https://www.meirg.co.il/2021/01/23/troubleshooting-the-right-way/

As part of this blog-post, I share a "real-life technical" challenge that I faced and the methodology that I used to tackle this challenge. **The challenge**: Disallow outbound connection from Prometheus to NewRelic, to make it possible to investigate Prometheus's logs and understand which errors (if any) are raised when there's no internet connection upon a remote_write event.

I'd love to hear your thoughts and have a discussion about the way YOU troubleshoot and tackle technical challenges. Rock on!

https://redd.it/l6iajv
@r_devops
Sharing a link-to-text with your colleagues

!scroll-to-fragment

From time to time, I find myself sending screenshots of blog-posts and documentation. The reason - I doubt they will scroll down to the relevant text, a screenshot provides a more direct approach of "here you go". And of course, I add the link to the content, in case my colleagues will want to investigate the subject.

Another approach - sharing a direct link to the relevant text in the docs. For example, here's a very long blog-post (no I didn't write it), and I'd like to share a link to a specific text fragment of this blog-post "...primary function of the external ID...", here's how:

DISCLAIMER: Available in Chromium Engine 80+, read more about it in chromestatus

- Link to page: https://aws.amazon.com/blogs/security/how-to-use-external-id-when-granting-access-to-your-aws-resources
- Add #:~:text=relevant text: In my case it's https://aws.amazon.com/blogs/security/how-to-use-external-id-when-granting-access-to-your-aws-resources#:~:text=primary%20function%20of%20the external%20ID (%20 is whitespace)
- (Optional) Use first and last: https://aws.amazon.com/blogs/security/how-to-use-external-id-when-granting-access-to-your-aws-resources#:~:text=primary,external%20ID (primary to "external ID")

A very detailed StackOverflow answer on the subject. The source of the image is the same Stackoverflow answer.

https://redd.it/l6hgmi
@r_devops
What can I expect from a DevOps internship tech Interview?

I’m going on to 2nd round of interviews for a DevOps internship position. It consists of a 2 hour round of a screen share and tech interview. What are some of the things I should expect from this kind of interview? Will I be expected to code live?

Background: I’m a senior in IT and AWS certified. Worked on a couple of personal projects that include AWS, Terraform, Ansible, Jenkins, Python, some React.js, Node.js.

Freaked out about this because I suck at coding on spot and suck at leetcode.

https://redd.it/l6gl91
@r_devops
Detecting Genuine Continuous Integration Configurations

Hey! I'm not sure if such posts are accepted here, but I will give it a try.

My name is Tim, a student at the University of Zurich, Switzerland, and I am working on my Master thesis right now.

I envision a world, in which it is easy to find genuine CI configurations in the vast numbers of open-source projects, without having to work my way through countless meaningless config files. I would like to build a system that can automatically find good and representative CI pipelines.

To make this vision come true, I need some feedback from professional developers to learn which types of configuration files would be interesting to look at.

I would really appreciate if you could find the time to fill out the following survey to help me in my thesis. The survey takes approximately 10 minutes. Participating in the questionnaire is completely anonymous.

Many Thanks
Tim

PS: Feedback is very much appreciated
PPS: If you have any questions, also about the thesis, feel free to ask!

https://redd.it/l5zohc
@r_devops
helm issues after upgrade

Hey I am pretty new to helm and kube. Been using it for about 3-4 months. I just upgraded to helm3 and it does not seem to grab my namespace from my kubeconfig.

When I run helm ls it is empty

when I run helm ls -A it returns

Error from server (Forbidden): secrets is forbidden: User "MYUSERNAME" cannot list resource "secrets" in API group "" at the cluster scope

helm2 was fine as soon as I set tiller to point at the namespace. My namespace and context is set on kubernetes, I can view my pods in the namespace just fine in kube.

​

These commands all work and pull from the namespace

kubectl get pods
kubectl describe pods

​

​

https://redd.it/l5q56k
@r_devops
HashiCorp Vault Certification Resources

Hey guys! Recently took this certification and it's an amazing tool! Here is an article with some studying resources! Let me know if you have any questions!

Thank you!

https://redd.it/l6qje7
@r_devops
How to Make Python Library Distribution Easier

How do you make sure that your library or package is accessible to as many people as possible? One important concern is compatibility. Packages are often built with wheels--they're great if you want quick installation, since they’re much lighter than source distributions. But, since wheels are built on the developer's machine, if users have a different OS/environment, there's a risk the package won't run on their system.

Manylinux is a popular solution to this problem. It improves the portability of a package by ensuring that it can run on a variety of Linux distros. However, manylinux can be a pain to navigate--it doesn’t have a lot of documentation and involves doing some extra work: you have to use containers, write Bash scripts, and use Linux commands. So, how can we improve things?

This post proposes a standardized platform for using manylinux, one that would allow it to be included in different CI processes, or implemented in one click in the building process of a package. With a simpler distribution process, just imagine how many cool new Python packages there would be out there!

https://monadical.com/posts/a-many-linux-web-building-platform.html

https://redd.it/l5oa57
@r_devops
OAuth for AlertManager/Prometheus UIs?

We currently have Google OAuth set up for Grafana. Was wondering if something like this exists for the UIs for AlertManager and Prometheus? I haven’t found much on the subject but would like some layer there for auth.

https://redd.it/l5ll25
@r_devops
How can i build VS project remotely with automatic upload into another remote server with one single .bat file (Windows server)?

Here's the flow i need:

1. Connect into build machine with admin creds.
2. Open terminal, go to directory with project.
3. Pull latest git changes from the branch.
4. Open .project's sln file, edit it's version ( type my own within command line)
5. build the api part of it (this project also has code for android app, but i need to build new API only)
6. Publish it in custom folder, zip it and send to another server machine (also with win server)
7. On this server disable IIS
8. Unzip all files but one and overwrite files in APi directory.
9. Run IIS again.

How possible is to make this flow as simple as possible ( as simple as running .bat or .sh script)?

https://redd.it/l5iqin
@r_devops
Discussion: what are must-read books for DevOps engineer?

Hi guys,

Im looking into switching into devops field from fulltime python web dev. And Im curios what are the most important and up-to-date books someone like me can read? Even if they're not directly connected to, but would be helpful in future.

Share you thouths!
Thanks!

https://redd.it/l6uitk
@r_devops
Free intro to Linux commandline/server course starts this Monday

This course has been running successfully now every month since February 2020 - more detail at: https://LinuxUpskillChallenge.org \- daily lessons appear in the sub-reddit r/linuxupskillchallenge \- which is also used for support/discussion.

Suitable whatever your background, and aims to provide that "base layer" of traditional Linux skills in a fun interactive way.

https://redd.it/l6unjd
@r_devops
The Seven Steps to build a Cloud Native CI/CD for GitHub repos using Tekton

A detailed walkthrough guide to build a lightweight CI/CD using Tekton from scratch!

https://blog.harbur.io/the-seven-steps-to-build-a-cloud-native-ci-cd-for-github-repos-using-tekton-31a445a3bde7

For the impatient there is also a quick one-page instruction-set on the tutorial repo: https://github.com/harbur/tekton-tutorial#tldr

https://redd.it/l6xpr2
@r_devops
How to configure Azure DevOps pipeline to deploy in Azure app service container?

In this article, you will see one example of how to use Azure DevOps, the Azure tool for CI/CD. If you have any advice to set up a pipeline in Azure DevOps to deploy your containered code in an App service, please feel free to share. 😉

https://redd.it/l6wv38
@r_devops
Which city in Canada?

Hey Guys,

I work as a DevOps in Montreal right now, and looking to move to another city in Canada (I'd like to be fluent in English (level b2/c1 right now and because of entry express). I don't know which cities offer some great DevOps jobs. I have 6 years of experience (certified AWS, GCP, Kubernetes with professionals experiences as well).

So I am wondering if you have any advice. I was thinking of Toronto, Calgary or Vancouver. My main concern is my English level, I guess it'll be hard at the beginning but should be alright.

These are different cities. I like hiking, biking, etc... That's why I put Calgary, but I am not sure if there are a lot of jobs there.

What do you think guys?

https://redd.it/l70ewn
@r_devops
First DevOps Interview following up from a previous Reddit post

Hello again everyone I wanted to once again ask for some advice, this time for the actual interview process. I have an interview with a company that I actually work with at my current employer (state agency), and they contacted me on an application I put in for a configuration engineer. This surprised me because out of the jobs I applied for, this one seems like the one I'm least qualified for given my professional experience with software development, I currently work in more of a systems admin role at my current job. I got the NDA and availability request yesterday and it looks like my interview or screener is tomorrow. As someone who has never interviewed with a software company, I'm wondering if anyone has any tips on how I can make a good first impression and what I should focus on brushing up on in the hours leading up to this time slot.

I'll link the job description below along with my personal site just for reference if that has any value.

https://ibb.co/L1BvLHL

https://www.brandonkjones.dev/

https://redd.it/l70ar0
@r_devops
infrastructure drift study

Preparing for the release of an OSS tool that tracks infrastructure drift on cloud resources defined with Terraform (driftctl), we were lucky enough to talk to many people to see what issues they were facing.
Keeping infras in sync is a real challenge for them.
If you folks are interested, we decided to share our learnings in a study.
https://driftctl.com/state-of-infrastructure-drift/

https://redd.it/l6yyni
@r_devops
Dependencies in DevOps Survey

We need your insight into software practice!💡 Help us to improve DevOps 🚀 and take the global Dependencies in DevOps Survey 2021 🌏 if you develop, operate, or manage software professionally.

[https://forms.gle/aE1bj8Rct7aYvD3Q9](https://forms.gle/aE1bj8Rct7aYvD3Q9)

​

Software development and operation continue to change rapidly, and with it, the demand for intelligent solutions and tools to support modern DevOps organizations. We thrive on contributing to this journey, and that is why we need your help: We want to gain insight into practitioners' problems in daily life. All your opinions are of exceptionally high value to us.

This survey shall only encompass professionals working in the field of software development and operation. Please 𝐨𝐧𝐥𝐲 𝐚𝐧𝐬𝐰𝐞𝐫 𝐭𝐡𝐢𝐬 𝐪𝐮𝐞𝐬𝐭𝐢𝐨𝐧𝐧𝐚𝐢𝐫𝐞, 𝐢𝐟 𝒂𝒍𝒍 𝐭𝐡𝐞𝐬𝐞 𝐩𝐨𝐢𝐧𝐭𝐬 𝐚𝐩𝐩𝐥𝐲:

* you work in a company (or company-like environment, e.g., an IT department at a university or freelancing).
* at your company, software is developed or operated or both.
* for some of this software, you are not only an end user.

The survey will take you roughly 10 minutes.

The global survey on 𝐃𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐢𝐞𝐬 𝐢𝐧 𝐃𝐞𝐯𝐎𝐩𝐬 𝟐𝟎𝟐𝟏 is executed jointly by researchers from both the Software Technology Group at the Technical University of Darmstadt, Germany, and the Programming Group at the University of St. Gallen, Switzerland. The imprint and privacy policy for this survey: [https://dsoko.de/DevOps-2021-imprint-privacy](https://www.google.com/url?q=https://dsoko.de/DevOps-2021-imprint-privacy&sa=D&source=editors&ust=1611740746580000&usg=AFQjCNE7WCLX2FD2cmxVg7Z0yXgUC68Nsw)

https://redd.it/l6y4bc
@r_devops
Seeking Advice (Python)

I do not work in a DevOps role but hope to be in a position to be able to move into this career path. I understand that having a programming language is pretty critical in such roles, which is why i took it upon myself to learn Python. I have completed a course but the next stage now would be writing scripts or programs that are relevant to my interests or actual job. My work does not really use Python programming and when programming is required it will be C+ ruby or powershell where individuals with the experience are given the task (i do not mind this as i am pretty set on learning python).

​

I feel like i am struggling to move to the next stage because i do not find myself needing to automate or use scripts within any aspect of my life currently, or its due to my experience that i a cannot see where i could adopt some form of automation. My question is does anyone really know of any sources that give you examples of a DevOps task that they automate where you can try it yourself. Kind of like an exercise is what i am looking for. I think this would be more beneficial than watching people make classes of employees and cats and dogs. Sorry for the long post any advice is hugely appreciated.

https://redd.it/l6vv4c
@r_devops
Can you become a DevOps engineer early on or should you start off as a Backend developer?

I wanna be able to work remotely from my country (Egypt) and I'm down to learn anything to speed up that process. I know some frontend and python, but that's about it. I quickly realized I have no interest in CSS and I'm more of a logic driven than creative person.

Which path would you choose?

1. Path 1 - backend development

2. Path 2 - devops

3. Path 3 - stick to frontend, learn react, and eventually be fullstack with a node.js backend

I have around a year to learn either one of these, so please guide me. I dont particulary prefer one over the other.

https://redd.it/l78tcu
@r_devops