Reddit DevOps
270 subscribers
11 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
SSO for Third Party Users and Web App Auth Integration

I am looking for a solution that will handle SSO between some third party services we are hosting content for our customers. Such as Vanilla Forums, Mediawiki, etc. I have always been the administrator for SSO platforms such as Azure AD and OneLogin for in house tools that employees use with Active Directory and SSO integration. In this case, we just want our customers to have a seamless experience through our various apps that we provide to supplement our products. Without having to manually login to each separate application. We will obviously have many different domains. Thoughts?

https://redd.it/12dwqcq
@r_devops
Where do I find clients for consulting? Do I cold call?

Hello,

I’m a devops engineer looking to start consulting privately. Actually, I do have a client on the side right now but now much work. I have a registered business, website, but I don’t know where to begin with finding clients that need my services.

I’ve tried emailing some startups but no answer. Should I cold call? How do I know if my website or proposition emails are even effective?

https://redd.it/12dw41c
@r_devops
Spark simple query to Ceph cluster - Unable to execute HTTP request: Unsupported or unrecognized SSL message

I feel I'm missing something trivial here, please help.

Long story short, I'm trying to query Ceph using Spark and I'm getting an error "Unsupported or unrecognized SSL message".

Does anyone have any idea what to do?

More details on StackOverflow:

https://stackoverflow.com/questions/75952678/spark-simple-query-to-ceph-cluster-unable-to-execute-http-request-unsupported

https://redd.it/12dv9f5
@r_devops
AutoTune - a tool's whose goal is to optimize resources and costs in AWS Accounts - Feedback / Testers Requested

https://auto-tune.pateljay.io/#/

AutoTune's job is very simple. It is to clean and optimize cloud resources (aws). Stop wasting time updating and cleaning up unused resources across AWS Accounts to reduce costs. This tool works by modifying various cloud services configuration to a more optimal cost such as decreasing retention rates, optimizing requested hardware, enabling ondemand usage. Right now, all it supports is aws cloudwatch loggroups cost optimization.

https://github.com/jay-babu/auto-tune

Looking for feedback on the idea and any tips of where to go next with it!!

https://redd.it/12e0lqn
@r_devops
Spring Boot pod takes 60 seconds to become ready; trouble handling spiky workloads

This is running in kubernetes, and we've got somewhat unpredictable scaling demands so horizontal autoscaling is working but with the caveat that many requests are either failing or taking a very long time to fulfill during spikes. The result is poor end UX as the service is an intermediary step in a business process. The user must continue onward with the results of these API calls on the next screen in order to complete their work. One obvious solution is to keep a minimum replica set of underutilized pods available and scale at lower cpu/mem utilization metrics.

Any springboot devs have tips on startup times? Any stories of how you've transformed some archaic systems to tackle a similar problem?

https://redd.it/12e9n8n
@r_devops
Any tool for "Terraform Diff Coverage"?

I started making something of my own, but basically I want to assess the quality of a terraform/terragrunt repo by counting the percentage of resources that need change/the resources in general, as opposed to resources who are applied and healthy, in any module that exists under the main tree. For example:

Overall repo "coverage" - 65%

----> /dev
----> /eks/terragrunt.hcl (60% of resources applied, 40% diff)
----> /s3/main.tf (100% applied)
----> /prod
----> /eks/terragrunt.hcl (100%)
----> /s3/main.tf (0%)

My hope is that I can put a shield badge on the repository's README so that my team knows if the main branch has any diffs at any given moment, in case something happens in the cloud or a PR causes something to change

Ps. I am aware that in a perfect world I should lock the cloud and allow only IaC and my CI should cover it all, but I don't think this methodology is mature enough yet, at least not in my organization

https://redd.it/12edesn
@r_devops
Is it common to transition from Security automation engineer to devops/devsecop?

Hi everyone, currently I am working as a security automation engineer where my day to day job involves with automations (powershell, bash, aws ssm, soar tool), using cloud environments, constant use of CLI . Currently also learning stuff in references to the devops roadmap (cloud,iac) but I have no experience working in a development environment as my industry is more of a cybersecurity/IT than say normal development environments with their dev pipeline

My question is, how do I transition myself to learn from the dev side of things if I want to slowly transition to devops. Do I just blindly create projects in hopes that I can apply devops solutions to some of it or is it better to go to other more adjacent role?

