Reddit DevOps
271 subscribers
11 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
OpenTelemetry is great but why is it so bloody complicated?


I’ve been reading the documentation over the last couple of days and using the libraries to instrument a node.js GraphQL API.

I love the idea of open standards and interoperability. For example, I’d even go to argue that in large Kubernetes achieved those goals to a significant degree in the sense that you can pretty easily move workload/ from one cloud to another. And I can see a similar thing happening with OpenTelemetry.

But OpenTelemetry feels like it’s a level up on getting to a productive threshold. In other words, the oppose of the pit of success for such an important and useful technology — especially developers building data intensive applications.

Here are my current gripes:
- difficult naming. Propagator, exporter, manager, provider OTel, OTLP. It seems that interchangeable terms are used for the similar things.
- the number of dependencies needed to instrument an app is insane. Let alone figuring out the correct versions
- Documentation is playing catch up with the implementation
- resources is either very specific or very general. I haven’t been able to find any good resources that pick the right balance of breadth and depth.


Still, I have to give credit where it’s due:
- it’s amazing to be able to view traces in a local env with Jaeger or ZipKin in addition to sending it to a platform like Lightstep or NewRelic,
- auto instrumentation is great in theory, still not experienced enough to say how well it works.
- it feels like the the right moment with the Tracing API having recently stabilised.


Anyways, if anyone has good up to date resources please share

https://redd.it/nxrbqa
@r_devops
How has your company managed to secure your devices without getting in the way of your work?

Really Struggling with this at the moment. All the security tools slow us down! How have you guys managed it in your workplaces?

https://redd.it/nxt7wt
@r_devops
Is a master's degree worthwhile for DevOps?

Currently I have a bachelor's in Nanoscience. I found out that I wasn't so much a fan of doing research work, so I decided to go into IT so I could work with computers, which is the whole reason why I wanted to learn Nanoscience. During my transition between graduation and my first IT job, I had an incredibly difficult time getting interviews because my degree and coursework weren't relevant.


My current role adopted the DevOps ideology about a year back and I have fallen in love with it, so I want to fully invest my time and future into furthering myself in this career.

However, I dread that my degree is holding me back. Granted, it had some light course work in programming (intro classes, nothing more) and math, with heavy emphasis on physics, but I'm stuck between getting a masters or getting certs. I know I have two years of job experience and know that it will make it much easier, but can't help but think my degree holds me back in some manner.

https://redd.it/nxo78c
@r_devops
DevOps Essentials - Documenting journey and learning curve - https://github.com/codeaprendiz/devops-essentials

Amazing folks,

Checkout my repository https://github.com/codeaprendiz/devops-essentials

Its still in progress phase :)

Let me know what you guys think

I am trying to document my journey along the way.

Why :

\- I maintain a good documentation

\- I can always come back to refer working and trusted code which I have used before

\- Git is the most amazing for of documenting your work and its free, lol

\- One of the best advises I have got in professional life is to break every complex tasks in simple ones, with enough simple tasks together you will realize you to so much close to achieving the complex one. I have followed this ever since.

​

Feel free to raise PRs if you come across something not working :)

https://redd.it/nxvi13
@r_devops
Should I pursue a career in Devops!

Hello everyone. I am an electrical engineer. I was looking for jobs and could not find any so I switch to devops because it seems to be a raising field. I started bootcamp to speed up the process.

I am looking for advice from people who have experience in the field.

How rewarding is Devops financially and intellectually?

what would the daily tasks of Devops and how does career progression work for a Devops ?

Any information at all would be valuable.

https://redd.it/nxpqb1
@r_devops
A dashboard service for quality control of client projects

Even before the widespread introduction of CI/CD practices and various manifestos for quality development, we committed ourselves to making sure that every project was successful.

To do this, we strove to be early birds in the development world. We introduced new methodologies and were the first to try promising tools and offer them to our clients. To prevent the quality of work from suffering during our expansion, we decided to develop an internal product development metrics dashboard for controlling the quality of projects.

In six months, we developed a Ruby on Rails application called Pulse: a quality management dashboard that displayed all current projects and their statuses on one screen.

https://redd.it/nxj4q6
@r_devops
What are the best resources for learning Jenkins, Ansible and Terraform?

I just started working at a startup with a small IT team. Sometimes I have to do the devops tasks but I don't know much about these tools. Where can I learn the basics? I'd appreciate if you can give me some guidance.

https://redd.it/nxyuxe
@r_devops
What sort of tools/microservices or scripts have you built?

I'm prepping to start interviewing for new jobs and my weakest aspect has always been programming, part of what drew me to DevOps was working more with systems and architecture than software dev.

I've built a few tools/microservices (healthcheck scripts, simple webservers, a microservice that receives AlertManager alerts and can then send JSON to another URL), but I'm hoping I can steal some ideas from you guys and make a few projects to practice coding :)


Thanks in advance!!

https://redd.it/nxzri3
@r_devops
Django using Gunicorn + Nginx in ECS Fargate

Hello Guys,

I'm trying to set up my backend using aws fargate currently i'm not using nginx for reverse proxy just using gunicorn to start the webserver, im almost ready to go live so i'm looking add nginx for it,

