Reddit DevOps
270 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Cloudflare dynamic worker URL

I created a Cloudflare worker and added "example.com/url/look" as an additional worker route and it worked, the only issue is the worker that I have created is dynamic as when I try adding another route to it, it gives an access denied error.

For example, "something.workers.dev"(my worker URL) points to a page and "something.workers.dev/route/variable" is another page and it's dynamic since that "variable" will give different result everytime(it checks for a particular thing and gives result according to that). I need this routing possible with my additional route. If I go to " example.com/url/look/route/variable", it performs that check and gives me the result according to my "variable".

This is the best I could think of to explain my issue.

Thanks

https://redd.it/q0zoj0
@r_devops
Folder / scripting naming convention and layout

Hi all,

We are a network team which uses python scripts and Ansible playbooks to help us with daily tasks, pushing configuration to devices etc. The scripts work with different vendors and perform a wide range of functionality.

Needless to say the current folder structure in which we keep our files is a complete mess. I would like to optimize this, do you all have some advice, best practices and / or how do you manage the structure on a centralized tooling machine?

https://redd.it/q10ncz
@r_devops
Looking For Capstone Project Survey Respondents and Interviewees

Good day everyone!

​

My groupmates and I are undergraduate students currently taking up a degree in Information Technology. We are in the process of creating our capstone project entitled, "Development of a DevOps Infrastructure as a Learning Toolkit for DevOps Self-Practice and Team Development". The capstone project aims to provide a learning toolkit which helps people learn the different concepts of DevOps through different cases in a DevOps pipeline.

​

My group are currently looking for DevOps professionals and practitioners to answer a survey and to have an interview with so that we may know what kind of realistic cases and production environment which should be used for the learning toolkit.

​

If you want to learn more about our capstone project, the link to our capstone project proposal can be found here.

​

Link to the survey and interview scheduling here.

https://redd.it/q11cvf
@r_devops
TightVNC without password

Has anyone tried to use tight vnc on linux boxes without any authentication? I want to connect to the vnc via ssh tunnel and don't want to use a password. Any idea how to start the server without password ?

https://redd.it/q116vp
@r_devops
Hands-On Learning Resources to Master Containers, Kubernetes, and Clouds

Hi, fellow Dev & Ops people!

I spent quite some time recently reviewing interactive learning platforms, and I'd like to share my findings.

What platforms I was looking at:

* teaching Linux, Containers, Kubernetes, and other Clouds Native stuff;
* offering free-play sandboxes and/or guided hands-on labs;
* providing in-browser SSH terminals, online IDEs, or temporary cloud accounts.