Sorry if the question seem redundant

https://redd.it/12efbtw
@r_devops
Should I use base for a single command that runs every minute instead of crontab?

I am containirizing a laravel application. What I am making is a container that will run laravel cron scheduler:


FROM php:8.1-alpine

# Load nessesary php module here

COPY . /var/www/html

RUN echo "Installing composer \n" &&\
php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" &&\
php /tmp/composer-setup.php --install-dir=/bin --filename=composer &&\
rm -rf /tmp/cpmposer-setup.php &&\
chmod +x /bin/composer &&\
cd /var/www/html &&\
composer install &&\
rm -rf composer

COPY ./entrypoint/entrypoint_cron.sh /usr/local/bin/entrypoint.sh

RUN echo "Fixing Permissions on Entrypoint Script \n" &&\
chown root:root /usr/local/bin/entrypoint.sh &&\
chmod +x /usr/local/bin/entrypoint.sh &&\
usermod --shell /bin/bash www-data

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["php","artisan","schedule:run"]



The image will have the following entrypoint:

#!/bin/sh
while true
do
"$@"
sleep 60
done


But what complications my approach may have instead of using crontab inside docker container?

Laravel has its own configuration for crons and schedules: https://laravel.com/docs/5.8/scheduling

https://redd.it/12ef599
@r_devops
CICD help

is it possible to create a Java gradle build on circle CI and send that build to code deploy for deployment ? if so how ?

i created a job for build another for codeDiploy. but when codeDiploy sends files to server. build file is not found in bundle

https://redd.it/12edp48
@r_devops
Did I fuck up by choosing a wrong career at the end of the interview

I am a new grad applying to my first FT job and made it to a final round interview for a full stack web dev role recently. And everything was going great, senior engineers were impressed by my background of strong backend and AWS cloud skills as well as some frontend experience.

But in the last five minutes one of then suddenly asked if I wanted to be a devops as it fits my skill better. I was about to zone out due to the stress of the long interview so I was just mindlessly aiming to nail the role I was APPLYING for and didn’t really consider other roles that might work better for me.

So I said something stupid like “I am more interested in react than devops and will lean toward web devs.”

But after some thought now I feel like my background indeeds fits devops better. I did many cicd work and automation and created apis during my internship and it’s only my personal projects where I explored some of full stack and my front end skill is really weak compared to my backend knowledge and cloud.

I fear this is going to be bad. This is my first job so I kinda realized I should have chosen my strong suit as a career instead of betting on learning something new as an intern. Also apparently I really like AWS (passed cloud practioner and going to SAA soon) and appreciate higher salary as well.

Would it be bad if I follow up before the final decision to make sure that I am also considering the devops role? I feel like that would project the image that I don’t have a clear goal.

But all in all, would devops be the correct choice for me considering the possibility to fuck up as a junior?

https://redd.it/12elfof
@r_devops
Which cicd tool is the most worthy to invest my time in?

I'm currently a sophomore at a university, hoping to become a devops engineer someday. I have used jenkins and github actions before and have experienced the pain of using jenkins. I can also read a lot of hate for jenkins, despite this it seems to be the most prevalent cicd tool if I'm not mistaken.

As a devops engineer in the near future, what cicd tool is the most worthy to study? Should I go with github actions? maybe jenkins? or perhaps gitlab?

https://redd.it/12ekx2i
@r_devops
Thoughts on Auto GPT?

Auto GPT is this GPT-4 based automation tool that basically executes a series of commands given to it. I haven't tried it but it certainly looks like it could replace a lot of the trouble of setting up CI/CD and Test Automation or possibly skip some tools entirely. What do you think?

https://redd.it/12ensfm
@r_devops
Using Documentation as Code for a deployment guide

I am involved in a project where a significant portion of the deployment is done on the customer's premises. Due to the complexity of the deployment, our deployment guide is quite lengthy consisting of smaller guides from multiple teams. Although we aim to automate the entire process, we currently rely on a deployment guide consisting of about 80 steps, all of which are documented in a Confluence page. However, as we continue to update and modify the guide, the numbering of tasks often changes, leading to broken links and potential confusion.

Also i want to be to create a checklist from the documentation to ensure that every step is completed. Additionally, it would be helpful to create a Gantt chart that could be presented to management.

