Reddit DevOps
269 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Improving our CI/CD pipeline?

We have some old CI/CD in Jenkins that runs a PRB for every open PR when a branch is merged to master. This doesn't scale well with our team anymore because sometimes we can have up to 50 PRs open.

What is a better pipeline?

I think the original thought was to ensure that all open PRs still pass the PRB when merged with new changes introduced to master

https://redd.it/scnczf
@r_devops
Devops bachelor thesis topics

Im writing my bachelors thesis in information systems this spring and am interested in writing it about devops, what are some interesting topics or challenges for devops at the moment that i could write my thesis about?

https://redd.it/scmsia
@r_devops
Should I Fake it till i make it - DevOps Interview

I am an Automation Test Engineer having 9+ years of Experience. I started exploring DevOps and its related tools and I staring loving DevOps more than QA. If i go for DevOps Interview will they consider my Automation testing experience?

Also in my current company, they are not allowing me to move to DevOps side.

Folks who successfully moved from QA Engineer to DevOps Engineer, how did you guys moved or tackling DevOps Interview when you dont have any Production/Server related real time experience.

I am also doing Side Projects(creating Pipeline ,Containerization such as) but still i dont get confidence like something "This Side Project is not a real Production servers, How I am gonna handle the real production server when i get DevOps jobs?"

Should i fake it till i make it in my DevOps interview?

my current Skill Set: Java,Selenium,Python

Skills I am learning: Linux, AWS, Docker, K8, Jenkins, Terraform.

https://redd.it/scm5qg
@r_devops
Sample applications for CI CD

Is there any list of sample application for playing with CI CD tools. Looking for list that has multiple projects in different languages.

More better if web apps which has multiple components like database, catching service, queue etc.,

https://redd.it/scj31a
@r_devops
Free intro to Linux commandline/server course starting 7 February 2022


This free month-long course is re-starting again on the first Monday of next month.

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

The course is free, and daily lessons appear in the sub-reddit r/linuxupskillchallenge - which is used for support/discussion. A discord server is also available.

More details at our FAQ.

Any feedback is very welcomed.

https://redd.it/scm480
@r_devops
How long do your pipelines take?

I feel mine are quite slow and its adding too much friction, mainly the E2E tests. But then again I am not too sure what expectations are.


1. Build PR: 8-10 minutes
1. Runs unit tests, and produces a build
2. Release to PR environment: 2 minutes
3. Run E2E tests against PR: 20 minutes

If E2E finds a bug it will take 30 minutes to re-run. If E2E test needs updating it takes 20 minutes to re-run. I run the E2E tests individually for any that I am fixing.

On the plus side the E2E tests are picking up lots of subtle changes, and finding bugs in about 1 out of every 3 PRs.

So how long do your various pipelines take?

https://redd.it/scqn87
@r_devops
NGINX 404 issue on mobile

i have an nginx web server running on a linode. it's configured to redirect requests made to a certain domain, https://example,com to a netlify app, and then a subdomain as well, https://mobile,example,com to another netlify app. it had been working fine, until today.

now, users on mobile who try to access https://mobile,example,com get a 404 error. it works fine on desktop.

furthermore, if a mobile user accesses the root domain AND THEN the mobile subdomain, it also works normally. any pointers on how to fix this?

https://redd.it/scl3a2
@r_devops
app slowness - root cause

looking for examples of general app slowness complaints that took hours/days/etc to nail down and what the root cause was?

​

how did this issue manifest itself within tools/what clues did you have that lead you to the root cause

https://redd.it/scjgdj
@r_devops
What path should i take to be able to run a web-based application and server from home?

I plan on starting a company within the next two years to piggy back on a company im invested in. Resources are minimal right now but they will scale up through the year.

This new company i want to start is going to be primarily based on a Mobile app/Web based app.
I plan to run the server from my home for the first year or so (mostly due to protecting Intelectual Property).

I am learing Linux for the security and server maintance knowledge.

