Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
OneDev 6.0 - self-hosted git service with CI/CD and issue board

OneDev is an open source self-hosted git service with built-in CI/CD and issue board.

The 6.0 release comes with some major improvements:

### Hierarchically organized projects

Projects can now be organized hierarchically to facilitate permission and setting inheritance, as well as cross-project issue list and board

### Issue burndown chart

For milestones with start date and due date specified, OneDev will display burndown chart for associated issues

### In-place edit of issue states and fields

Issue states and fields can now be edited in place in issue list and board, which makes issue editing much more convenient

### Issue link

Issue link to set up relationships between issues, such as parent-child, blocking/blocked by etc. Issue state transition can also leverage the link information to make the workflow smoother, for instance, to auto-close an issue if all its sub tasks are finished, or prevent an issue from being closed if any issue blocking it is still open. For details, please check this tutorial

### Helm chart to deploy into Kubernetes cluster

Helm chart now available in case you want to deploy OneDev into Kubernetes cluster

### Ingress and LetsEncrypt integration

When deployed into Kubernetes cluster, now it is trivial to set up ingress rules to expose OneDev web service, protected with LetsEncrypt certificate. For details, please check this tutorial

For details, please check https://github.com/theonedev/onedev/wiki/6.0

https://redd.it/renwzk
@r_devops
GCP execute api call based on alert

Hi, I want to configure some automation when memory usage on my GCE instance is above some threshold, basically I want the alert to trigger some Cloud Function to call an API or maybe there's a better way to do it....please share if you have previous experience.


Thanks!

https://redd.it/reoxt4
@r_devops
Why Linux is needed for DevOps in 2021?

This question come of course from a total noob. Please, do not be harsh on me. I just could not find detailed answer and some people that I know, don't use linux at all and while they are not 100% time DevOps, they never needed a linux on their PC. Maybe this is true only if you are doing only some basic stuff and you are not full DevOps guy?


As far as I know, most stuff just works on Windows right now (docker, kubernetes, ansible etc). Do they works much better on Linux tho? Is there anything that just does not work on Windows and just require Linux?


I know that most of the cloud run on Linux but if you are working with AWS or Azure, you still work with everything by using either AWS or Azure portal or this looks different and for example you need to use console a lot and thus ssh to the server etc?

https://redd.it/repdyd
@r_devops
Networking Training

Where can i find online instructor led training for networking protocols like bgp,dhcp, tcp/ip and major networking protocols. I can find books and courses but i learn better with an instructor. Thanks.

https://redd.it/rersgp
@r_devops
Log4J file extensions

Does anyone know if the vulnerability is affecting all file extensions or only .jar?

Thanks in advance!

https://redd.it/rezy81
@r_devops
Need some suggestions from experienced in the DevOps or who are in the field.

Hello, I am actually in Electrical field and jow pursuing masters in Electrical and computer engineering. I want to switch my career towards IT Side. I am interested in DevOps but I am not sure whether it would be right choice as I am non-IT guy and devops isn’t small field. And how much time it might take to learn basics of it? Can you please share a comment or your suggestion on it?

https://redd.it/rf3wnh
@r_devops
DevOps Bulletin Newsletter - Issue 29

DevOps Bulletin - Digest #29 is out, the following topics are covered:

* **Using ChatOps to help Actions On-call Engineers**
* **How to automate Kubernetes Deployments with Postman**
* **How to Work Asynchronously as a Remote-First SRE**
* **Collect logs at scale with Rsyslog on AWS**
* **Review of "The DevOps Handbook", 2nd edition**

Complete issue: [https://issues.devopsbulletin.com/issues/logging-at-scale-done-right.html](https://issues.devopsbulletin.com/issues/logging-at-scale-done-right.html)

Feedback is welcome :)

https://redd.it/rfb3d4
@r_devops
What Exactly is DevOps Automation?

DevOps Automation is continuously evolving to help organizations in the pursuit of continuous application development and delivery. However, to ensure this, teams need to put great efforts to eliminate bottlenecks, improve product features, fix issues, and swiftly respond to customer requirements. Here are some best practices related to devOps automation 2021.

https://redd.it/rfhyd3
@r_devops
Recommended course to get into Python scripting & automation for AWS Cloud and DevOps? (as a Javacsript Dev)

I learned to code Javascript and Node.js from a Udemy course and made a couple webapps, but then found my real love in this field in cloud computing and networking. Got certified with AWS as a solutions architect. Found out many AWS jobs are asking for Python scripting skills with AWS. I was really interested in learning Golang, and I see some demand for it, but most jobs I'm applying to ask for Python scripting and automation specifically.

So that being said, I don't need to relearn programming basics like what a variable is or how to do a loop. I also don't want to make a web app or game with Python - I need to specifically learn the scripting, devOps and cloud automation side of it. Can you recommend any courses for this specifically (and as someone who already has programming fundamentals). Something that can get me hands on Python scripting training for SRE, Cloud, DevOps and SysAdmin work with Linux etc and fill the gap in my knowledge to prepare me for working on the job.

https://redd.it/rfjpdf
@r_devops
Is security through obsolescence a phrase?

