Reddit DevOps
269 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Ansible Playbook Quality Scanner

Our team developed this free [Quality Scanner for Ansible Playbooks](https://scanner.steampunk.si/#/) that gives you an instant quality score of your playbook with tips on how to improve it. You can use it to:

* Check if you are using deprecated modules
* Determine fully qualified collection names (FCQNs)
* Detect common usage antipatterns
* Identify certified Ansible content
* Find module name clashes

Feel free to try it out and let us know what you think. The scanner is currently in the testing phase, so your feedback would be helpful.

https://redd.it/nvupk5
@r_devops
What is Continuous Delivery?



Technology is advancing at a breakneck speed, and customers expect to experience that from their service providers and products. In today’s fast-paced world, technology is advancing at a breakneck speed, and customers also expect the same speed from their service providers.

Continuous Delivery is a DevOps methodology that enables development teams to deploy changes such as new features, configuration, bug fixes, and experiments into production safely and quickly in a sustainable manner. The continuous delivery process requires a collaborative approach from different stakeholders in a software delivery process such as developers, operations, and testing teams. It streamlines the complexities of software delivery into a pipeline model that allows for a smooth flow of codes/changes from developers into the hands of end-users.

We refer to this pipeline as a DevOps CI/CD pipeline that allows organizations to deploy code changes to test and production environments through a repeatable and automated test release process empowering developers to release changes on demand.

Read the full post on Continuous Delivery here

https://redd.it/nvvlkq
@r_devops
Advice on helping pave the path for DevOps in IoT for a research scientist

Background: I have been working as a Research Scientist for an Institute focused on Industries and Production Engineering for about 4 years now. My educational background is ICT Engineering and enjoy programming. I am very active in Open-Source Communities and have a developed good skills in IoT and IIoT (shows through my published work as well as my software portfolio on GitHub).

I really am getting a good vibe about DevOps as a concept because it is enabling me to learn all tools that can make me independent in my development work i.e. My Code + My CI Pipelines + My complete loop of Operations.

AFAIK and understand, a lot of DevOps focuses on Web Tech, granted IoT is part of the Web but the paradigm itself uses a lot of different protocols that generally don't get deployed on machineries, sensor nodes, wireless gateways etc.

I am looking for some guidance on how does DevOps + IoT path would look like.

Skills I am good at:

- python, c++ (arduino), Yocto/OpenEmbedded, TSDBs (time-series DBs), Sound IoT Protocol (MQTT, CoAP, CBOR, etc.), git, docker, docker-compose, basic CI pipeline setups using Travis-CI, GH-Actions

- Currently learning: Rust, Kubernetes, golang
- Willing to learn: ansible, terraform, a Cloud Platform

But with a narrow focus on IoT and Operations in Industries.

https://redd.it/nu8hus
@r_devops
Automation / Scripting

Hi everyone !

Does anybody knows the best way to build and provide a service that can be hosted on the cloud, receiving a file in IDML format from Adobe InDesign (via HTTP POST ideally, possibly FTP or other) able to provide in return the full PDF version with the most faithful rendering to that of InDesign, either via HTTP return or possibly deposit on FTP or cloud storage ?

I would be happy to exchange on the topic, as i encounter some troubles with it.
Thnks :)

https://redd.it/nuc7ky
@r_devops
Gamify Twitter with Prometheus and Grafana on Kubernetes

Hi everyone,

I personally have Gamified my Twitter banner with Prometheus, Grafana and some custom Python code on Kubernetes. I've made a write-up for inspiration: https://www.civo.com/learn/using-civo-kubernetes-to-gamify-twitter-with-prometheus-and-grafana

