Reddit DevOps
269 subscribers
4 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Docker Question

Can anyone please answer the following question related to docker.
Two dockers are running on two sperate hosts. Hosts not able to ping or communicate to each other. Can docker ping or communicate each other without changing hosts network configurations and how?

https://redd.it/10ozgu1
@r_devops
Manually run cloud-init user data on bare-metal



We have a cloud-config made for virtual servers and we want to remove the virtualization layer and have the same setup on bare metal server. Is it possible to manually run that cloud-init user data script on the bare metal servers, after the server setup ? (OS install - Centos 7)

I have read about nocloud datasource for cloud-init and configuring os setup to fetch cloud-init data from an usb drive but for me it's not possible, I must find a solution to run run my user data via cloud-init manually after OS was installed

https://redd.it/10ou73c
@r_devops
Senior Devops to Staff Devops

I have been working as a Senior Devops Engineer and have a total experience of 7 years.
I am about to move to a new organization where I'm offered the role of Staff Engineer Devops.
How should I transition from my current role to new role smoothly?

https://redd.it/10ou6rm
@r_devops
Is freelancing better than full time jobs ?

Hello I am software engineer student with experience working as a serverless engineer, i just got my aws developer associate certificate and I started working as a DevOps Engineer , also started getting jobs on upwork
Now my question is, should I pursue my career as a freelancer or focus on my official job

https://redd.it/10omqsy
@r_devops
Learning Jenkins, is it still good?

I recently started learning Jenkins. I set up a Jenkins multi branch pipeline for a React project that installs npm dependencies, runs tests, builds, and then builds the static site it to a docker image and uploads to my registry. Overall, this process was a bit of a pain in the ass because the Groovy language is odd and testing takes like 4-5 minutes each time. For instance, I had troubles with the last step and I could only test it by going through the previous ones which took at least 4 minutes each time. I also had issues with the specifying the agent, where if I wanted the last step to not run in a docker container I had to move the agent declaration to the each of the previous 3 stages instead of keeping it as the default agent of the pipeline. I have not yet been able to figure out how leave it as the default and to just specify for certain stages to not use that agent.

So I am wondering, am I alone in finding Jenkins a little bit annoying? Should I continue learning it? Should I learn a different tool for CI/CD?

https://redd.it/10ofizp
@r_devops
Lambda to ECS

Hi! I'm building a web-application for doing file operations like converting formats or optimizing file size. I'm running this on Lambda functions and it works properly, but I know Lambda's not the most suitable architecture for converting a 20 min video from .MOV to .MP4 because it takes too long and if I get some traffic the costs can go high.

I'm thinking about migrating some of these "heavy" processes to ECS, and the architecture I have in mind would be something like this:

Current architecture: Our API backend receives the conversion request, calls, and waits for a lambda function until the conversion is finished.

New architecture planning: Our API backend receives the conversion request, creates an SQS message that spins up an ECS task for doing the actual conversion, and of course all of this would be asynchronous

​

Do you think it's the correct decision? Would you suggest another approach?

https://redd.it/10oaz40
@r_devops
How Does an Open-Source Workflow Engine Support an Enterprise-Level Serverless Architecture?

https://kubevela.io/blog

https://redd.it/10pskxl
@r_devops
Using ssh keys with ansible drone plugin

Hey there

I'm trying to switch to drone. I'm stuck in a situation where I need to use ansible drone plugin with my ssh key which is stored in secrets and passing the secret to plugin. It doesn't work.

Can anyone help me to figure out.

https://redd.it/10nygtl
@r_devops
Is it possible to have a reverse proxy for my setup with NGINX?

Hi, I'm currently working on a fullstack webapp, where I have two dockerized images:

A frontend in ReactJS that runs on port 3000 and is mapped to 80 on my digitalocean droplet

A backend in Node.js that uses Express to have REST apis (like /getinfo/:user or /postuser/:name) running on port 3001

Everything was working well when I just ran both of these images simultaneously on a droplet when it just had HTTP. Recently, I have added CloudFlare to my website which comes along with HTTPS, however, it seems Express doesn't really seem to work well with HTTPS (as I've tried with a seemingly endless number of solutions), and the preferred method is to have an NGINX server that acts as a reverse proxy to handle these requests as HTTP so that the Express server can handle them without me needing to modify the code.

The problem is, I have no idea how to do this, nor where to start. I've been searching the web for about 8 hours today trying to find a solution, trying several things, and none seem to work. Is there any way I can be pointed in a direction that could help me? It's been very frustrating basically being 'done' with everything except this last issue.

https://redd.it/10nt7wi
@r_devops
DevOps Learning

I’m a support manager with 14 years of work experience in Linux/MySQL support. I’m interested in learning about CICD/ Docker, other DevOps tools however I feel overwhelmed after learning one tool. I just finished a course on Git and have started learning Docker. Please help me with the order in which I should learn other DevOps tools and which ones. Thanks !

https://redd.it/10pwg7x
@r_devops
Revert merge changes on feature branch in Jenkins pipeline if build fails

Edit: my feature branch is connected to a website and I’m running selenium on it so I kinda have to push in the beginning when I merge the feature branch.


