Reddit DevOps
270 subscribers
8 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Currently joined as a devops engineer

Its been few days since i joined as a devops engineer and i Have little/basic experience of 6 months from my previous job,

Currently i have been asked to look into their application stack and below is the stack,

Frontend: angular
Backend language: C#
Backend framework: .net core
Cloud: Azure, soon to be shifting to AWS
Database: postgresql
CI : jenkins

I have to shortly design and implement an architecture by myself which i am very excited and frightened at the same time to create three environments for test, demo and production with high availability and scalability.

This is how i am planning to implement on AWS as cloud provider,

Code > gitlab > jenkins > ansible > docker

The code will be pushed to gitlab and the code will be pulled automatically to jenkins to run a job via webhooks.

In Jenkins i need add a few ssh commands to push the build version to dockerhub with env variables and add a post build action towards ansible to run the deployment and service yaml scripts

Now i am stuck in thinking with three big questions

1) if i should use only docker and docker swarm to deploy the web application.

2) Or shall i use Kubernetes cluster in place of docker from above architecture stack for both containerization and orchestration.

3) this is my major stuck point, how the hell do i go about attaching the database to the web application if i am using docker or Kubernetes.

Please advise

https://redd.it/o6dvwf
@r_devops
Azure Devops installation

Hi all,

I would like to get Azure DevOps setup and was wondering if I need to install Git before I can use DevOps?

Thanks in advance.

https://redd.it/o6e40f
@r_devops
Can you link to any videos which explain how a server farm backs up its data? It must be a very large amount of data to backup & I’d like to learn more about how it’s done.

Is it typically raid drives, on-site removables aka iron mountain, off-site using a wide pipe, etc.

https://redd.it/o6g44d
@r_devops
What motivates you?

I became a devops engineer from developer and I feel I am no longer driven or motivated. As a developer I used to be excited to write code and create applications and now I feel my job is to run what others are writing. There is no true product innovation in that. Any thoughts or suggestions?

https://redd.it/o6hct6
@r_devops
Measure the uptime of the kubernetes services with prometheus?

Can any body help with this or give me an idea how to go about it, I struggle to find relevant content on google about this

https://redd.it/o6e585
@r_devops
Which is a good book or tutorial to learn operating system concepts as a foundation for DevOps

Hi iam looking to learn operating system concepts as a foundation for DevOps learning. Could you please help with a tutorial or book

https://redd.it/o6jgyq
@r_devops
OAM for Non-Containerized Apps

Has anyone tried Open Application Model (OAM) to simplify , abstract infrastructure for Non-Containerized Applications ?

OAM Spec

I could see only reference implementation for Kubernetes, Containerized Apps.

https://redd.it/o6h4dj
@r_devops
Tracking TechStack versions

Hi mates, guys how can i track or monitor my tech stacks versions? For example we are using our infrastructure Java, Kubernetes, Jenkins, Nodejs and others.I wanna monitor all these technologies's versions.I create some platform or some scripts which these give informations about TechStack and also track new, latest versions notifications about it.

P.S sorry my english. Ty

https://redd.it/o6ckbs
@r_devops
What's the typical markup rate by Randstad for a devops engineer position.

Hi,

I'm trying to figure out a typical markup rate by Randstad for a devops engineer position with 10 years of experience going through them to the client.

I know there are many unknown variables to consider but I'm generally trying to understand from their recruiting stand point on what's the lowest they can do.

Knowing that might give me a little perspective on quoting the contract rate while working Corp to Corp engagement.

Regards.

https://redd.it/o6lbns
@r_devops
OAM for Non-Containerized Apps

Has anyone tried Open Application Model (OAM) to simplify , abstract infrastructure for Non-Containerized Applications ?

OAM Spec

I could see only reference implementation for Kubernetes, Containerized Apps.

https://redd.it/o6h46g
@r_devops
What do you all think of cloudbees ci?

Team is considering whether to refactor our Jenkins systems for Kubernetes or use Cloudbees solution.

https://redd.it/o6orwh
@r_devops
Terraform UI for non technical CLI users

I currently have a server build process that uses Terraform and deploys a server all from code.

I'm looking for a web UI with forms that I could either populate specific fields and or do API get commands against a VCenter or wherever the server is being built to populate the specific fields. The fields that get populated would be stored as the variables.tf file and when someone hits submit, it would run the actual Terraform command terraform apply to build the server based on the variables. My guess is the terraform binaries would have to live on there so it could run in the background.

It doesn't have to be some super fancy web page, just something that I could potentially make look cool for Director level folks.

Also, I don't want to use TF enterprise, yet. I've looked into a couple of open source projects (atlantis and terrahub) but none seem to be what I'm looking for.

