Reddit DevOps
274 subscribers
66 photos
32.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
DevOps on Linux Terminal

I am trying to groom a community of students with only Linux terminal devices. I am new to DevOps, but been programming for about a decade (Nothing intense, mostly vanilla).
What tools for a DevOps pipeline can one work with entirely on Linux Terminal?

### What I currently offer them:
- Linux commands (basics and intermediary)*
- Neovim
- Git
- Github (gh)
- Mariadb/pgsql (sql)
- Docker

### What I think should be Added (I have little to no experience with some of the tools):
- Kubernetes basics (kubectl)
- Ansible/Terraform/Some other IAC basics (I don't know which plays better with the Terminal)
- AWS CLI basics*
- GCloud CLI basics
- Azure CLI basics
- Digital Ocean CLI basics

**What do you think? What will you add or remove? I'll really like thoughts on IAC of choice for Linux terminal.**

(*Cloud CLI basics mean like VM and container provisioning)

https://redd.it/m44sw4
@r_devops
Prometheus Metrics using CLI

Hi there,

I have a test case, wherein I have to deploy Prometheus to capture the pods and node-specific metrics, such as metrics exposes by node exporter and Kube-state-metrics? The servers are very isolated with no connectivity to the web UI or any dashboard? Need some help to understand, how can we get these metrics in JSON or any other format using any CLI tool? Because of the environment restriction of no access to the web UI or dashboards, cannot deploy Grafana? Your suggestions will be a huge help.


Thanks,

https://redd.it/m4lb3x
@r_devops
Looking for CD tool that tracks git commit

Hi, I’m looking for a CD tool that can track if a git commit reaches a certain stage. Is this something commonly offered or am I asking for too much? 🙏

https://redd.it/m41xx2
@r_devops
Secure Mailserver

I plan to create an absolutely secure mail server. Is it enough to not connect it to the internet?

https://redd.it/m488ag
@r_devops
RN CI/CD

As part of our startup, we are building 3 RN apps and I want your recommendations for a suitable (not expensive) CI/CD solutions.
Any Ideas?

https://redd.it/m408ax
@r_devops
INTERVIEW Q

Hello Guys,

I want to create one file that file name must be same as username of the system by Ansible in 10 different System.

https://redd.it/m44z5j
@r_devops
Battle-tested way to configure a Jenkins server on AWS using IaC/CaC?

Hi, I'm working on a project with mission critical aspects where we need to deliver changes to APIs, web apps a couple times a day. I have a task to have everything done by code. I'm trying to decide on a good practice to deploy the Jenkins server on AWS. Also, I'm not sure if the server has to be a highly available server or not, on what factors is that decided?

Any recommendation is appreciated. Thanks!

https://redd.it/m5207h
@r_devops
How can I change Jfrog Artifactory mimetypes.xml file if I use Artifactory Cloud

Didn't find a way to change it since I don't see a way to access the file on the backend

https://redd.it/m50lh4
@r_devops
Preview environments per Pull Request using AWS CDK and Github Actions

Hello all, I published my first tech article explaining the steps to create your own isolated environments in your Github Pull Request using the awesome AWS CDK.

Here is the link : https://dev.to/jgoux/preview-environments-per-pull-request-using-aws-cdk-and-github-actions-bfi

​

It was a great experience writing it. :)

https://redd.it/m4zyji
@r_devops
Software download portal

A little gig on the side resulted in me writing some software for a few companies. This has now turned into something that is more seriously used and downloaded within a few companies and I find myself needing some sort of download portal where logged in users can come to download whichever version they want.

I've looked at offerings from JFrog, Gitlab, Github, and even some WordPress plug-ins but I have no idea which to use. Github/lab both seem to be focused on being source code repositories that I could force to act like a download portal. JFrog has support for managing distributions, although it seems to be tied to some CI/CD, which is more than I want.

I know this isn't exactly DevOps but this was the best sub I could think to post this to.

https://redd.it/m4r33j
@r_devops
Monitor hardware usage from your mobile phone

We have developed an open-source tool to monitor hardware usage from your mobile phone.

The app shows two views for each metric, summary and detail views. Summary views would help you to quickly scan and understand your hardware usages. You can use detail views for more in-depth analysis.

For example, our CPU summary view shows the mean utilization of all cores and the detail view shows the utilization of each core.

Github : **https://github.com/lab-ml/labml**

Writeup: **https://github.com/lab-ml/labml/blob/master/guides/hardware\_monitoring.md**

Samples:

Live Session: **https://app.labml.ai/session/dc3645d86d0111ebae8706496fd25a7e**

Stopped Session: **https://app.labml.ai/session/41b0f9427cc711ebb12e0242ac1c0002**

Supports the following,

1. CPU Utilization
2. Memory
3. Hard Disk
4. GPU Utilization
5. GPU Temperature
6. GPU Power
7. GPU Memory
8. Network

We love to hear your feedback and suggestions. Thank you all and I appreciate the support.

https://redd.it/m4ojkz
@r_devops
How to automate/synchronize large data in two servers?

I need to keep changes to a ecommerce goods up to date between two environment called Production and Development. The ecommerce goods list on Production is huge and does not change frequently, but those changes take up a lot of time for someone to add,update or remove from the Development Admin panel.
Can somebody describe me a way so that changes made on production is also reflected on development server? We can assume that there is a unique product_id for each product matching in both server.
Thank you!

https://redd.it/m4ni7q
@r_devops
An outage is a lot like children; you don’t really get it until you create one.

It’s why sometimes the 3am rule comes into play. Where the decision goes to the person who would get the 3am call.

https://redd.it/m4gzq5
@r_devops
Passing json objects as parameter but how do I ssh into a device to reboot?

Currently have something like this on Jenkins testing my RPI but need to ssh into the RPI to use curl command reboot with update. How can I write this? Any idea? Couldn't find anything online.....

​

JSON object file as parameter

{

"device": {

"Google Home": "Jarvis",

"Apple Home Kit": "siri"

}

"reboot": {

"reboot": "curl -I 'https://localhost:2004/etc/etc/etc \-X POST -H etc'

*This does not work since I'm not ssh into the device and using IP instead of localhost will not be allowed*.

}

}

https://redd.it/m5c96q
@r_devops
Kubernetes Customer Usage Billing

Hello DevOps,

I have three clients that need a kubernetes cluster.
I can create three different clusters for each one of them and bill them monthly but I don't really like this idea.

I've been reading about multi tenants and projects like Kiosk, Kubecost, Promitheus and Grafana monitoring.

I want to achieve is automated billing for my customers. I don't know if separate clusters or multi tenant is better. Definitely the multi tenant is cost effective.

Another question is, how providers like linode create new deployments via their customer portal? I want to create something similar like that. I've seen Jalastic but I don't know if there are any alternatives.

https://redd.it/m57ypk
@r_devops
Devops Tools

Do we need to learn all Devops tools?

* If i chose github from github and bitbucket
* Then maven from building tools.
* Jenkins for Continous Integration
* Ansible & CHef for Configuration management
* Docker from Conainerization
* Nagios for Monitoring Tools
* At last AWS for Cloud.

If i learn all these tools and ignore other tools will I be a DevOPs or do i need to lean all the tools.

https://redd.it/m5b4wt
@r_devops
Database restore verification

Hey all,

We are looking at putting more automation around doing test restores and verifying we have the data we want.

Obviously we minimised this by ensuring we use IAC and not storing anything locally on an instance so as long as we have a backup of the source code and build machine we are good for all the apps.

But what I am kinda stuck on is verification of a test restored database. I was wondering if anyone has done something similar and could point me to some tooling or something.

Our current ideas are a script to compare prod and restored data at a high level and randomly select some apps to do a deeper verification on.

Having the Dev teams write some tests so they can control what gets verified and highlight what's more critical in their database.

But that will all be in-house scripts/tests and before we go down that path I would love to see if there is a tool that can speed up this task or help with keep best practice in mind.

https://redd.it/m5arxw
@r_devops
Cloud Native CI/CD with Tekton — Laying The Foundation

Hi /r/DevOps,

Today I published article with intro to Tekton Pipelines including repository with scripts and customized setup to get up and running quickly with Tekton (Pipelines, Triggers, Dashboard and KinD cluster). The repository also includes sample Tasks, Pipelines, etc.

So, if you want to check it out, then here's:

Article: https://itnext.io/cloud-native-ci-cd-with-tekton-laying-the-foundation-a377a1b59ac0
Repository: https://github.com/MartinHeinz/tekton-kickstarter

Feedback is very much appreciated!

https://redd.it/m5fu7i
@r_devops
What are some pre-made projects that I could use to practice on?

Hi /r/devops, I want to practice troubleshooting, ci/cd, monitoring, etc especially on aws (eks). I got the idea of how to set up the cluster and everything but I was wondering if there are any practice applications out that has the functionalities in place already? Maybe application that uses some sort of database etc.

https://redd.it/m597cp
@r_devops