My Jenkins is set up so if someone makes a pull request to the main branch a Jenkins build is triggered with three steps
1: merge pr branch to feature branch
2: run tests on feature branch
3: merge main branch with feature branch and close PR

If steps 2 and 3 fail or have any error but step 1 passes I want the feature branch to be reverted.

I have an I’d statement to revert but idk if it’s right:

Failure{
Script{
If(currentBuild.result=="Failure" && (currentBuild.currentStage.name== "step2"|| currentBuild.currentStage.name== "step3")){


code to unmerge



Thanks so much.

https://redd.it/10pvshe
@r_devops
Different content but static URL

We want to have the internal report private. After every (main branch) pipeline run, we want the static URL to have the content updated with the new updated report. Is it possible to do this? I can use AWS or azure

https://redd.it/10pwri9
@r_devops
What are the problems that people are facing right now with different cloud providers?

I am building something in DevOps and I am reaching out to other users about the struggles they face while deploying their applications on several cloud providers like Digital Ocean, AWS, etc. What are the problems they want to be solved? Is it the dashboard UI/UX, pricing model, or the environment?

https://redd.it/10q0b5i
@r_devops
WireMock is an API platform that is designed to improve developer productivity and enables developers and testers to Mock APIs in every stage of the API lifecycle

Hey all! I'm part of the team that developed WireMock, an API platform to improve developer productivity. WireMock enables developers and testers to Mock APIs in every stage of the API lifecycle - allowing teams to reduce dependency on 3rd party APIs and develop much faster. WireMock is open source software and WireMock Cloud is built on top of it.

Some of the features:

Mock in minutes

It’s quick and easy to mock any API you depend on. Use the UI to create a mock manually, record an existing API to create a stub, or import an OpenAPI spec.

Request matching that gives you maximum flexibility to implement your business logic

WireMock Cloud enables users to define request matching by post body, request match methods, URL matching methods, headers, query parameters and cookies. In addition, users can set request match priority for cases in which there is more than one mock mapping in the list that would match a given request.

Dynamic responses with advanced templating

WireMock Cloud enables easy dynamic response creation via request variables as well as advanced response manipulation.

See how your code responds to unpredictable API behavior (chaos engineering)

Calls over a network to an API can be delayed for many reasons, such as network congestion or excessive server load. For applications to be resilient they must be designed to cope with this inevitable variability, and tested to ensure they behave as expected when conditions aren’t optimal.

WireMock stubs can be served with a fixed or random delay, or can be “dribbled” back in chunks over a defined time period.

Let me know if you have some question or suggestions on how to improve.

https://redd.it/10q1pl8
@r_devops
Has anyone used env0?

My team lead is heavily touting it for use as Terraform automation in our pipelines. I have a terrible bias against this sort of SaaS solution. It has some very nifty looking features. But to the cynic in me it looks rather gimmicky, style over substance and something that might be used by a large company that lacks the staff needed to build their own solutions. There are some nice concepts it uses but I can’t see anything it offers that I’d be afraid of building ourselves, with the help of some open-source tooling

Anyone know much about this tool that might confirm or refute my feelings about it?

https://redd.it/10pzpku
@r_devops
How many of you actually do woodworking?

I've noticed it gets brought up often, pick up a hobby... Do woodworking. So my question is, how many of you DevOps folk actually do woodworking or is it just a jest answer?

I'll go first. I do. I'm in the middle of learning pocket holes to make a small bookcase

https://redd.it/10q1ovt
@r_devops
Is there a way to integrate a GitHub actions manual-approval step with a notification to a Slack channel?

Hey there,

I'm wondering if anyone is aware of a repo or example of a github actions manual-approval step triggering a message to a Slack channel (using a slack webhook url or even api token), which can then be clicked on to continue the pipeline?

​

thanks!

https://redd.it/10q2mnu
@r_devops
Kubernetes Workshop by Komodor - anyone joining?

Hey,
I saw that Komodor has a workshop today for Kubernetes and showcasing their platform, is anyone planning to join?
Have you tried it out?

https://redd.it/10q2m10
@r_devops
who do you follow?

Like title says, who do you follow on YouTube, Instagram, blogs.. etc.. To keep up with technology or learn quick new things?

I like to follow NetWork Chuck on youtube, I think he explains things very quickly and easy to understand.

So who do you like to follow on social media to learn, refresh, find out about new things?

https://redd.it/10q4mna
@r_devops
Noob Chef Attributes Question

in a default.rb file, what exactly do the value in the brackets stand for?

For instance,

default['apache'\]['app1'\]['version'\] = "8.1"

I have some idea, but I am still confused about how this is all organized and the general syntax.

https://redd.it/10q9ltf
@r_devops
Best CI system on Kubernetes

Hello all,
I’m looking for best CI system which can be placed on top of Kubernetes. I don’t have deployment part, however my team build and test a lot.
I have two main requirements:
1. Good integration with GitHub
2. Developer friendly

Now we have Jenkins(which seems to be too complex for my devs).
And a few GitHub Actions, however here I miss good self-hosting option, especially for aarch64.

My initial thought was Teton which isn’t very developer friendly for non-k8s developers.

Do you have any suggestions or opinions?

Thanks a lot!

https://redd.it/10q1xuk
@r_devops