I'm far from a web developer so any help would be awesome.

https://redd.it/o692gk
@r_devops
What do you think would be a modern vision on integration?

What do you think would be a modern vision on integration? I'm noticing more and more a trend to event-driven architectures, with possibly lots of consumers, sometimes with a centralized event bridge or stream.

This does eat away some from the more synchr natured systems, altho I feel they too have their place in the ecosystem.

Would one be preferable over the other with ideas about scaling out, future work and ops? Is a vision, event-driven, unless there is a specific need for sync ? Or the other way around?

And talking about event bridges: Contracts for message structure are now possible not only at the endpoints, but also at the middle layer and I wonder if that is a good thing to do?

I'm pretty interested in you guys' opinion and experience.

https://redd.it/o6e04a
@r_devops
How do you prefer to learn a new platform that your company purchased?

Hello engineers! I work in customer education and we are building an academy for the product we build (cloud native security platform). I'm curious to know:


how do you like to learn about a new tool? In-product education? eLearning in the form of a course? Short video tutorials?
Do you go straight to the docs?
Do you jump right in to the tool and try things out?
Do you register for webinars or in-person training?

What academies are out there that you think are great examples of product education? What about ones that are kind of terrible?

I want to make sure we are building the right type of training for our audience, and not just doing a 'product feature dump' in the form of self-directed courses which are really just 'prettified' versions of our docs.

Thank you!

https://redd.it/o6dzlk
@r_devops
Create CD with ansible

In our git repo, there's an important python file which defines all our production servers.

Each server is an object that has values and these can be queried against. For example: I can query a request to get all servers where region=US and it would return an array of these servers.

Right now, there are big changes in the company and a lot of attributes are being changed. Each time someone pushes such a change, I have to run an Ansible playbook on that server and it automatically does the rest. (In the Ansible playbook, I just have to change the value of -hosts: to the changed server and run the playbook. The playbook automatically knows what changes to make by querying the python file).

Is there a way to create a continuous deployment sort of thing where if someone changes certain attributes for a specific server, it would automatically run the ansible playbook against that specific server?

Please excuse the question if it's dumb, I'm not very familiar with devops culture.

Thanks ahead!

https://redd.it/o6dmhl
@r_devops
Redis Sentinel HA Setup Configuration and how it works?

I don't know is this the right place to ask this. But because Redis usually used in devops environment, I will ask here.

So, I just learn about Redis and want to bootstrap an HA Redis using Sentinel. I read a lot of articles, one from here: https://medium.com/@amila922/redis-sentinel-high-availability-everything-you-need-to-know-from-dev-to-prod-complete-guide-deb198e70ea6


As far as my understanding, there is only one MASTER (read+write) and some slaves (read only). Then, from client perspective how to connect to this cluster? If I add LB as reverse proxy, and my LB redirect to slave node but my client wanna do write operation what will happened? Or on my client should list all 3 nodes? Or using pacemaker-->create VRRP and bond master to VRRP?

https://redd.it/o6c536
@r_devops
puppet installation and configuration

i am trying to configure puppet master and agent on 2 vm's on ubuntu 20.0.4. i keep getting errors wrt certificates. i keep getting errors no matter what i try to fix.

maybe can anyone help me out with a step by step installation by giving a source or something.

thanks

https://redd.it/o6uzn1
@r_devops
Different git branches creating different pods

I have to build a pipeline at work where we have 3 different branches(ua,Dev,prod). Commit to each branch would trigger a Jenkinspipeline that runs tests, code analysis etc and then builds a docker image and commits it to our private quay repo. Finally that image is deployed from quay to the open shift cluster.


* what would be the best way to tag my images so I can easily distinguish between them
* How would I use a different deployment configuration for open shift depending on which branch the code is committed to
* what would be the best way to rollback changes

https://redd.it/o6upxm
@r_devops
Writing from prometheus to Kafka

The thing I want to do is to insert data into kafka topic from prometheus remote write.
What are the things required to change in the Prometheus.yml file for such a thing to work.

https://redd.it/o6atkt
@r_devops
How can I migrate a postgresql database in a droplet to a managed database?

I am using DO now. Is there any easy way to migrate a psql db in a droplet to a managed database on DO? Did anyone try it before?

https://redd.it/o6x28f
@r_devops
What is DevOps?

Lets once and for all end this discussion. According to you as a DevOps engineer, what does a DevOps engineer do or in short what is his/her role?

​

PS: Take the definitions from here and slap it in the face of your bosses or future interviewers! :)

https://redd.it/o6gqwi
@r_devops