Reddit DevOps
269 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Damn I just passed Cisco Certified DevNet Specialist - DevOps specialisation!!!


OMG I am over the moon!!!!

I can’t even write still shaking lol!!!

Cisco DevNet Professional I managed to bypass the associate level!!!

A lot of overlapping concepts with this and GCP Professional DevOps

I will write on this later…

https://redd.it/11jln8y
@r_devops
Licensing temporary Windows Servers on KVM Hosts

So I’m trying to figure out how to license Windows Server for temporary dev & test servers. How do you guys do it? Do you just use the trial period or do you use some form of license?
The problem I see with the trial period is customising the image while still not starting the counter and using the current date.

Any tips and thoughts are appreciated!

https://redd.it/11jle3r
@r_devops
From Startup to Success: Why Adopting a DevOps Approach Is Essential

Learn why a DevOps approach is crucial for startup businesses to achieve success. From improving collaboration to accelerating time to market, discover how DevOps practices can help your business thrive in the competitive landscape. Don't fall behind - make DevOps a priority for your startup today. Scoop of Everything about Devops for Your Business Growth.

https://redd.it/11jqtv6
@r_devops
Getting CISCO Networking Certifications

How useful are Cisco certifications in terms of the knowledge they could provide for DevOps (If I already know the basics of Networking)? Is that worth going deeper in knowledge about networking with certifications from CISCO

https://redd.it/11k1wgg
@r_devops
Weird git branch rule

I am working on a place that has a weird branch rule.They said that 2 branches could not be merged into the main, under no circumstances.These branches are used to test stuff.If you want to test something, you should merge your branch in the test branch or another specific branch for it. Since you cannot merge these branches back to the main, what is the point?They use gitlab flow (at least that is what they claim)

It seems like these break everything I know about CI. Does anyone worked in something similar?

Edit: I forgot to mention, we are no allowed to create branch from theses 2 branchs. Theses branch's only run unit tests.

https://redd.it/11k1d65
@r_devops
How do you create your Kubernetes configuration?

I was wondering how do you create your Kubernetes resources so that everything is stable and secure.
There are many ways of improving the quality of the artefacts created, but I wonder if you are actually dedicating some effort to generate the best configuration manifests possible, or getting it out of the way.

View Poll

https://redd.it/11k5m75
@r_devops
Legality of employer not paying for oncall?

My employer capped the oncall hours they pay out. In theory it's "to give us more wlb." Post layoffs we're all now going over the limit because there are fewer people oncall. So we're working for free. Is this legal? This is in California.

https://redd.it/11k4a5r
@r_devops
Should CI/CD tooling build & deploy its own configuration and infrastructure?

An ongoing conversation I'm having with a colleague regarding our Jenkins infrastructure. Our Jenkins' deployment is specified by several layers of infrastructure/configuration-as-code: terraform, Ansible, CasC, shared libraries, packer images for build agents. Each of these is specified in git, and changes require testing, validation, packaging, and release automation.

Some such changes are currently built/tested/deployed manually. Some are managed by an external system. Some are managed by Jenkins itself. We are in a long conversation about what's the most "correct" system on which to manage these processes.

Doing things manually: pros, simple to reason about; cons, risks around human error, repeatability, velocity

External system: pros, segregation of duties, no "recursive" loops; cons, getting into a turtles-all-the-way-down situation

Self-management: pros, fewer cicd platforms to maintain, pipeline code written using same syntax and elements as other pipelines; cons, if a bad release breaks CICD you might lock yourself out, any vulnerabilities in the CICD platform might be magnified if it has permission to alter itself.

This question might be more relevant for self-hosted solutions than SaaS tools. However, to those who would suggest we move away from Jenkins: (a) easier said than done, there's a decade of technical inertia behind our installation that would need to be migrated to a another tool (b) it's stable, performant, and well understood, there's no urgent business need to migrate (c) the theoretical problem would certainly exist with any other self hosted tool, and would have arguable parallels in a SaaS solution.

This isn't an urgent problem, things work mostly pretty well. I'm more interested in what an idealized architecture would look like, and how other people are approaching this topic.

https://redd.it/11k6nip
@r_devops
How many of you manage Kubernetes on remote servers vs cloud managed servers?

I have yet to meet somebody who is managing K8S on remote servers, as everybody I know is doing K8S the cloud managed way (mostly AWS). Is this industry standard at this point?

https://redd.it/11ka9hi
@r_devops
Looking for feedback on first DevOps Strategy

So my company is redesigning our websites, and as such we are building everything from scratch including our git and github repos. We are a small team (5) devs. But our website is quite sizeable (\~5000 pages) its almost entirely static content for products and documents. We have no DevOps person persay but since i have the most experience with github and our deployment tool i have become the defacto devops person. My concern is I have no actual training in this area but neither does anyone else. I would like to get some feedback on the strategy i am planning for this project.

​

So what I have planned out thus far:

We have 1 repo with all the website projects in it. I want to define 4 Special protected branches.