Im not sure where to go after Linux. I know i will need to learn some coding languages. I figured C & C+ shluld be my next goal?

I would love your feed back. I am very new to development and coding.


Once i complete proof of concept i plan on hiring a full time DevOps team. I need to know just enough to build the app.

https://redd.it/scla2a
@r_devops
Advice for a DevOps Beginner

I'm an intern at a startup company and I am lucky enough to have a unique position of being able to work with the development operations team.

I have been with my company for a while (6 months), and I am learning new things but I'm not where I want to be. I want to have more technical knowledge of what we do rather than debugging problems as they show up.

If anyone has any advice, articles, or book recommendations for AWS, Terraform, Kubernetes, Dynatrace, Veracode, and Helm, I would really appreciate it.

https://redd.it/scyobu
@r_devops
Which libraries are instrumented with OpenTelemetry?

Is there an overview of popular libraries and frameworks that are already instrumented with OpenTelemetry?

https://redd.it/scamcq
@r_devops
Importance of the git platform in the interview process

Hey folks, I started to set myself for a company change , but did not start the interviews process.
I have a lot a code, terraform modules, terraform wrappers, Ansible stuff, and python scripts that I keep on my gitlab account , mostly as a portfolio.
I personally love gitlab and use it a lot, but I feel like employers always asks for GitHub accounts, and I'm not sure they would even take the time to check a gitlab repo.

Those of you , who are recruiters on in the interview process, has the git platform any kind of importance ? Does it even matter ?
Any insight would be great, thanks buddies !

https://redd.it/sd0ct1
@r_devops
I'm on a team design quest.

As time move forward, mecury is in retrograde (I'm still on earth 0), the way teams or org work evolve. I'm researching evolution paths and other team experiences.

A. My current model is centralized with promoting tools and process with self service tool any developer can use tool and process to achieve a goal.

B. A model of centralized platform with individuals joining for short periods to rollout tools and process changes. (These may be evangalists, oh my!)

C. A model of adding a devops member to each team with decentralized platform at a team level. Adding a guild as a working group to improve tools and processes.

D. A model of adding a devops member to each team with decentralized platform at a product level. Adding a guild as a working group to improve tools and processes.

​

1. What's your current team structure?
2. What are the pros and cons of your structure?
3. With you being in this structure for a while, how did the idea of how the team would work vary from the actual team work?

https://redd.it/sd14jz
@r_devops
Learning devops with 'why' resources (as opposed to 'how')

It seems to me that most learning resources focus on the how of devops (here are basic docker commands, here is how you write a config file for IaC product X, here's how to add a a load balancer to a k8s cluster), but, for me, that doesn't help much to get a handle on how all these tools fit into a bigger picture, and perhaps more importantly, what necessitates them.

Hoping someone can point me towards resources that introduce one to devops technologies by first explaining the situation - in detail - that would lead to their adoption by a small to medium sized company.

I found on another post a link to some 'real world scenarios' but they all seem like they are starting in media res, and assuming the audience has a good grasp on what their architecture was before they made some big change.

My ideal would be a hands on kind of course that walks you through the major changes over a multi-year timeline of a small company that grew to a medium size company and the new technologies they adopted to make things more efficient/easier or that they were forced to adopt due to failures of their earlier architecture.

Sorry if this comes off as pointless grumbling, i know there are many resources out there.

https://redd.it/sc7n37
@r_devops
Centrally manage GitHub actions

GitHub actions are really great and powerful but I guess the main problem is to manage them centrally. We have over 1500 repos in GitHub organization (enterprise account) and we want to manage workflows effectively

Current solution -
1) Have a central repo with logic.
2) Add workflow files in each repo to checkout our central repo and execute main file with GitHub event

I was looking for some general and cleaner solutions to manage workflows centrally

I was thinking if it's possible to have .github folder as a submodule instead . That way, we can have a central repo for workflows.

Curious to know how you guys are managing this !!

https://redd.it/sd3jy0
@r_devops
Devops / VS2019 - Branch history vs sub branch