A [crowdsourced list](https://twitter.com/iximiuz/status/1441826086489235456) got \~15 positions, and I closely reviewed every platform mentioned there. The [resulting analysis](https://iximiuz.com/en/posts/learn-by-doing-platforms/?utm_medium=reddit&utm_source=r_devops) contains a brief platform description, available content and playgrounds, and, of course, the price.

Initially, I was doing it mostly for myself (have some thoughts on augmenting my blog with learning playgrounds), but then I figured that other people also might find the results useful.

Cheers!

https://redd.it/q0l70d
@r_devops
RPA(Blueprism) -> cloud computing (AWS)

I am an experienced professional with 5 yrs of experience in RPA (Blueprism) and now wish to switch career in cloud computing...would be really helpful if anyone who has explored this path earlier would share some ideas/leads...
Just to add I have done AWS solutions architect certificate as starting point... It would be really helpful if someone can help me with some projects ideas to start with and some tips to build the resume for interviews.

Thanks in advance !!

https://redd.it/q0lpxy
@r_devops
CertBot Lambda

Hi mates, i need using certbot inside Lambda function. Actually i found some workarounds but it is not working clearly. I need use certbot's all functionality. Btw it may not be in only just a fuction.

https://redd.it/q07hyn
@r_devops
Has anyone here automated the whole billing alert/notification/monthly report in Azure?

I am looking to do this, but want to source some ideas on how you approached it

https://redd.it/q15jjr
@r_devops
GitHub - debarshibasak/awesome-paas: A curated list of PaaS, developer platforms tools to emulate PaaS on cloud, Cloud IDEs and ADNs.

The PaaS, developer platforms have blown up in recent years. Lately, I have been curating and tracking these platform. Thought I would share with the community. I am actively maintaining it.

https://github.com/debarshibasak/awesome-paas

https://redd.it/q138sh
@r_devops
Is there a way to use the Jenkins core 'archiveArtifact' with Artifactory?

I really like the archiveArtifact call since it shows up pretty well on Blue Ocean. I was wondering if I could somehow use that with uploaded artifacts on Artifactory? It doesn't seem like it, but does anyone know if there is another way?

https://redd.it/q18htf
@r_devops
Dockers and Kubernetes for Data Scientist-MLOps



Please check out my article

MLOps-Dockers and Kubernetes Essentials for a Data Scientist

MLOps-Dockers and Kubernetes Essentials for a Data Scientist

and my previous articles

MLOps End-To-End Machine Learning Pipeline-CICD

MLOps End-To-End Machine Learning Pipeline-CICD

10 Amazing MLOps Learning Resources

10 Amazing MLOps Learning Resources

https://redd.it/q19j39
@r_devops
Chat-application using Jabber based on phone-numbers without centralized authority

Hello,

I have a Thai girlfriend. I want to use Jabber with her. She's loving and caring, but she's not always super intelligent as she struggles to understand things like the TCP 3-Way Handshake.

Her country is in a dictatorship and we both have 2 Jabber-accounts that work fine for chatting. I would like to have a system that allows us to register our phone numbers publicly with our Jabber accounts.

If for some reason, the government is able to block our Jabber account, we can just register our phone number for a new Jabber account on a new server and continue chatting. The only problem here is... how could we ever make this possible, without any centralized authority?

Would a system to register your own phone number ever be possible without a centralized authority that could be banned by the local government?

https://redd.it/q18ea7
@r_devops
IoT device connection using MQTT

Recently, I am facing a problem that IoT-enabled devices are taking time to connect to the MQTT broker. When the number of devices was little, it was fine. But when the number of devices increased, it took time to connect to the server-side. What could be the reason? I am using a mosquito broker. Is this a broker issue or anything else? If it's a broker issue, for industrial IoT which broker will be good for MQTT?

https://redd.it/q1242d
@r_devops
Running python code remotely and simultaneously without needing multiple computers

I have python code that preprocesses CSV files inside zipfiles and sends the data into an influxdb database on a digitalocean linux droplet using line protocol. I use Spyder locally to run this code on my computer to send info into the remote database. I need to give a category tag for each zipfile so I need to run the code on each zipfile one at a time unless the zipfiles are in the same category.

How would I set something up so that I could upload the zipfiles somewhere remotely so that I don't need to use my local computer to do the preprocessing and uploading process, and so that I could run the process on different files simultaneously? Is there something on digitalocean or AWS that would be best for this?

https://redd.it/q0mdbz
@r_devops
Shift left responsibly for CI/CD to developers?

Who did this already and why? If you did that, what worked best for you and what didn’t?
If you haven’t done that what was the reason?

https://redd.it/pws8a2
@r_devops
Resume for a remote DevOps Position

Hello everyone,

I am looking for remote devops positions but I haven't been very successful. I want to upload my resume and see if anyone can point out ways to improve it.

Also I got a local offer for more than a 100% raise. Is job hopping after only six months considered bad for your future career.

Thank you.

https://redd.it/q1fzj7
@r_devops
fresh out of college graduate recently hired at a company. i've always used source control, CI/CD and have been interested in SCM. I'm trying to encourage my workplace to use these tools and I never thought I'd have to deal with culture change from a dev perspective.

I've recently started working as a junior developer at a company - dream job and all.

However, I've noticed that there's absolutely no structure within the dev department. Everyone codes like spaghetti - nobody follows coding conventions and everyone just pushes all their change into one branch without a code review process.

Their reasoning was that most projects, devs work alone so there's no need to implement these standards or tools. Note the emphasis on "most" and that they still do collaborative work, but it is rare and I reckon it has to do with the fact that each dev is doing their own thing.

I tried to give suggestions and because I'm a junior, my suggestions often get shut down by devs with more seniority. At the same time, I don't want to impose myself on them (hiring for devs is quite hard as it is).

It seems that the philosophy with this company's devs is that they're here to deliver products that look nice on the front end fast, but it's pretty clear that because there's no standards that it's taking more time than it should to develop because every dev ends up working solo and no one can help each other.

Has anyone had experience with culture change in dev department? Any advice to give to a junior? Could I be approaching this the wrong way and that all this push from having more standardized source control processes to even applying design patterns isn't necessary?

https://redd.it/q1nyqn
@r_devops
Certified Kubernetes Application Developer (CKAD) Study Guide ebook

Developers with the ability to operate, troubleshoot, and monitor applications in Kubernetes are in high demand today. To meet this need, the Cloud Native Computing Foundation created a certification exam to establish a developer's credibility and value in the job market to work in a Kubernetes environment

The Certified Kubernetes Application Developer (CKAD) ebook is different from the typical multiple-choice format of other certifications. Instead, the CKAD is a performance-based exam that requires deep knowledge of the tasks under immense time pressure.

Certified Kubernetes Application Developer (CKAD) Study Guide ebook

https://redd.it/q1nuyd
@r_devops
Which tool(s) should I use to deploy containers?

Nobody in my team has any experience with Containers (Docker, Kubernetes etc.). I'm responsible for introducing them as we will like to use containers and everything that comes with it, such as Orchestration. Only Docker is set so far.

Our scenario is basically to set up multiple containers (at the moment 5 per client), which need to communicate internally as well as externally through APIs. My first POC includes Docker only, where I make use of Docker Compose. For every client I can simply run the docker-compose file and everything is set up automatically (as of now, we have a single server, that runs every container) in a few seconds.

The number of containers will grow during the next years and therefore I was questioning myself, whether we need an orchestration tool, such as k8s, or not?

Some more questions:

1. How do we monitor these containers (e.g. uptime/availability or container specific logs such as database monitoring)? Do orchestration tools provide these features or would we need external software?
2. What about fault tolerance/uptime)? Are orchestration tools better in this context (all I know is that I can advise Docker in the docker-compose file to restart a container when it isn't running)
3. As we don't need to scale (and likely won't need in the future), might an orchestration tool add to much overhead?

Are there more lightweight orchestration tools? Kubernetes seems to add to much overhead and complexity. We don't have large clusters running and we don't need to scale. Can you recommend Docker Swarm? Alternatives? Would a combination of Docker Compose and Portainer be sufficient?

As I'm fairly new to this as well, feel free to point out what I will probably need from an orchestration tool, but I didn't mention above.

https://redd.it/q1uxjf
@r_devops