Reddit DevOps
269 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Should I still learn and study Terraform?

Or go with its best rival? Which one and why?

https://redd.it/1cjsqy9
@r_devops
Confused that should i choose devops over fullstack in terms of specialisation.

Hi guys I am a student of btech cse and going in second year in a month. forms are out to choose specialisation for the same. I don't want to go for AI DS or ML. Since half of the crowd is there.

I am confused between devops and fullstack.

I am learning we devp side by side in first year. But if I can learn backend frontend externally by myself then why to put my 3years into it while taking fullstack specs. Also some of my seniors are saying the market for fullstack has been saturated.

I want to go for devops but don't have enough knowledge about it. I want to know about devops, Is it better than fullstack. the jobs the packages??

since many people confused me that devops come under support not much package take fullstack. while some say legit the opposite of it.

please guide me thank you

https://redd.it/1cjsack
@r_devops
100% SLA claim (not considering maintenance, emergencies, attacks, network, ...)

I saw this company's website, where they claim to provide "a specialized high-performance managed-cloud" with 100% SLA. They have a cloud hosting SLA page, where they state that customers are not eligible for compensation in circumstances beyond their reasonable control. Those are:

scheduled maintenance, emergency maintenance, upgrades
force majeure events, interrupts/delays in telecommunications or third party services
targeted attacks
...

I don't fully grasp the concept of SLA yet, but it feels that they just excluded all the possible conditions for downtime, to be able to claim 100% uptime. It looks even worse because they look like "resellers", in the sense that they are offering you a managed experience of somebody else's cloud (companies can do that?), and then they exclude third party interrupts/delays.

What do you think of this?

https://redd.it/1cjtvbn
@r_devops
Is this burnout?

Hey everyone, not a devops related question but I would say it ties closely to it. Let me know if I should post elsewhere.

I am still quite early in my career. I finished university around 3 years ago, but like many of us here for many years I have had a deep passion for software development, infrastructure and IT in general. This passion has made it that I can easily spend 20 hours extra a week diving into personal projects and upskilling outside of work.

I initially enjoyed the grind and I have been very fortunate to be rewarded for it by accelerating quickly in seniority within my organizaton.

However, I noticed my baseline stress with all work tasks has been increasing. At first I thought that it was because I was not prioritizing my day/week in the right way, so I started implementing a personal system to keep track of all my tasks, but I just got more stressed. Now I can not even read an email without feeling some stress and reading in general gives me brain fog.

So my question is have others experienced burnout like this and what did you do to get over it?

Thank you in advance for any advice 🙏





https://redd.it/1cjuyes
@r_devops
Branching strategy for multiple release environments

My team is developing a system on AWS which should deploy to 2 different "production" environments: external and internal. The external one would be used by a customer on their cloud, and therefore would have certain features, and the internal one would be used by internal teams and could possibly have more/different features. The structure of the system is the same in both environments, but there are less constraints in the internal environment


The initial idea we had was to have 2 release branches, internal and external, where a merge to each of them would deploy to the corresponding environment. However, this seems to be very challenging in maintenance because the 2 branches would eventually deviate and things would get messy if we need to move a feature from one to another.


The second idea we had is to used feature flags, would this make the maintenance easier? specially if there could be many differences?

https://redd.it/1cjws54
@r_devops
How do I find my specialization in software?

I'm new to computer engineering and I don't have much knowledge right now. I want to choose a field so that I can focus on progressing, but I don't know how to choose my field or what I can do. Being versatile, I can enjoy many things, which makes it difficult for me to choose a field. Suddenly, I get excited about anything and say 'This is the field for me!', but this happens in almost every field, and I can't decide which one to choose, where I will find myself. Can you tell me a bit about how you chose which field made you the happiest based on your own experiences?

https://redd.it/1cjxcx6
@r_devops
Confused over devops and fullstack in terms of specialisation.

Hi guys I am a student of btech cse and going in second year in a month. forms are out to choose specialisation for the same. I don't want to go for AI DS or ML. Since half of the crowd is there.

I am confused between devops and fullstack.

I am learning we devp side by side in first year. But if I can learn backend frontend externally by myself then why to put my 3years into it while taking fullstack specs. Also some of my seniors are saying the market for fullstack has been saturated.

I want to go for devops but don't have enough knowledge about it. I want to know about devops, Is it better than fullstack. the jobs the packages??

since many people confused me that devops come under support not much package take fullstack. while some say legit the opposite of it.

please guide me thank you

https://redd.it/1cjsq81
@r_devops
Devops Youtube tutorials

I started a DevOps tutorial after I got laid off two weeks ago to keep my mind busy. I've come to appreciate YouTubers who share quality content. Setting up good audio and video and editing them is not easy. Here's mine; let me know what you think about it
https://youtu.be/w0Wy-xnlWBo