(And yes, It's more intended for FUN and just hacking around, rather than very serious business ;) )

https://redd.it/nvzpor
@r_devops
Reducing data transfer costs with a Docker registry cache

Reducing costs has been a focus area for us ever since the COVID pandemic started. We recently published a blog post on this topic. One of the prominent contributors to our AWS costs was the data transfer of our internal Docker registry. https://lambda.grofers.com/reducing-data-transfer-costs-with-a-docker-registry-based-cache-8f93d7e561f3

https://redd.it/nvz7pm
@r_devops
Log management solution

Hey, so I'm in a need of a log management solution.

What is the best log management solution for a small startup and why?

https://redd.it/nubl10
@r_devops
What is a cool thing I can show high schoolers who learn programming that will be interesting to them?

Hey all,

I'm a DevOps engineer and I got this feeling that I want to go and volunteer somewhere.

I came up with the idea to go to my old high school and show them something DevOps-related that they might find interesting and if any of them want to, I could teach them a thing or two.

Now I'm trying to think what in our field would be interesting but simple enough that high schoolers could enjoy.

I could always just do a docker demo or IAC type of thing but I don't know if they'll find it interesting.

What are your thoughts?

https://redd.it/nw3p8l
@r_devops
Best monitoring tools for clouds?

I would like to know if you have used some monitoring tools and what are the best for cloud like Azure, AWS, GCP, etc. I would like to implement and monitoring my resources like the VMs, the networks, the infrastructure, the security, the applications, etc. in the different clouds. I have read that some goods are datadog, appdynamics, instana.

https://redd.it/nw4ott
@r_devops
Which is better ?

Do you think it's more a enriching experience to work as a DevOps consultant and getting to work on a lot of different projects or as a DevOps engineer working on same company projects ?

https://redd.it/nw5i2q
@r_devops
How Quickly does your org react to change? How is the decision made to adopt new technology on the market?

I've been interviewing for Kubernetes focussed roles lately and I've been wondering, how companies even knew to make the switch before adoption was widespread? Who are these early adopters with 5+ years of experience and how do they know when a new technology is going to come out ahead? How do you convince your org to switch when an emerging technology is on the market? Just curious what the thought process is in general.

https://redd.it/nw6a1d
@r_devops
How do I show a devops portfolio?

I am learning devops and want to get a job in the field. It was suggested that I put together a portfolio.

I have a website I can put it on, but I don't know what it should actually be.

Other than links to the github repos where the dockerfiles, jenkinsfile, and helm charts I create are... what could I actually show? I usually fork a java or node repo and then add all of the pipeline and docker files to it. Should I have screen shots of the command line outputs showing everything is running?

https://redd.it/nw6jvd
@r_devops
Add pipeline for a new repository

I am new to CI/CD. We have an existing pipeline setup that triggers the build automatically. How do I build a pipeline for a new repository? Thanks.

https://redd.it/nwa5l9
@r_devops
HAProxy+xinetd+galera - Connection reset by peer

Hi guys!

​

I have a simple galera with 3 nodes and a haproxy lb. I use xinetd for the check and my problem is that every X check return with this error message: Socket error: Connection reset by peer

image: https://imgur.com/a/Jkf44HX

haproxy config:

# MySQL Cluster BE configuration
backend pxc-clusterbackend
mode tcp
option tcpka
balance leastconn
option httpchk
server pxc-cluster-node-1
192.168.0.130:3306 weight 1 check port 9200 inter 1s rise 2 fall 3
server pxc-cluster-node-2
192.168.0.170:3306 weight 1 check port 9200 inter 1s rise 2 fall 3
server pxc-cluster-node-3
192.168.0.182:3306 weight 1 check port 9200 inter 1s rise 2 fall 3

#####################


xinetd config:

# default: on
# description: mysqlchk
service mysqlchk
{
# this is a config for xinetd, place it in /etc/xinetd.d/
disable = no
flags = REUSE
socket
type = stream
# type = UNLISTED
port = 9200
wait = no
user = root
server = /root/mc.sh
logonfailure += USERID
onlyfrom = 192.168.0.0/24
persource = UNLIMITED
}

In the script i just make a simple select and if success return 200.

I also tried to add the haproxy address in the /etc/hosts.allow file but nothing.

Have you any suggestion?

https://redd.it/nw5fkt
@r_devops
New relic Alert for VPN

I have vpn tunnels hosted on Aws. I want to create an alert if the tunnel is not responding for more than 5 minutes. Can anybody help me with this.

https://redd.it/nw0snz
@r_devops
Tell me your opinions about full-stack monitoring solutions

For those of you who have used multiple monitoring solutions, I'd like to hear your experience and your opinions about which is best and why. To be specific, I'm talking about solutions which offer log aggregation, host metrics, application metrics, APM, outside->in monitoring (synthetic checks), and alerting.

I've looked at Elastic, DataDog and New Relic. I think New Relic doesn't hold the prestige it once did. I'm my opinion, it has fallen behind it's competitors and become more of an enterprise solution. I have used DataDog briefly, and am a long time Elastic user/admin, but have never used the paid versions so no APM or "AI" features (correlation, anomaly detection, etc).

What do you all think is the best of the three, and why?

ETA: If I'm considering Elastic this time around, the paid features are definitely on the table.

https://redd.it/nwd2hn
@r_devops
How to transition from IT Analyst to DevOps?

Looking to possibly transition into DevOps.

Past:

Help Desk
NOC tech
Point of Sale Analyst
Web App Server Implementations
IT Analyst /Incident Manager at a Fintech (current)

10 YOE

I work with DevOps on a regular basis and it feels like it would be a great next step. Both in career growth and in compensation.

Figured I’d ask Reddit, what’s the top 3 things I can focus on to land a DevOps role?

GitHub actions? Azure proficiency? Python for automation purposes? AWS?

Thanks!

https://redd.it/nwevse
@r_devops
Best paas to host a wildfly aplication?

Hello everyone, in less than a week I need to put a wildfly application on one paas. It is going to be an ear and it also uses remote jms queues. There seems to be a lot of options but most of them dont support wildfly out of the box. The service has to be free because it will be used for testing for now.

https://redd.it/nwdzy3
@r_devops
How to Build SQL Database Deployment Automation Pipeline Tutorial

Hey guys,

Gijs Reijn just wrote a new blog post you may enjoy on the ATA blog.

"How to Build SQL Database Deployment Automation Pipeline Tutorial"

Summary:
Tired of manually deploying changes to your SQL databases? Learn how to to build a database deployment automation pipeline!

https://adamtheautomator.com/database-deployment-automation/

https://redd.it/nwh3yn
@r_devops