Reddit DevOps
271 subscribers
38 photos
31.6K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
DevOps conference List - may 2022 update

I have prepared a list of online conferences for DevOps and SREs.

The list is available on my blog (https://www.czerniga.it/2022/02/13/devops-online-conferences-list/) as well as on GitHub (https://github.com/czerniga/devops-online-conferences). If you want to add a new conference create a new Pull Request in the repository on GitHub.

I also list some upcoming conferences below:

|Date|Conference|Agenda|Price|
|:-|:-|:-|:-|
|26 – 27 April 2022|DevOpsDays Kraków 2022|https://dodkrakow.pl/schedule/|FREE|
|26 – 29 April 2022|DevOpsCon London|https://devopscon.io/london/program-london/|£ 512 - 1196|
|10 May 2022|DockerCon 2022|https://docker.events.cube365.net/dockercon/2022|FREE|
|10-12 May 2022|DevOps Enterprise Summit|n/a|$450|
|16-18 May 2022|ChefConf '22|https://www.chef.io/chefconf/agenda|FREE|
|16 – 20 May 2022|KubeCon / CloudNativeCon Europe 2022|https://events.linuxfoundation.org/kubecon-cloudnativecon-europe/program/schedule/|FREE / € 75|
|24-26 may 2022|DevOps Pro Europe 2022|https://devopspro.lt/schedule/|€ 270 – 1130|
|9 June 2022|Conf42: Site Reliability Engineering 2022|n/a|n/a|
|12-17 June 2022|Agile + DevOps West|https://agiledevopswest.techwell.com/program/schedule|n/a|
|20-23 June 2022|DevOpsCon Berlin|https://devopscon.io/berlin/program-berlin/|€ 476 - € 1169|

https://redd.it/ubgjhr
@r_devops
Is an easy interview a red flag?

Just got made an offer for a role. It was a two stage interview with no tech test. First stage was just general devops questions, second stage was scenario based questions. Honestly I feel I'm too junior for this role and I'm quite nervous to take it. Is an easy interview a red flag?

Edit: there's a lot on the job spec that I don't know, such as K8's, Selenium.

https://redd.it/ubi17s
@r_devops
KubeCon Europe Drama!

Apparantly the CNCF removed the mask mandate for KubeCon Valencia because Spain (the host country) also removed the requirement across the country.

Queue some backlash from the Twitter community, specifically Kat Cosgrove (https://twitter.com/Dixie3Flatline/status/1517485638462803969?t=h1ZcWoDjWnMzHw2nXzldgg&s=19) and the CNCF basically tried to cite her and said her conduct was not appropriate.

TechTwitter blew up at the CNCF, and then the CNCF shortly reversed the decision.

https://redd.it/ubbp5t
@r_devops
DevOps Bulletin Newsletter - Issue 48

Hey folks,
My weekly DevOps newsletter aka DevOps Bulletin -  Digest #48 is out. Check out a sneak peek of the topics covered on this weekly issue:

* ⭐️ “**ArgoCD best practices you should know**” - In this article, you’ll explore some of the best practices of Argo and learn how you can validate your custom resources against these best practices.
* 🔒 “**How to secure Deployments in Kubernetes**?” - Security is crucial ‌for containerized applications that run on a shared infrastructure. In this post, you’ll learn how to secure ‌Kubernetes deployments and applications in general.
* 💡 “**Build Preview Environments on AWS for CI/CD workflows with Terraform CDK**” - In this tutorial, you will build preview environments on AWS using Terraform CDK and deploy a React application.
* 😄 “**Take the pain out of git conflict resolution: use diff3**" - The diff3 conflict resolution strategy is a hidden gem in git that can save you an uncountable conflict-resolution headaches and turn git conflict resolution into something of a joy.
* 🧠 “**Monitoring a garage door with a Raspberry Pi, Rust, and a 13Mb Linux system**” - For geeks like me, this is a super fun project. It sends an alert via Mattermost when the garage door has been left open for more than 5 minutes.
* 🎧 Podcast of the week goes to “Kube Cuddle” by Rich Burroughs - In this episode Rich speaks with Celeste Horgan from Stripe. Topics include: **How developers can get better at writing docs**, what makes a good concept doc, “blank is a blank that does blank”, the difficulty with making big changes in the Kubernetes documentation, the Dockershim deprecation, inclusive naming, and many others.
* 📦 Project of the week goes to “Cog” - **Cog is an open-source tool that lets you package machine learning models in a standard, production-ready container**. With Cog, you define your environment with a simple configuration file and it generates a Docker image with all the best practices: Nvidia base images, efficient caching of dependencies, installing specific Python versions, sensible environment variable defaults, and so on.

Complete issue: [https://www.devopsbulletin.com/issues/kubernetes-container-security](https://www.devopsbulletin.com/issues/kubernetes-container-security)

Feedback is welcome :)

https://redd.it/ubjcgv
@r_devops
Jenkins MultiBranch Pipeline

Published my 7th video in the series "Jenkins Tutorials for beginners" and this time it is for

"Jenkins MultiBranch Pipeline" 🔥🔥🔥

​

If you are a beginner at Jenkins/DevOps, I'd suggest you check out the previous videos in this playlist as well to get started with Jenkins and understand the concept of CI/CD.

In this video, we will be looking into Jenkins multibranch pipeline. Video #6( Jenkins CI CD Pipeline Tutorial) is the pre-requisite for this video so, make sure you watch that before this one.

When we are working in an enterprise-level organization or a company that utilizes git-based SCM to its full capabilities including pull requests, git-flow, git branching, etc. then it is really hard to maintain multiple Jenkinsfile for one repository and to create a separate Jenkins pipeline for each of the branch is a hassle, and could introduce a lot of technical debts that is when Jenkins multibranch pipeline comes to the rescue. It scans the complete repository and finds out all the Jenkinsfile(s) in multiple branches and creates separate Jenkins pipelines for all the branches with the Multibranch pipeline as the master job.

​

https://youtu.be/nYDBfjXgYFE

Below is the playlist for "Jenkins Tutorial for Beginners":🔥

​

https://www.youtube.com/watch?v=oUdB2XqtGmk&list=PLl4APkPHzsUV3pz6zRpFJe3A4wTM2Pjvv

​

Please check out the below videos in the playlist and many more to come!

\#1 What is DevOps, Agile and CICD

\#2 How to Install Jenkins on Ubuntu in different ways

\#3 First Jenkins CICD Job with Maven and GitHub

\#4 How to Integrate Jenkins with GitHub

\#5 Jenkins master slave architecture

\#6 Jenkins CI CD Pipeline as a code

\#7 Jenkins MultiBranch Pipeline.

https://redd.it/ubq9zc
@r_devops
Golang for devops

Hello everyone

I have been writing for some time on how to use Go for Devops. Instead of publishing a list of separate articles and tutorials, I have decided to put everything together in a coherent form as a book.

I was wondering if there are any topics that you would really like to see included in book about using Go for Devops?

Currently, my draft version has the following sections / chapters (draft titles, but they relay the contents):

Introduction to Go
Building apps and scripts
Script scaffolding
Command line tools using go
Talking to clouds
Working with databases
Working with API's
Common recipes

https://redd.it/ubup4i
@r_devops
Good resources for ansible & terraform CI/CD

Hey everyone, I am looking for some resources to help brush up on how to integrate terraform and ansible in CI/CD. I would also love to hear how your companies automate deploying IaC.

Thanks!

https://redd.it/ubzc3i
@r_devops
Work Item Scopes

This is a rookie question, but just wondering how do you keep your work items only with the scope of the project. Its getting confusing how I can see work items from other projects.

New to dev ops and want to know how to set this up.

https://redd.it/uc0a32
@r_devops
DNSControl - the most underrated DNS tool

dnscontrol is probably one of the least talked about DNS tools that is amazing to use.

Maybe my beard isn't gray enough (and everyone is talking about it/already knows), but if you have never heard of it until today, you're welcome.

https://redd.it/uc42vm
@r_devops
Looking to get into DevOps down the road.

Hi everyone. I’m sure this gets asked all the time so if there is something obvious that I missed, please let me know.

I am on a path to end up in DevOps a few years from now. Working my way up through a Systems Engineer path.

In your experience, what are the best things I can do now to best prepare myself for being a good DevOps Engineer?

Also, it seems that DevOps is a pretty broad category. What is DevOps to you in your specific role?

I have started learning Python and getting familiar with the idea of Docker. I run Linux as my daily driver so I am fairly familiar with that environment but still have a lot to learn. Any advice is appreciated. Thanks!

https://redd.it/uc20dp
@r_devops
Learning Puppet and Ansible

Hi, I am a network engineer, scope of my work is to managed, deploy, maintain servers, switches, routers.


For servers, we used puppet, for networking gears, we used ansible.


we widely used Juniper networks and debian distro for servers.


any advise where to get a reliable learning resources to study puppet and ansible?
Links for resources like Udemy is greatly appreciated.


Thanks a lot

https://redd.it/uca0s1
@r_devops
Linux repository manager for binary packages

Hi y'all!

I'm looking for a solution to host and manage artifacts that are actually Linux *ipk (just like deb) files for a custom solution. Right now we have a jenkins building some packages and we'll start to have plenty more soon.

So we need get something working to handle all the generated files, ideally indexing them (we have to use opkg for that), but to handle the versioning and storing.

For the time being we are looking into Apache Archive for it, but if any other FOSS and selfhosted solution is better I'm willing to do the switch!

​

​

Thanks!

https://redd.it/uce3hh
@r_devops
How can I get the last version number of my npm package and increment with one when republish with azure pipeline?

How can I get the last version number of my npm package and increment with one when republish with azure pipeline?

https://redd.it/uchotn
@r_devops
Money to work ratio

I’ve been working in devops for 3 years, I’ve only worked for a single company my entire career. I love my company and the people/culture, but the pay is less than what a lot of other tech companies offer. I started at 85k with a 10% yearly bonus reliant on company performance. I’m currently at 105k with the same yearly bonus. The work is interesting, but not extremely difficult and is fully remote. So I can work somedays 2-3 hours and that’s it. What’s everyone else’s experience? I’m trying to determine if this is a unique experience and I’m living my best life, or if this is a general experience. I’m based in Boston as an fyi for COL.

https://redd.it/ucjrw4
@r_devops
Circleci Can we use multiple workflows for multiple type?

I’m new in circleci. I want to install my infrastructure via terraform after that I also want to trigger my build, deploy and push command for aws side. But workflow does not allow me to use plan_approve_apply and build-and-deploy together in understand one workflow. I also try to create multiple workflows (like below example) for each one but also it didn’t work. How can I call both in single circli config file

My Circleci config yml file:

​

version: 2.1
orbs:
aws-ecr: circleci/[email protected]
aws-ecs: circleci/[email protected]
jobs:
init-plan:
workingdirectory: /tmp/project
docker:
- image:
docker.mirror.hashicorp.services/hashicorp/terraform:light
steps:
- checkout
- run:
name: terraform init & plan
command: |
terraform init
terraform plan
- persist
toworkspace:
root: .
paths:
- .

apply:
docker:
- image:
docker.mirror.hashicorp.services/hashicorp/terraform:light
steps:
- attach
workspace:
at: .
- run:
name: terraform
command: |
terraform apply
- persisttoworkspace:
root: .
paths:
- .

destroy:
docker:
- image: docker.mirror.hashicorp.services/hashicorp/terraform:light
steps:
- attachworkspace:
at: .
- run:
name: destroy
command: |
terraform destroy
- persist
toworkspace:
root: .
paths:
- .
workflows:
version: 2
plan
approveapply:
jobs:
- init-plan
- apply:
requires:
- init-plan
- hold-destroy:
type: approval
requires:
- apply
- destroy:
requires:
- hold-destroy
workflows:
build-and-deploy:
jobs:
- aws-ecr/build
andpushimage:
account-url: "${AWSACCOUNTID}.dkr.ecr.${AWSDEFAULTREGION}.amazonaws.com"
repo: "${AWSRESOURCENAMEPREFIX}"
region: ${AWS
DEFAULTREGION}
tag: "${CIRCLE
SHA1}"
- aws-ecs/deploy-service-update:
requires:
- aws-ecr/buildandpushimage
aws-region: ${AWS
DEFAULTREGION}
family: "${AWS
RESOURCENAMEPREFIX}-service"
cluster-name: "${AWSRESOURCENAMEPREFIX}-cluster"
container-image-name-updates: "container=${AWS
RESOURCENAMEPREFIX}-service,image-and-tag=${AWSACCOUNTID}.dkr.ecr.${AWSDEFAULTREGION}.amazonaws.com/${AWSRESOURCENAMEPREFIX}:${CIRCLESHA1}"