https://redd.it/1cjzy87
@r_devops
Grafana Dashboard for redis , Elastic search Monitoring

Hello everyone,

Junior DevOps here

i got my prometheus and exporters setup for monitoring redis and elasticsearch in k8s

now i need to make grafana dashboard related to redis & elasticsearch

the problem im facing rn is that there is alot of dashboard available for both of them so kinda confuse how should i make my dashboard and what things should we monitor in both of them

if anyone got any idea or grafana dashboards please drop in comments !

Thanks

https://redd.it/1ck16eh
@r_devops
👍1
I am wondering if my workload is normal. Please tell me

Hello World

I am in a situation where I feel my workload is too high, but I would like to validate objectively with others. Here is the situation:

I am the team of lead of a small team of 3 people. As a team, we develop, deploy and support environments for our customers who bought our software. As part of the “ecosystem”, we have 20+ pipelines (deploy, out of service, copy data, export data, etc.) and self-service portal that integrates with our pipelines. We have about 200 customer environments.

My role in the team is Cloud Architecture (of the environments we deploy), IaC Team Lead: design new features, manage the team, support of pipelines, define DevOps strategies (repos, pipeline, policies), design new pipelines, define road map and on bigger task i also do IaC development. I am also escalation point for support.

The team was successful and upper management brags about what we did to the whole organization.

Three months ago, I was asked to join another project while keeping my existing role. Since then, i started work and realized the project is much bigger than what I was told: the business is developing a new product, which is a multi-region saas solution that is composed of multiple teams developing their own tools deployed on a shared infrastructure.

At first, i was supposed to only do Iac, but when I asked for the architecture diagram, I was given a high level diagram and found there is no Cloud Architect. Then I started to break it down in details to fully understand how each resources must be configured. Obviously I found issues in the details that require redesign, so I am leading this. After that, I was told that not only i need to design and develop pipelines to deploy the shared infrastructure, but also I need to design the pipelines for each took to deploy their workload team on the shared infrastructure.

Is this normal workload? I am considering changing job, but i dont want to find myself in the same situation if the problem is me

What do you guys think?

https://redd.it/1ck35ge
@r_devops
👍1
Container Tagging and Deployment Strategies

Anyone got any good articles or books on container image tagging and deployment strategies?

My company is currently in a halfway transition point. Our images are tagged latest and rebuilt with each deployment. Each environment has their own ECR. I want to get away from this as soon as possible and have a proper promotion strategy with single image/release candidate.

Thanks!

https://redd.it/1ck3pwa
@r_devops
Need help

My friend who's a data scientist suggested me some data courses, mysql, machine learning, BI and python, i started with sql, but after searching, watching YouTube videos and stuff, I don't really wanna become a data scientist, I've got more interested in becoming a developer, i want to program, write codes and this stuff, I'm almost finishing the python course i got on udemy, i bought like yesterday a web developer course, I'm planning on finish that python course and start web, should I do that? Should i just start other languages?
Js, css, html, java, idk any other languages, does that make sense? Or should i keep going to that data science part? TIA

https://redd.it/1ck6r0y
@r_devops
Anyway to get GCP 300$ free

I've already reached the 90 days limit in my trial period, so now I need a way to get a new one.

PS: I already used the free credits from GCP, AWS, Azure.

PS: For learning purposes.

https://redd.it/1ckb99g
@r_devops
How to become high paid

I am a software consultant (automation testing and bit of ops) with 16 lpa and 5yoe, i am transisioning into complete devops job (wip). My target is to become a high paif software engineer (may be 1cr or more ctc a year in few years) .

What my ambitions are

Want to design lead sclabale systems that will be used by millions of users like netflix hotstar, what should i learn
My current skillset is jenkins ,github pipeliens, appium, bitrise , java, terraform, docker ,k8s

To all high paid softeware engineers how did you achive it and whats your exp and yoe


I am from a tier 3 college ,so cant cant go back to iit now.


I am willing to learn any skill in IT in given reasonable timeframes to achieve that salary and eventually start my own company

https://redd.it/1ckg7me
@r_devops
How much should I know before the start of my DevOps internship?

I have an internship coming up and I'm wondering if there are any tools I should become familiar with before it starts. I have basic knowledge of using Linux commands in the terminal (grep, awk, etc.), but I don't have much experience with Docker and Kubernetes. I have experience deploying full-stack apps using an EC2 instance and using Route 53 and similar services, but I'm pretty sure I didn't do it optimally. I also have very little experience with GitHub Actions and Codecov. I'm kinda nervous and feel like I don't know enough, so I'm thinking about doing some stuff with Docker and Kubernetes. Is there anything else I should add to the list to make the internship experience smoother and more productive?