The problem is that i'm not very sure the approach using 2 containers in the same task definition, if i add manually added each container pointing to different ecr register ( one for the app and one for nginx) its not taking the nginx config i saw the logs and doesn't give me nothing useful

I'll try different task definitions but doesn't work either i maybe jumping one step

what i want to achieve is that my ALB -- point to my nginx container using port 80 and then redirect to my app container if anyone has done something like this i would appreciate your thoughs

Thanks!

https://redd.it/nx7eyp
@r_devops
Anyone using TrendMicro- Cloud One for Image and container security?

Hello all,
we are planning to use Trend micro cloud one security tool for image and container vulnerability scanning and also for Runtime security. Currently we are using Prisma cloud but opting for a change. Any one has experiences with TM or can you share your reviews regards to performance of the tool, service and support etc..
Thanks

https://redd.it/ny4s8n
@r_devops
Is there a considerable difference in DevOps which is implemented on premise vs Cloud?

When implementing DevOps, is there a considerable difference between On Premise and Cloud? Which is more easier to run and maintain?

https://redd.it/nyb7r6
@r_devops
Newbie Request. I want to learn about the build and deployment process in detail in traditional SDLC. Is there any resource which would be helpful in this

Iam new to DevOps. I want to learn about the traditional old school software build and deployment process, tools used for such delivery, so that I could have solid foundation before I start learning DevOps

https://redd.it/nydaxw
@r_devops
How to Jenkins/Terraform/Ansible correctly?

I am currently in the process of currently working with the tools mentioned in the title.

My plan(not sure if correct implementation or not) is to create a job with input variables from the user for server name, mysql version, magento2 version and then make jenkins call terraform which will spawn a cloud vm with the ssh key of the ansible user.

Then Ansible will come in and setup the server services and install a magento 2 with predefined configs for nginx, varnish and magento(details here don't matter i have already done this).

My problem is that in the way that terraform is meant to work is provisioning the whole cloud infra.

I thought about creating a job that copies the template for terraform so it's been saved afterwards for each cloud instance created and also. But it this the right thing to do? Also this way it does not properly provision the whole infra since it's gonna be a new directory for each client and not all the cloud instances created in time.

Maybe injecting a new resource into a main terraform file with a new variables file created before running? As i am typing this i thought about maybe including client .tfs? Is this possible?

I am kind of lost here. Any explanation or examples would be so so much appreciated!

https://redd.it/nye81f
@r_devops
Can azure devops be linked to gitlab?

Hi all,
My organization has bought an azure subscription recently. We as well use gitlab as our version control system. I understand gitlab is a repository management tool that is used for managing locally hosted repositories, which can only be accessed from within the organization's internet.

So, I just wanted to know if we can link this git server to azure devops? If not, then how can we use a vcs in azure? Does it come with its own git?

https://redd.it/nydse5
@r_devops
Getting "failed to instantiate provider" error with GitLab and Terraform CICD Pipeline. Any help appreciated.

Here is the full pipeline. Here is the portion of the CICD pipeline that is failing:

tf-apply:
stage: terraform:apply
extends: .base-terraform
variables:
STACK: "terraform/production"
PLANFILE: default.tfplan
script:
- cd "terraform/production" && terraform apply -auto-approve ${PLAN
FILE}
environment:
name: aws
rules:
- if: $CICOMMITBRANCH == "master" ||
$CIPIPELINESOURCE == "mergerequestevent"
changes:
- terraform/
- my.tfvars
when: manual
dependencies:
- tf-plan

Results in the following error:


│ failed to instantiate provider "registry.terraform.io/hashicorp/aws" to
│ obtain schema: unknown provider "registry.terraform.io/hashicorp/aws"

It works fine on plan and init so wondering what the issue could be...

https://redd.it/nydevr
@r_devops
Are there no modern artifact repos?...

Currently using JFrog on-prem and their cloud solution appears to just be their on-prem setup lifted and shifted to a SaaS model.
I'm going fully cloud and getting off on-prem where possible and I just can't find any artifact repo that is genuinely built for the cloud but also has a broad range of formats and features needed for a decently sized Dev operation.

If any of you can help I'm all ears! :)

https://redd.it/nyiarn
@r_devops
Cloud performance benchmarks

Would love to get community’s feedback on something. I’m interested to know how often you(or your organization) find the need to run cloud performance benchmarks (see examples below)? OR, if you currently do not run benchmarks but you would if you had the right tool to help with the process, how often do you think running performance benchmarks would provide valuable insights?

Example benchmarks:

- disk or network throughput of different VMs.
- network throughout between different zones, regions, clouds, etc.
- cpu performance of different VM types
- performance of different DBs such as MySQL vs Postgres. Or DynamoDB vs Cassandra
- CDN performance
- api response time
- container launch time
- data warehouse comparison
- etc.

Actions/metrics:
- compare contrast clouds, zones, VMs in terms of cost and/or performance
- compare metrics over time
- infrastructure recommendations based on collected metrics

View Poll

https://redd.it/nyjv2g
@r_devops
the dumbest problem (AWS Lambda)

I'm writing a Lambda function.

I'm clicking file > save.

When I refresh the page I'm seeing the example boilerplate

hOw Do I sAVe ThE fUnCTioN?

https://redd.it/nymtfr
@r_devops