Reddit DevOps
270 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Since Atlassian terminates the support for self-hosted solutions, is Jira+Github a good cost-wise replacement for Jira+Bitbucket?

I know that this question is a very big "IT DEPENDS!!!", but I feel like every article I was reading that compares GH with Bitbucket were kind of purchased, or by people who didn't have to integrate it with many 3rd party systems (say CI/CD).

I use Jira and BB with almost zero plugins (I use one to connect it with Jenkins, but it was very light one) mostly for personal use / code backup / advanced kanban board. I try to keep repositories as small as possible so no, I do not push there any vendor, node\_modules, or zip archive with 4k graphic assets there.

I honestly hate this change, all BB was good for is keeping stuff away from organisations that can remove your repo under some pseudo fake DMCA policies. I am very lawful person, but I am also against storing my code away at big comps like Microsoft.

https://redd.it/k14old
@r_devops
What Every Scrum Master Gets Wrong

Have you wondered why doctors’ appointments are always delayed? It turns out there’s a key lesson for Scrum Masters: planning fewer tasks improves efficiency.

[https://www.codemotion.com/magazine/dev-hub/devops-engineer/scrum-master/](https://www.codemotion.com/magazine/dev-hub/devops-engineer/scrum-master/)

https://redd.it/k21xvp
@r_devops
How to install windows app store applications via Scoop?

I'm trying to install windows app store applications via scoop, specifically windows todo. How do I do this? Can I make an app manifest?

https://redd.it/k23rl3
@r_devops
Would you say that developers lack confidence?

Have been talking about it with some friends, and all the people we know in our field are friendly and approachable and successful but aren't particularly confident. Wonder why?

https://redd.it/k25hhn
@r_devops
Job offer, consultancy or not?

I have two job offers to choose from and wondered thoughts since they are very different job roles. I have not worked in a consultancy firm so far in my career so am obviously new to the consultancy game, if I were to take it.

Consultancy firm;

1. Offers a lot more variety, therefore better overall for experience
2. Could be a bit more stressful given the variety which may lead to org's that are so stuck with red tape & politics
3. Gives me more of an 'out' in terms of being less emotionally involved in the projects
4. Travel is limited post COVID but still an important thing, being a single person I don't have any specific reasons to \*not\* travel.
5. Remote mostly, 1-2 days in an office 15 minutes away by car on a route that is not overly busy at the best of times (unless needed on site by a client).

Insurance firm;

1. Single lead devops engineer leading Azure migration from on-premises
2. Interview with CTO that over ran showed me so good qualities - they seem to be eager for change, ready and willing to listen, put down some cash and focus
3. Being the single DevOps engineer = lack of collaboration since there is no 'team' but CTO \*says\* they will be looking to expand the team quickly once I am there and 'settled in'
4. Insurance is still the financial services, so may be a little slower than they say they are at change
5. Remote mostly, 1-2 days in an office 30 minutes away by rail (car traffic very bad as its a main route)

Both roles;

1. Seem to offer job growth in slightly different ways
2. Both gave great feedback in the interview, with zero negative points, and I felt a culture 'click' for both
3. Both have matched salary, benefits are very slightly different but nothing substantially different

So....anything you would think is worthwhile comparing/thinking about?

https://redd.it/k25687
@r_devops
DevOps 200k+! How do organisations calculate the compensation for DevOps engineers?

When hiring DevOps Engineers, how do organisations calculate the compensation and ROI (return of investment)? How are results measured or planned to justify investing in DevOps on a business case budget calculation?

This is a follow up question to [this post](https://www.reddit.com/r/devops/comments/jv7hzr/devops_entry_level_100k_usd/).

https://redd.it/k21h17
@r_devops
Fresh grad, joined as an SRE at Citrix. What does my future look like?

I graduated earlier this year and joined Citrix as a Cloud Ops Engineer 1.

I interviewed with Citrix for a software engineering intern role and when I joined, I was placed on an SRE team.


Here are some questions I have
1. How is Citrix generally perceived in the industry? Is it a good starting point?
2. Starting as an SRE will I be able to move to SDE roles later say in the next year or so? (Either within Citrix or outside)
3. My title on paper says Cloud Ops Engineer not Site Reliablity Engineer. How significant is this? Should I talk to my manager about changing the title?

As I said, I am just a fresh grad and tbh these questions have been bothering me for a while now.

All your responses are truly appreciated!

https://redd.it/k2a7ly
@r_devops
Distribute REPO to multiple domain forest



Hello,

We have a monitoring tool where we have created a lot of custom monitoring scripts. This monitoring tool works with nodes (Probes) which we install on one of the servers of our customers.

At this moment we use an SFTP server to distribute all our custom scripts to the probe servers. But that is not a 100% failsave. Sometimes the files are not replaced and so on.

We are currently using a repo within Microsoft Azure DevOps and I would like to use this more to our advantage.
I have already created a CI. So that an zip file (artifact) is created when our team pushes an update to the online repo. I figured out that you need a deployment group (vsts agent). This is also done. I even scripted the the creation of a local admin user within the script which installs the vsts agent. I have a CD pipeline that will copy the repo on to the probes. But I want to make this a little more secure.

I'm trying to figure out a way that every probe device has a different password. And that the machine names in the Task "Windows Machine file Copy" are automatically updated when a new probe the added to the deployment group.

I hope to here from you soon.

https://redd.it/k2914j
@r_devops
Test production deployment

I’ve been working on a personal project for about 6 months now and I’m in the final stages.

I’m deploying an application to a web server, and I’m using GCP for my deployment. What is the best way to do test deployment in a sandbox environment before deploying to my official web server?

The best solution that I came up with so far is to deploy the application on a separate VM, and analyze it before deployment. I chose that route because my nginx configuration automatically routes the ports 80 and the DNS route to the IP of the VM.

https://redd.it/k28be1
@r_devops
Newbie Question: Is kataconda based on kata containers?

Is this website: [https://www.katacoda.com/](https://www.katacoda.com/) using tech developed by this: [https://katacontainers.io/](https://katacontainers.io/) open source project?

https://redd.it/k2lh2t
@r_devops
cloudquery: open source tool to query and monitor your cloud with SQL

I recently open sourced cloudquery - [https://github.com/cloudquery/cloudquery](https://github.com/cloudquery/cloudquery)

This is an extensible framework that exposes your cloud config and SaaS application as a relational database, giving you the ability to query and monitor your infrastructure with SQL.

https://redd.it/k2nl7f
@r_devops
Terraform and ansible in the same GitLab repo for CI?

Hi everyone, I'm currently doing a ton of research on CI\\CD for IaC. My background is enterprise IT operations and I'm evolving my career into DevOPs.

I have some Terraform\\Ansible code that provisions VMs and creates an Active Directory domain. What I would like to do is have all of this code in one GitLab repo as a single repo. But I'm trying to understand if this is the right thing to do. I'm currently learning Gitlab CI and I'm not sure if its meant to handle multiple languages for testing. If any one can help me understand what is typically done in a scenario where Terraform and Ansible are both used together to create infrastructure and managed with GitLab that would be great!

https://redd.it/k2uvh4
@r_devops
Kubernetes Hpa limitations

I’m new to cloud and was wondering if someone can help me .


Kubernetes uses a threshold based mechanism which is reactive in nature.

Depending on the workload variation, do we have to change the threshold manually?

What are some instances which workload variation is there ?

Will forecasting resources ahead by analyzing the workload pattern solve the issue of manually adjusting thresholds?

https://redd.it/k2tj4h
@r_devops
Docker + NGINX + MariaDB + WordPress error. Please help.

Docker noob here.

I'm having issues running my NGINX reverse proxy with WordPress and mariadb.

I get the error:

Call to undefined function mysql_connect() in ......

Any ideas?
Am I not linking the containers accurately?

Link to docker compose yml image:
[Imgur.com/a/WnfAACM](https://imgur.com/a/WnfAACM)

https://redd.it/k30yi4
@r_devops
Best way to simulate an AZ outage?

I was thinking about this today in light of the recent AWS outage. I'm trying to.decide the best way to test if my application is as outage-resistant as I think it is. What's the best way to simulate an availability zone going down (without tanking other applications I don't want to test right now)?

https://redd.it/k2n4mq
@r_devops
Pentest & DevOps

With more frequent releases how often are your security teams performing a pentest? And how long does it typically take to get these scheduled?

https://redd.it/k2ohqh
@r_devops
How to install Istio with Terraform and use an existing ALB || ELB as istio-ingressgateway?

Hi guys,

currently I'm working on a small IaC project. I'd like to deploy an EKS cluster with atleast 1 auto-scaling group based on Spot instances and all other necessary components - autoscaler, cert-manager, metric-server etc. - installed.

I did all this but I've a problem with the Istio service mesh. Right now, I'm using istioctl to install Istio operator and then deploying a IstioOperator yaml with my settings which will roll-out Istio. Everything works fine, but the automatically generated ELB is a problem. If I want to destroy the cluster, Terraform will fail because it doesn't know about the ELB, which is created by Istio.

So I configured an ELB in Terraform but I can't figure out how to use this one now as my \`istio-ingressgateway\` service. I think I'd need to deploy Istio with the istio-ingressgateway as a serviceType \`nodeport\` but I'm not sure about what the needs to point where. Re-using already existent load balancers seems not to be that well documented.

So maybe there is someone who already achived this and can help me out.

Any suggestions or hints are appreciated :)

Kind regards from Berlin!

https://redd.it/k382tg
@r_devops
The ethics of Pull Requests, being the "Author"

Hi,

I wrote this blog post last week, maybe it could be interesting for this channel as well.

Link: [https://werner-dijkerman.nl/2020/11/21/the-ethics-of-pull-requests-being-the-author/](https://werner-dijkerman.nl/2020/11/21/the-ethics-of-pull-requests-being-the-author/)

Please let me know your thoughts about it.

Kind regards,

Werner

https://redd.it/k38xts
@r_devops
How to Install PHP 8 on CentOS 7/8

How to Install PHP 8 on CentOS 7/8

[https://tayeh.me/posts/install\_php8\_centos/](https://tayeh.me/posts/install_php8_centos/)

https://redd.it/k39p3l
@r_devops
[q] Shift left Pipeline - questions

Hey, I have a couple of questions :)

## Disclaimer

I am a developer, trying to wrap my head around 'modern' and 'not-gimped' CICD and devops - so in essence I want to understand 'best' practices without compromises; compromises comes later :)

## Questions

What is the point of diminishing returns?
I've found no good article on this. In theory, we can re-create almost whole environment on the dev machine - using docker, kubernetes and such. As I understand, if we take shift-left approach to the extreme, I can build, test, deploy to local cluster with monitoring and all. Two questions come to mind:

1. Why SHOULDN'T we be put everything in repo in executable form FIRST, and then iif something is infeasible to keep executable in project, move outside?
2. If this is possible, then why there is no tool for this? Is everything hand-rolled? Or no one is doing this?
3. With shift-left, it seems that I should be striving to make everything executable, so by that extension, the easiest way would be to include e.g. shell scripts executing tools on dev machine. Is this a correct approach?
1. This came up during my discussion with a colleague; why not have tools to check 'everything', e.g. linters for yaml; Dockerfile and such - executable on dev env and pipeline. I have yet to see a place that have such tests

https://redd.it/k2lxcj
@r_devops
Sending api request body to sentry

I was not able to sort api errors on sentry and was not able to get request body which Inwas sending. So How to send api request body with the error data I am sending to sentry?

https://redd.it/k2jknj
@r_devops