To achieve this, I suggest storing the documentation in markdown in a Git repository, allowing us to cut releases and reference version numbers and step numbers that remain static. By using headers in the markdown, we could easily create a task list using grep.

Has anyone else implemented a similar approach?

https://redd.it/12epvyc
@r_devops
Can we stop with the "DevOps is not a role!!!!" posts?

Title.

It may have started as a philosophy, but it IS a role now, no matter how much we may disagree with it.

These comments are getting so obnoxious and 99% of the time have nothing to do with the actual thread.

Just saw some guy asking about his career, saying he thinks his skill-set fits DevOps more than Web Development and there were a few "BuT DeVoPs iS nOt a RoLe!!!!" comments that had absolutely nothing to do with the guys question.

Please, just stop.

https://redd.it/12es2dk
@r_devops
What is the minimum price for studying, the AWS EKS?

Hi everybody, I need to fill the hand with EKS, what expenses are expected?

I plan to use Terraform to create and destroy the cluster,

Are there any hidden costs?

For example, 0.10 USD for each cluster (control plane), and which EC2 can I choose from the minimum?

https://redd.it/12esmw3
@r_devops
Is there always this much chaos in DevOps?

I have almost two dozen tools I have to use regularly. My boss expects me to master those tools as well. Not to mention each one of those tools has its own ecosystem and related set of tools or command line "helpers."

I'm stuck in on-call rotations that don't even remotely care about my time. At this point, I've normalized waking up at 2 am when PagerDuty starts squawking.

My team is expected to maintain, grow, improve, and keep the systems online and running, but I spend more time triaging incidents than actually improving the system.

Bugs sit in JIRA, waiting months for the engineering team to prioritize them.

​

When does the chaos stop? How am I supposed to grow as an Engineer when everything is so chaotic?

https://redd.it/12eur2u
@r_devops
Querying an SQLite3 file on Ceph using Pyspark - requirement failed: The driver could not open a JDBC connection

I feel I'm missing something trivial here, please help.

Long story short, I'm trying to query an SQLite3 file on Ceph using PySpark and I'm getting an error

"requirement failed: The driver could not open a JDBC connection".

Does anyone have any idea what to do?

More details on StackOverflow:

https://stackoverflow.com/questions/75959520/querying-an-sqlite3-file-on-ceph-via-s3a-using-pyspark-requirement-failed-the

https://redd.it/12epjnr
@r_devops
Apache Directory Studio w OpenLDAP: shadowAccount Password editor Verify vs Bind

I appreciate any help anyone can provide, I'm not sure where to post this as r/ldap looks empty.

I updated shadowAccount userPassword attributes in my openLDAP server using a python script. The passwords are formatted as {crypt}$6$rounds=300000$SALT$HASH

When I open the record in Apache Directory Studio, then open the password editor and use the "verify password" feature it does not verify the password correctly when I press the "Verify" button. When I press "Bind" it does seem to properly verify the password. Can someone tell my why verify doesn't work when using rounds of hashing, but Bind does?

Thank you

https://redd.it/12f2c2b
@r_devops
GhostCMS, Amazon RDS, Heroku setup

Does anyone have suggestions on the process of configuring GhostCMS for deployment in a production environment and integrating Amazon RDS as the primary database for deployment on Heroku?

I have recently discontinued using Ghost Pro and am presently exploring the possibility of a self-hosting alternative.

https://redd.it/12f508l
@r_devops
DevOps and NetDevOps

I'm looking for some feedback on how to shift a business culture to acknowledge NetDevOps.

We currently have a Devops team that manages our development cloud environments and it is difficult trying to get them to shift the networking responsibilities to a network team. Currently the developers have free range on developing network infrastructure and when I review the environments its a mess.

The devops team is pushing back extremely hard and I just want to ask random people on the internet their thoughts on shifting these responsibilities.

Be nice, I'm a network engineer trying to push a NetDevOps culture. ;)

https://redd.it/12f8jr4
@r_devops
Generate OpenAPI specs from traffic

Hi everyone, working on creating a registry for specs on public api’s & looking for guidance around any open source tools which generate OpenAPI specs by listening or tracing traffic from the endpoints.

Any guidance or pointers are truly appreciated! Thanks in advance!

https://redd.it/12fa9of
@r_devops