Because Log4j shenanigans, had to check some services. This service is 5 major versions behind and has no CVE's - and has been on my hit list for "Why the hell haven't we updated this", but our application code can't handle the 5 major version changes.

Security through obsolescence FTW.

https://redd.it/rfjwg1
@r_devops
I started learning GoLang so that I can write Kubernetes Operators and API extensions but...

... will this knowledge and skills really help me with my career or any project that I work on?

Personally I think that if I have the ability to use GoLang:

\- Fix/Patch operator issues

\- Write custom solutions that are directly bound to k8s

\- Write my own operator and easily administer projects

\- Learn Test Driven Development with Go

\- Be closer as ever to developers and understand their needs while developing the apps

Is this right and should I stop and go to Kubernetes only specialization or this path is possible in companies as a normal DevOps or DevSecOps job?

https://redd.it/rfhguh
@r_devops
How rare is it to get a job in US if you currently work in a different country?

If I wish to settle in US since it provides a better lifestyle for me for various reasons, can I get a job there if I currently work in a different country? Or is it too rare to happen? Is it more beneficial if I do a MS in US and then get a job?
I currently have 1.5 years of experience in DevOps Engineering, there's still so much to learn and I continue to do so. But, the thing is, I don't want to study MS for 2 years if I can get a job based on my experience.

My question is to those who are currently in US who have relevant experience to answer this question, and also to those who have achieved this case!

https://redd.it/rfin4s
@r_devops
Logging in Offline mode

Hey gang!


I have a use-case where I have unix hosts (IoT devices) which are deployed on a customer's premises. I would like to capture logs and telemetry for them. Sometimes these devices are *not connected* to the internet but are still in operation. They can be "offline" for weeks (still assessing if that's how our users actually use them) while still being used. How do we buffer and forward these logs to a Log management service? Datadog and CloudWatch will reject logs with a timestamp older than 24h.

​

How might one architect the logging pipeline with this in mind?

I'll post some of my own thoughts but wanted to leave the conversation open and unbiased to start.

https://redd.it/rfjaa4
@r_devops
How do you keep organized?

I was trying to think of the subreddit to post this in. This isn't really the right one, but I've worked with DevOps & IT people for many years and I know they always have like fifty different things to do, so I guess I'll ask here.

I work for a small nonprofit. I'm a Linux server admin, a webmaster, I take support phone calls for both employees and customers, I manage livestreams from the company, and I manage google analytics and adwords for the company. The way the work load is balanced in the company, there is simply no one else to take any work off my shoulders, and that's fine. We're all very passionate and believe in what we are doing.

I work within a team of three, but I more or less have complete autonomy. On top of that I have a one year-old son, I take care of my one year-old step-granddaughter, and I have one more baby on the way. That means I really only get five hours of focused work a day (when we can afford to have a babysitter here). Beyond that I have 2-4 hours of work where I'm simultaneously cooking, taking care of children, etc. Beyond that, I have tremendously bad short term memory, to the point where sometimes forget what I'm doing as I'm doing it. No it's not some horrible brain illness, stop worrying about me, I've been dealing with it for most of my life and I'm fine.

Okay, all that aside: my life is chaos. And every attempt I have made at organizing it has fallen apart. To do ist, calendars, sticky notes, all that shizz - it's not enough, often times because I forget where I put what I was doing. I don't know how to prioritize or how t learn how to prioritize tasks. When I look around, all I see is fires to put out, and not enough time to do it.

The only time I have really been successful is if I get myself into a routine and execute that routine every day. But the problem that I'm having is I have to deal with so many fluctuating variables that I never establish a routine.

So I want to ask -- you professionals out there in demanding companies that want you work functionally thrice as much as you are physically capable of - what tips and tricks do you have for being organized and getting your work done?

Thank you.

https://redd.it/rfp6ma
@r_devops
Is there any tool to create diagrams with Git Branches? Something like PlantUML?

I am looking for a tool to design git branches flows declaratively, like PlantUML or something.

I know I can do this in tools like Draw.io but I wanted to do it via "code".

Does anyone know of any tool that allows me to do it?

https://redd.it/rft1gx
@r_devops
Any recommendations for trying to pick up short contracting gigs on top of full time work?

Right now I’m working as a devsecops engineer.

I make good money but I’ve got some debts I want gone immediately.

I figure I could suffer through a 3-month contract gig and double my income for that period and really roll in the dough.

Does anyone have experience with doing this?

https://redd.it/rftf7d
@r_devops
What are your actual job titles?

My boss (CTO) has offered that I come up with my own job title to be listed within the company (and part of my email signature).

My current title is just “Manager”, but when I join meetings, it’s hard for others to quickly understand that I’m more of an architect/devops with a few managerial responsibilities.

I’m assuming many of you are in a similar role, so what the job title encompasses "Senior Software Engineer/Team Lead/Architect/DBA/DevOps with some Managerial Responsibilities”?

https://redd.it/rfv52v
@r_devops
Monitoring/Observability on Fargate

Howdy. I’m currently evaluating a few monitoring solutions for our EKS clusters and have run into some headaches while setting up Datadog for Fargate workloads.

What is everyone using to monitor their clusters and applications?

The whole idea is to have observability into our clusters but also into our applications running in those clusters.

https://redd.it/rfupn6
@r_devops