Reddit DevOps
267 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Chocolatey hangs on installation

I have built a cli application which i have been try to deploy with chocolatey, on installation for test using

**choco install trolltower -dvy -s .**

i get the below results but it hangs forever

​

**Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\\Users\\Leon Mwandiringa\\AppData\\Local\\Temp\\chocolatey\\trolltower\\1.0.0' -statements ' ' -exeToRun 'C:\\Users\\Leon Mwandiringa\\AppData\\Local\\Temp\\chocolatey\\trolltower\\1.0.0\\trolltower-x64-1\_0\_0.exe'**

**Unable to use current location for Working Directory. Using Cache Location instead.**

**Test-ProcessAdminRights: returning True**

**Elevating permissions and running \["C:\\Users\\Leon Mwandiringa\\AppData\\Local\\Temp\\chocolatey\\trolltower\\1.0.0\\trolltower-x64-1\_0\_0.exe" \]. This may take a while, depending on the statements.**

https://redd.it/fxznqv
@r_devops
New Google Publication - Building Secure and Reliable Systems

Google has released a new book in its SRE lineup, available for free online, Building Secure and Reliable Systems.

[https://landing.google.com/sre/books/](https://landing.google.com/sre/books/)

I hope to start reading this weekend.

https://redd.it/fxusw9
@r_devops
Building Secure and Reliable Systems - free digital book

I found this useful - the latest version of Building Secure and Reliable Systems - free in digital formats. Thought others might.

[https://landing.google.com/sre/books/](https://landing.google.com/sre/books/)

https://redd.it/fxsgr6
@r_devops
Quay.io -> Github Actions Dispatch

I don't know if anyone else struggled with integrating Quay's image build power with GitHub's versatility of Actions, but here's the solution in Go that I'd came up with and I would love to hear some feedbacks, or whether it could be useful for your Docker/Kubernetes pipelines or not.

​

[Quay Github Actions Dispatch](https://github.com/lewagon/quay-github-actions-dispatch)

https://redd.it/fxxvct
@r_devops
Any Best Practices for deployment and delivery of applications?

Do you guys have any books, blogs or articles that describe Best Practices for the deployment, delivery or distribution of applications in regard of CI/CD pipelines? Thanks in advance!

https://redd.it/fxvjh6
@r_devops
Connect Jenkins for SCMs with (Bitbucket/GitHub/GitLab/Azure Repos)

When design a pipeline of CI/CD for any application, one of the first steps is use a SCM (Source Code Management) to extract the code for build, test and deploy, but sometimes the configuration for the remote repositories change according with the plugin or options. I’ve used the next git repositories: Bitbucket, GitHub, GitLab and Azure Repos in many projects. Check my post for more information.

[https://medium.com/@ricardoupiicsa02/how-to-connect-jenkins-for-scm-with-bitbucket-github-gitlab-azure-repos-e115f1ca897f](https://medium.com/@ricardoupiicsa02/how-to-connect-jenkins-for-scm-with-bitbucket-github-gitlab-azure-repos-e115f1ca897f)

https://redd.it/fxva6a
@r_devops
Fluentd: Trying to flatten json field

Hey Guys,

My docker container gives stdout in json format, so the log key within fluentd output becomes a nested json

I m trying to flatten the log key value,
example:
`{"timestamp":"utc format",`

`"log":"{"docker":"output","in":"json"}",`

`"fluentd_tag":"some_tag"}`

Expected o/p

`{"timestamp":"utc format",`

`"docker":"output",`

`"in":"json",`

`"fluentd_tag":"some_tag"}`

I tried using record\_transformer plugin to remove key "log" to make the value field the root field, but the value also gets deleted.

Any suggestions would be great.

https://redd.it/fxt4uk
@r_devops
Google is giving away 3 SRE books for free online

Here is the direct [link](https://landing.google.com/sre/books/) where you can read these books for free online.

​

Disclaimer: I don't work for Google or related to this company in any way. I am also not an affiliate.

https://redd.it/fxnafb
@r_devops
DevOps Fundamentals

Hi guys!

​

Okay, i know that that DevOps is a set of practices that combines Dev and Ops.

But.

Im now a Junior "DevOps" at a company. I use linux, ansible, aws, scripting in bash - python,docker, networking, pods, etc. Everyting is cool, i love my work.

My question is can it be my disadvantage that i didn't go to university?I am thinking of theoretical knowledge. System design, etc.

Have any online resoruce where can i learn strong fundamentals? I know Udemy, Codecademy, etc. I mean university lectures.

​

Thank you very much your answer.

https://redd.it/fxoy5x
@r_devops
[Discussion] How to perform Log file analysis using Python?

My employer wants me to build an independent solution (AI or Data Science based) which can be used to analyse any user or system written log files to retrieve insights and make predictions like 

when will system require a reboot? 

What caused that high CPU or memory utilisation? 

Or any other insights which could be displayed or helpful to the firm.


For the prediction accuracy part, they want the predictions to be accurate at least 30% of the time.


I'm completely clueless about where and how to start it. I did some Google search but it didn't work for me.




Any path guidance would be highly appreciated.


Thanks

https://redd.it/fxmvty
@r_devops
AWS Code* tool chain

Hey all, I'm spinning up an application running on AWS for a project I'm working on at home. The architecture will leverage their serverless products. I thought this would be an excellent time to dig into CodeBuild, CodePipeline, CloudFormation and CodeStar.

Now, I've been a developer, architect and tech coach for 25 years. That's not to say I'm any kind of awesome. That's only to say that according to my CV, I shouldn't be an idiot. Yet, after a week of pounding my head on my keyboard to get a simple React, S3-hosted webapp calling API Gateway and a Spring Boot lambda in the backend to build, test, and deploy using AWS's toolchain, I can only arrive at one conclusion: I'm an idiot.

Are these tools as obtuse as I think they are? Is this easier than I'm making it out to be?

I'm considering wiping the slate clean and just hosting a Jenkins container on a laptop in the closet under my stairs. I know Jenkins is a dusty, barnacle encrusted CI machine but it's what I know and I can get it up and running in under an hour. At this point, I'm looking for the shortest line between two points.

What is y'all's collective experience with AWS Code\_ tool chains? Better than my experience?

https://redd.it/fyi3gh
@r_devops
PR based deploys?

Hey everybody,

I recently joined a firm where the SDLC includes continuous deployment from pull requests, rather than from master. It seems to work for them, but I don't understand the thinking behind this. I've been away from programming for about 5 years. Is this a new idea, unique to my firm, or something else that I've just never run across.

To be clear, after a PR builds, tests pass and there is a review/approval, the artifact is deployed to prod. We don't build from master at all.

https://redd.it/fxmunl
@r_devops
How 6 Simple DevOps Online Course Helped Me Succeed

DevOps describes a culture and set of processes that bring development and operations teams together to finish software development. It allows organizations to make and improve products at a faster pace than they will with traditional software development approaches.

https://redd.it/fxotdm
@r_devops
PoP Episode 88: Kubernetes on Raspberry Pi and Rocks64

The Practical Operations Podcast Episode 88 is now available. In it your hosts grill Ken Mink about how he learned Kubernetes -- by building his own cluster on a pile of SBCs. Tune in a find out how to build your own Kubernetes cluster with all those Raspberry Pis lying around the house!

Tune in here: [https://link.chtbl.com/SbVH0oYi](https://link.chtbl.com/SbVH0oYi)

Or find the Practical Operations Podcast wherever you get your podcasts.

We'd like to thank [42 Lines](https://www.42lines.net/devops?utm_source=practical_operations&utm_medium=podcast&utm_campaign=sponsorship-2020-03) for sponsoring this episode. [42 Lines](https://www.42lines.net/devops?utm_source=practical_operations&utm_medium=podcast&utm_campaign=sponsorship-2020-03) is a DevOps consulting firm specializing in Observability, Cloud Migration, Cost Control, Security Practices, and Team Mentoring.

https://redd.it/fyt430
@r_devops
Service Meshes: An Introduction for Infrastructure/DevOps Teams

[https://www.singlestoneconsulting.com/blog/what-are-service-meshes/](https://www.singlestoneconsulting.com/blog/what-are-service-meshes/)

This is a blog post I recently wrote about Service Meshes (Envoy based in particular) that is slanted towards DevOps/Infrastucture engineers. I hope it's useful.

In future posts I plan on focusing on AWS App Mesh first in detail.

https://redd.it/fyu1uy
@r_devops
Survey on Oncall and COVID-19

I've been curious to find out more about how COVID-19 is impacting teams that are oncall. So, I put together a short, anonymous survey with some questions about it. It takes about 5-10 minutes to complete, and I would love to hear about your experiences. The link to the Google form is:

[https://docs.google.com/forms/d/e/1FAIpQLSd4J7WELnkDs398eDpymepoTSYUWTrX75UjpJnuAMnJ7RpU3A/viewform?usp=sf\_link](https://docs.google.com/forms/d/e/1FAIpQLSd4J7WELnkDs398eDpymepoTSYUWTrX75UjpJnuAMnJ7RpU3A/viewform?usp=sf_link)

We're accepting submissions through 4/27. I'll be sharing what we find after that on the FireHydrant blog ([https://www.firehydrant.io/blog/](https://www.firehydrant.io/blog/)).

Thank you to anyone who participates.

https://redd.it/fyopnw
@r_devops
Programming language for Devops?

Hey,

What language do you guys use when it comes to automating processes and why?

https://redd.it/fyoycy
@r_devops
How do you guys manage the stress of the craziness that can be working in Devops

To some degree, on my best days I love the chaos which is Devops. Which at my company wears lots of hats into our Infrastructure Teams, and Cloud Engineering. On other days I feel like I'm one teams message away from telling my manager I'm going to start looking for a new Job. To be completely fair I love my Job I get to get my hands in so may different things, its never boring or dreadfully monotonous.

A-lot of this is exponentially compounded by the work from from home culture of the pandemic..

Some people are gods at the art of ignoring side distractions (chat messages, phone calls, emails). Can be difficult for me. I like to treat people like I like to be treated.

Surely I can't be alone in some of these experiences. Does anyone want to share their experiences and any tips or ideas?

https://redd.it/fyv3im
@r_devops
Help with mapping multiple war files to different domain names on Tomcat running on EC2 - Spent 6 hours no luck - I am completely new to this

I have tried numerous things and after over (10 hours now) 6 hours of trying to figure it out myself I have come to realize there are no resources to help complete beginners with this. I am running Tomcat8 on an EC2 instance. Right now I can type in [mysite.com](https://mysite.com/) and get to my manager. and if I type [mysite.com:8080/mywebapp](https://mysite.com:8080/mywebapp) I can get to my deployed war file and run my web app.

I can also do this with [mysite.com:8080/mywebapp2](https://mysite.com:8080/mywebapp2) and so on.

But I would like to map them to [mywebapp.com](https://mywebapp.com/) and [mywebapp2.com](https://mywebapp2.com/) respectively and when I deploy more webapps I would like to have them mapped to a domain name. I have tried virtual hosts and all so I must be doing something wrong.

When I change my port to :80 I can create a virtual host and get my base site working with just [mysite.com](https://mysite.com/). But then I lose access to my webapps.

I am begging for help after spending hours and hours trying to figure it out before turning here.

https://redd.it/fyo7nk
@r_devops
New Technology advice



Hi, I'm writing a research paper on new/upcoming Web Service Technologies.

Just wondering if anyone here has any tips or heard about some new web service technology that's not yet being used as much as likes of XML or SOAP.

Any answer would be helpful

Thanks

https://redd.it/fynr2h
@r_devops