1. main branch: will be the primary source of code all other branches will be based on it.
2. Production branch: will be deployed to our server for live hosting
3. Staging branch: for testing features in a live environment
4. Development branch: for developing new features that require a deployment but do not need access to production databases

My idea is that we will use these branches to do testing and deployment and then create feature branches when we are added new features based on main.

​

We are using Github actions to automate deployments via Octopus Deploy to a windows 2019 IIS Server.

The workflow is fairly simple and i think will work for our intended purposes, however I am weary about keeping the git branches inline. What are the best ways to deal with this?

​

Also any feedback in general is welcome.

Thank you.

https://redd.it/11kdge1
@r_devops
Upload Ansible Scripts as Artifact in JFrog?

Is it possible to upload Ansible Script as an Artifact in JFrog? And that will be called by my AMI Setup from BitBucket repo.

https://redd.it/11kd535
@r_devops
thoughts on aws/live coding interview

Hey everyone, I I a technical interview coming up where I was told that I will have access to an aws account with basic coding, possible kubernetes, and fixing some stuff in an account. I have worked with aws for a few years hut have mever been in a "hands on live" interview like this. What is best to prepare or things you can think of that will be best ways to practice?

https://redd.it/11kc7gz
@r_devops
Would you say developing an application is DevOps?

I was hired for a DevOps role, and for some time I think I could say I was indeed working on a DevOps role (working with monitoring scripts, iac) but what I've been doing lately is developing an application. I can't say I'm not learning anything, such as working with the cloud, because this application does provision stuff on the cloud. But this application is actually part of the product that is sold by this company.

So I have to ask, would you say this is DevOps?

https://redd.it/11kja7m
@r_devops
Describe your thoughts on Agile in five words or less.

Title says it all

I'm giving a talk on this

All viewpoints welcome!

https://redd.it/11kj08e
@r_devops
1 WEEK TO GO: Register for Python Web Conf Today!

Join Pythonistas from around the world for the 5th annual Python Web Conference (March 13-17). Tickets include 5 days, 65+ live talks, expert-led tutorials, social events, an exclusive pass to all conference recordings for 90 days, cool swag and more. Don’t wait, buy your ticket today!

That's not all, we're offering an exclusive 15% discount code for past Python Web Conference attendees! To register, use the discount code "PastPWCAttendee” at checkout or check out this link 👇

https://ti.to/six-feet-up/python-web-conf-2023/discount/PastPWCAttendee

Full Schedule: [https://2023.pythonwebconf.com/schedule](https://2023.pythonwebconf.com/schedule)
Register today: https://ti.to/six-feet-up/python-web-conf-2023

See you on March 13!

https://redd.it/11kk0u5
@r_devops
Maven for devops engineer in jenkins pipeline

I’m managing jenkins pipeline for java application and whenever it gets to maven - it’s complete darkness for me.
Is there a good resource to learn maven, maven commands, pom.xml, jar files etc enough for devops engineer to feel comfortable troubleshooting/fixing jenkins pipelines?

https://redd.it/11knoo9
@r_devops
Help with Deployment for a DevOps Beginner.

Hi,
I'm a beginner to AWS/DvOps and am having a hard time implementing my project. Basically I have a public APi I want to host and give access to the public. I have bought the domain e.g. example.com on NameCheap and want to host the API on a subdomain like xapi.example.com.

I have a few questions regarding this. ( Most cost effective way will be preferred)

TLDR on my project.
* Domain bought on NameCheap
* API hosted on AWS AppRunner
* Using AWS RDS as primary database.

1. Do I need to use AWS Route 53 at all at this point ?
2. If not, then what's the option you recommend ?
3. If yes how to use AWS Route53 in this scenario ?
4. I want to add SSL protection to the domain also, how can I achieve this.

Thanks a lot.

https://redd.it/11knj54
@r_devops
How to CI/CD for Azure Virtual Machines

I currently have an Azure VM running a docker complex application (website, API server, Redis cache) built with docker-compose, using images pulled from an Azure Container Registry. Right now, when I push to the respective Github repos I have a GH workflow to build and push to the Azure Container registry. The issue though is that right now I have to manually SSH into the VM, pull the new images, and run docker-compose again. This of course is not very CD on my part, but I don't know how else to do it. I have looked into CI/CD in an Azure VM using Azure DevOps, but all the tutorials and examples I find online I find hard to adapt to my use case. Is there a way to automate the pulling of the images and re-deployment in the Azure VM? Or is there a totally different way to do this that's much better?

https://redd.it/11kefcs
@r_devops
Remote state isolation with terraform workspaces for multi-account deployments

I decided to try terraform workspaces instead of using wrapper script for managing environments and especially the remote state. I wrote a small blog post on how to segregate the access to the remote state, given tf creates a state key in a single bucket https://ifritltd.com/2023/03/05/remote-state-isolation-in-multiple-environments-with-terraform-workspaces/

https://redd.it/11kikb3
@r_devops