https://redd.it/1ckirfu
@r_devops
Help needed in Monorepos and variables management

Help needed in Monorepos and variables management

We are using monorepo which includes are apps and terraform infra files and also variable files are there. Our path to production goes like like. Dev cuts a feature branch..make changes..run automated tests on feature branch... Push changes to main.. integration test suite runs..snapshot gets created..take stamping of prod support and security in the snapshot..deploy changes on production.

Making a snapshot that will go to prod and deploying it to prod might take a week max (there are manual intervention involved).

If any issue occurs ( a variable commited in snapshot for prod was not correct) we then have to cut a new branch, change the variable value commit it..run tests..push to main..take stamping..

But by this time other changes would've been pushed to main which will also go to prod which we want to avoid. How to change variables on the go. What is the recommended approach here. Please help

https://redd.it/1ckj8aq
@r_devops
Please help me understand why my docker compose file is not working

This is for setting up the local development Sql Server database, I am trying to use one container for the database and another to run init scripts as a client as soon as the database container is available:

version: '3.8'
services:
databasecontainer:
image:
mcr.microsoft.com/mssql/server:2022-latest
container
name: MiBodaFetecCrmDatabase
environment:
- ACCEPT
EULA=Y
- SAPASSWORD=SecretPassword!!!!
- MSSQL
PID=Developer
ports:
- 1433:1433
volumes:
- sqlserverdata:/var/opt/mssql
restart: always
healthcheck:
test: ["CMD-SHELL", "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P SecretPassword!!!! -Q 'SELECT 1' || exit 1"]
interval: 10s
retries: 10
start
period: 10s
timeout: 3s

databaseconfigurator:
image:
mcr.microsoft.com/mssql/server:2022-latest
volumes:
- ./DatabaseScripts:/docker-entrypoint-initdb.d
depends
on:
databasecontainer:
condition: service
healthy
command: bash -c /opt/mssql-tools/bin/sqlcmd -S databasecontainer -U sa -P SecretPassword!!!! -d master -i docker-entrypoint-initdb.d/init.sql; echo "All done!";

volumes:
sqlserver
data:


This waits until the sqlcmd is healthy and ready (at least I think it does). Then it tries to connect as a client, but it throws this error:

Sqlcmd: Error: Microsoft ODBC Driver 17 for SQL Server : A network-related or instance-
specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instan
ce name is correct and if SQL Server is configured to allow remote connections.


I don't understand. I am using the service name as host name. It should find it easily right? But I guess not, can someone please help me?

https://redd.it/1ckkv3o
@r_devops
Dockerfile usage

If you're writing a Dockerfile to be executed within a CI/CD pipeline (Setup -> Build -> Analyze -> Build Container -> Deploy), would you prefer installing dependencies and building the application separately, or reusing the artifact from the previous build job? To me, the latter seems obvious, but I've only seen the former approach used so far.

https://redd.it/1cklmfh
@r_devops
Is Canonical Juju still relevant and used in DevOps space?

From my perspective, I think most people do not use it as it is more inclined to canonical products. And it is jsut another vendor lock in platform. I have not personally ever used this tool, so I could be wrong entirely.

I saw many demos/talks on conference videos. They look very good. Also, the project is more than 10 years old. I have not met a single person in devops space who uses it on their workplace or personally except a canonical employee. Just wondering today, is it just me or the tools are quite irrelevant.

https://redd.it/1ckks58
@r_devops
🤔1
Which deployment tool would be the best?

Tldr: how to deploy a containerized app where containers should deploy and terminate on demand?

Hey everyone,

I've been working on an application that provides remote rendering, essentially allowing users to view scenes or engage in gaming without relying on their own GPUs. Initially, the application was set up to run on a virtual machine (VM), but I've recently managed to containerize it, condensing it into a single image as from resource utilization purpose it's better and it's easier to ship.

Here's the gist of how it works:

- Think of it as a single-player application, where each user requires their own container instance to interact with.
- Upon user disconnection, the container should terminate automatically. No need for logging or data retention; the container's sole purpose is to run while the user is connected.
- Every time a user joins, they're assigned a fresh container instance. Even if the same user reconnects, they'll get a brand-new container.
- The application operates on a specific port (it's essentially a WebRTC server) within each container, with users connecting through this port.

Now, I'm looking to deploy this application, preferably on AWS. Given these requirements, what would be the best deployment strategy? I've been considering options like Amazon ECS or Amazon EKS with a single pod per user scenario, but I'm open to suggestions and insights from the community.

Thanks in advance for your help!

https://redd.it/1ckmgpm
@r_devops