​

https://redd.it/ucwtbi
@r_devops
IAM vs Authentication lib - what's the use case for each one of them, and why?

Is there any case it's preferred to use an authentication library like Authlib (python) or Passpost.js (node.js) instead of an IAM such as keycloak?

What are the advantages of one compared to the other?

https://redd.it/ucybpz
@r_devops
I came up with a DevOps joke as I couldn't find any to plagiarise

Why is it so hard to find DevOps professionals on Mars?


​

​

​

​

​

​

​

There's no Terraform there yet.

https://redd.it/ucz66o
@r_devops
Call another Jenkins job multiple times

I have a freestyle Jenkins job that has a parameter called branch, which is taken from a file.

Currently, in the file, it's defined to be equal to master:

branch=master

Then, as part of the build, it calls another Jenkins job with the branch variable.


 

Now, QA wants to have the branch variable have multiple values (for example branch=master,branch1).

Thing is, now I would have to call the other Jenkins job multiple times.

In Jenkins (preferably freestyle), is it possible to call another job multiple times in a loop with different values every time?

Thanks ahead!

https://redd.it/ud5yr9
@r_devops
Interview advice

I have a technical screening later this week that consists of “cloud operations and logging”

Any advice on programmatic things to keep in mind or any sample interviews in this area would be greatly appreciated.

https://redd.it/ud3aef
@r_devops
vkv: recursively list key-values entries from Vaults KV2 engine in various formats

Hi I wrote this small utility in order to view large and nested entries in Vaults KVv2 Engine. Maybe it is interesting for you guys. I plan to add more formats, for instance displaying the current used token capabilities on each path and entry:

https://github.com/FalcoSuessgott/vkv

https://redd.it/ud9jcm
@r_devops
There is no such thing as too much logging - or is there?

What’s a modern day best practice around logging? How do you approach this? I myself like to log as much as possible, my boss swears there should only be debug and error logs.

https://redd.it/udgohy
@r_devops