So I'm branching out from DEV to work on a complicated change. I merge down ever so often, from the main DEV branch.

Mind you Sub branch (DEV6312) is less than two weeks old!

This morning I'm ready to merge up, but I wanna merge down first, this is VS2019/Devops comparing the two branches:

https://ibb.co/W3631dR

WTH man, get your ducks in a row studio and Devops!

And; What are we doing wrong?

https://redd.it/sd33fr
@r_devops
Coupon code plugin for front/backend

Could you suggest some 3rd party plugin that helps integrate coupon codes?

​

For example, when you register on https://www.printful.com/ you get a coupon code that gives you a -30% discount. And coupon expires in 24 hours.


We want to use it on a custom-built website. We don't use WordPress or smth like that.

https://redd.it/sd5fn8
@r_devops
Running Terraform Cloud from Ansible Playbook

Hi Guys

I see a lot of information and documentation on the topic of integrating terraform and ansible and usually its always something like "run terraform (from local CLI or via Terraform Cloud) and then automatically run some ansible playbooks on the newly created machines via terraform".

As we are heading towards ansible Tower (RHAAP) it seems like it would be a lot more convenient to do this the other way around: controlling terraform cloud via ansible playbooks. Im thinking about using the URI Module to start API-Driven Runs on Terraform from ansible.

Does anybody have experience with that or knows any ressources / example solutions?

https://redd.it/sd72qc
@r_devops
API Traffic Viewer for Kubernetes



Hey all! I'm part of the team that developed Mizu, an open source on [GitHub](https://github.com/up9inc/mizu?utm_source=reddit&utm_medium=devops) \-[API Traffic Viewer for Kubernetes](https://github.com/up9inc/mizu) \-TCPDump and Wireshark re-invented for Kubernetes.

Features

* Simple and powerful CLI
* Monitoring network traffic in real-time. Supported protocols:

* HTTP/1.1 (REST, etc.)
* HTTP/2 (gRPC)
* AMQP (RabbitMQ, Apache Qpid, etc.)
* Apache Kafka
* Redis
* Works with Kubernetes APIs. No installation or code instrumentation
* Rich filtering

How to Run

1. Find pods you'd like to tap to in your Kubernetes cluster
2. Run mizu tap
or mizu tap PODNAME
3. Open browser on https://localhost:8899
**or** as instructed in the CLI
4. Watch the API traffic flowing
5. Type \^C to stop

[Download](https://github.com/up9inc/mizu#features)

[Download Mizu for your platform and operating system](https://github.com/up9inc/mizu#features)

https://redd.it/sd7czr
@r_devops
Unit-tests and production

Hey guys,
I’m really new at this and I’m still trying to learn. There’s something I don’t get about CI CD.

The way I see it unit tests are done by developers. Since they’re at micro level.

So let’s say a developer is working on a feature on a separate branch and then pushes said feature and initiates a pipeline.

Assuming all unit tests and whatnot passes, the next step would be to rebase the feature onto the master and initiate another pipeline and deploy to production, right ? I’m assuming this is also the responsibility of the developers. When doing that are they throwing the test files into gitignore/delete them ? Because they have no reason to be in production.


Also I’d like to know what’s your role in CICD? My friends who work in DevOps don’t really write tests, at all, like none. They more or less construct pipelines based on tests the developers give them and pre existing templates. Is that the common approach ?

Thanks.

https://redd.it/sd8wlg
@r_devops
PowerShell Master Class lesson one passes 300,000 views. THANK YOU!

Another nice milestone 🎉. Lesson one of the PowerShell Master Class hit 300,000 views! I keep this updated with recent new lessons around version 7, debugging, secrets and more.

https://youtube.com/playlist?list=PLlVtbbG169nFq_hR7FcMYg32xsSAObuq8

https://github.com/johnthebrit/PowerShellMC

PowerShell is cross-platform and such a useful tool to have in your belt.

#powershell #azure

https://redd.it/sd6j9r
@r_devops