Reddit DevOps
275 subscribers
68 photos
32.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Tracking third party tool and software releases

Currently we track new releases of third party tools and software manually. This would normally be via email lists or regular checks on the tools website. The sort of software we track are things like Kuberneres, helm, redis etc.

The problem with mail lists and manual checks is they are manual, can be missed and generates a lot of toil.

Is there a tool or a best practice out there that tracks tools and software releases? A central place that notifies you and keeps track.

https://redd.it/f18rfp
@r_devops
Kubernetes Question: Rancher or Kops or ___?

I'm trying to determine a good solution for kubernetes currently. Trying to get to production with it. Anyone have opinions on Kubernetes solutions? Leaning towards Rancher, but I'd like some counterpoints for Rancher. Any bad experiences/things I should know before committing to one or another? Thankssss

https://redd.it/f2hjzc
@r_devops
Blockchain Applications and Smart Contracts - Developing with Ethereum and Solidity: New earnings & professional growth are waiting

Blockchain Developers and Engineers, this valuable training program will equip you to define relevant Blockchain application use-cases, set up a development environment for Solidity, use the Solidity language and how to code a smart contract, create a test network to test applications without cost, and launch a smart contract in a live network. Training modules include: 1) Introduction to Blockchains and Smart Contracts - History of Blockchain technology, Consequences of double-spending avoidance, Objectives of different Blockchains, Adding smart contracts to Blockchains Determine relevant smart contract use-cases, 2) Ethereum: A Smart Contract Blockchain - Ethereum as a Blockchain for smart contracts, Using Truffle as a smart contract development tool, Ethereum addresses and transactions, Relationship between Ether and Gas, 3) Solidity: A Contract-Oriented Language - Solidity smart contract, Solidity declarations, Solidity function modifiers, Solidity error-checking, 4) Testing, Debugging, and Deploying Smart Contracts - Test smart contracts on a personal Blockchain, Debug smart contracts, and Deploy smart contracts on a test and live network, and 5) Smart Contracts - A Custom Token in Ethereum and Creating a token framework.

Register today at [https://tinyurl.com/r88l6uz](https://tinyurl.com/r88l6uz)

Career success awaits you, Lawrence Wilson – [Cryptocurrency, Blockchain and FinTech Academy](https://cryptocurrencyacademy.blogspot.com/)

https://redd.it/f2ib2u
@r_devops
How would you ensure availability of a couple of small wordpress sites?

The sites are running on a VPS with just apache and MySQL. What do you use, and what would you recommend? Cloudflare serving a cached version? Some other server architecture?

Any suggestions and advice is appreciated!

https://redd.it/f2heyq
@r_devops
Can a VPS run a constant stream of keras.model.predic_classes()?

So see, I have trained a DNN model to detect spams on my site. I can't run both the Node server, the Vue frontend, and the Python backend that contains the model object at the same time on my PC. So I can't test it on-the-go. However, I have tested the model alone, and it's pretty much perfect, with a kappa accuracy of near-100%. So my question is, can a cheap VPS run this class that a GTX 960 2GB can't run?

​

Thanks.

https://redd.it/f2hn1j
@r_devops
Wazuh vs. AIDE?

Anyone have experience running Wazuh for host intrusion detection? Got any good or bad experiences to share?

Following the recommendations in one of the Center for Internet Security's benchmarks, a year or so ago I set up AIDE for host intrusion detection on all our systems. But... it's really not very good. Massive numbers of false alarms, the default rules in Ubuntu are just flat-out wrong in places, takes tons of ongoing effort to fine-tune the ruleset by hand, and, the kicker, no aggregation across hosts so you get 50 identical email reports when the same file changes on a set of hosts. And it doesn't even do real-time monitoring, so an attacker could get in, mess with our systems, clean up their files, and we'd never know they were there if their intrusion didn't happen to intersect with an AIDE scan.

It looks like Wazuh is probably a much stronger option and will fix many of our pain points, but this time before I take the plunge I want to find out if it's going to be just as bad in other ways.

https://redd.it/f2gan7
@r_devops
[Collecting ideas] How would you convince an admin that automation and DevOps mindset is a good thing?

I would love to hear your ideas, how an admin could be convinced that automation is a good thing. (ok, I'm feeling a bit lost with this guy)

Imagine the following sysadmin:

* VMs are created using the mounted ISO in VMware VSphere and the installation is: manually doing the install process for each machine (no templates)
* Docker Containers are started via `docker run` as root on all machines
* After adding a new container, a entry is added to the monitoring tool manually
* `ssh root@<IP>` is the default behavior
* `docker logs` is used for each individual container
* quote: 'git is evil'
* quote: 'Developers are viruses on my servers!'
* quote: 'A single PHP file is better than this shitty database API!'
* quote: 'Software architecture is not necessary and useless bullshit. It just slows down everything!'

Tell me what you think.

https://redd.it/f2fx69
@r_devops
Base OS for "bare-metal" Kubernetes

Disclaimer: I've mainly used already-running k8s clusters on cloud platforms and would consider myself as medium-skilled with it. Had a go at using Kubespray with Core OS Container Linux a couple of years ago but gave up due to requirements of the client to do with egress to external repos.

I'm looking to set up a cluster at home on a fairly resource-limited little server (16GB RAM, i5, 1TB disk). I'm planning to use VMs as worker nodes. I'm running ovirt on that node, but might abandon that as it has its own overhead (and seemingly memory leaks) that might be a bit too heavy for that little box. It would be nice to be able to add other nodes as required with minimal fuss. It's just to play around with k8s and run a few internal services, really.

I ask because I've heard CoreOS is now EOL and Fedora CoreOS is perhaps not quite ready for primetime. Are there any other mature-ish base OSes for kubernetes that can fill the gap?

https://redd.it/f2bbkj
@r_devops
Best CI/CD tools

Hi guys, planning to shift to another CI too, currently using GoCD in my project, can someone please help me with other CI alternatives currently hot in the market which you guys are using or have used in your project along with it's pros and cons. So that I can make a decision as to which one to go with..confused with so many options being thrown at me would be great to get some clarity..

https://redd.it/f2c7bz
@r_devops
The story of how I have spent 5 days getting dns to work in k8s, and it still doesn’t work

It all began when I tried K8s for the first time two weeks ago. I set up a one node one worker cluster on two RHEL8 VM‘s at home. Everything worked like a charm, no problems. Peace of cake, or so I thought.


We use swarm at work. Me, having read about what makes k8s superior, and having set up a little cluster at home: ‚Hey guys, how about I set up this new project with k8s?‘

And there I am. For the last 5 days, I have dedicated every minute of my life trying to get up a working k8s cluster. I cannot manage to get DNS to work inside pods on workers.

- I have worked through multiple tutorials multiple times
- I have tried a load of different linux distros and distro combinations
- I have tried using docker and cri-o as container runtimes
- I have tried cgroupfs and systemd as cgroup driver
- I‘ve tried flannel, weavenet, calico and cilium
- I switched to iptables-legacy
- I tried turning off firewalld
- I configurated sysctl to ensure iptables is not being bypassed
- I tried using internal and external nameservers on both nodes
- I tried nodes in different networks

Most of the attempts were made with two CentOS8 nodes, newest version of Docker and Kubectl/Kubeadm/Kubelet 1.17.2

In 70% of my attempts, I end up in a situation where the worker node can successfully join the cluster, pods can be scheduled on the worker and inside the pods, dns doesn’t work and the clusterip of the nameserver is not reachable. Pods scheduled on the master have functioning dns. (The remaining 30% of attempts had issues before I even got that far)

The fact that it is always the dns that doesn’t work makes me think that maybe, I’m just forgetting about a crucial aspect of dns, a simple and obvious configuration that I forgot. I’m really starting to feel like a complete idiot

https://redd.it/f2bh7z
@r_devops
This Week in DevOps: Feb 10th 2020

Hey Everyone,

I always have trouble keeping up with the latest announcements from AWS, Google Cloud etc... so I created a newsletter that outlines it all in one place each week. I try to give just enough info in the summaries to help you decide if you need to read the whole announcement.

I'm very interested in the communities feedback, specifically what else would you like to see covered in the newsletter? And do you find the summaries to be useful?

You can view the latest edition here: [https://thisweekindevops.com/2020/02/10/weekly-roundup-feb-10th-2020/](https://thisweekindevops.com/2020/02/10/weekly-roundup-feb-10th-2020/)

https://redd.it/f266j5
@r_devops
Automating ALB creation for Lambda

I'm looking into how to create a simple script when given the name of a Lambda function, the script would create and attach an ALB using the VPC, Security Groups, and Subnet info pulled from a get-function-configuration. I'd imagine someone has already figured out how to achieve this but my biggest obstacle is taking the json output from the get-function-config and separating out the parts I actually need. Any idea how to get this done in powershell or linux shell?

Thanks!

https://redd.it/f29n20
@r_devops
jenkins deployment

how do you all do a deployment in Jenkins using a Jenkins file? Jenkins runs as userA but my production app runs as userB.

Do you just set up ssh keys and scp it over or something more robust?

https://redd.it/f2pgv4
@r_devops
AKS seems to auto-update versions of pods without warning?

I wasn't sure if this too nuanced to post directly in r/AZURE or r/kubernetes but does anyone know the answer to this?


Recently (last friday) My team's AKS clusters all failed due to an update pushed to CoreDNS which retired the use of the syntax "proxy" in configmaps. This happened without warning and the pods restarted on their own.

&#x200B;

My assumption is that since CoreDNS is a part of the AKS managed solution, that this is on Microsoft, but my team is too poor to pay for proper microsoft support so it isn't as simple as sending in a support ticket to find out why this happened.


I can't see any indication that there is even any ability to prevent automatic fetching of updates anywhere in Azure and I can't track any configuration in the cluster itself so I am unsure what happened.

https://redd.it/f28y56
@r_devops
Do you think FinOps in your company?

I saw this number recently: "Unnecessary spending linked to cloud waste is forecast to reach $14 billion". I was surprised, but then I have realized that Cloud services can be expensive if you are not careful. I started looking into FinOps, and I wrote an article about things I have learned. Tell me what your opinion is about FinOps, and if you are using this method in your company!
\> [https://www.padok.fr/en/blog/finops-cloud](https://www.padok.fr/en/blog/finops-cloud)

https://redd.it/f2bhix
@r_devops
EBS consists alot of my costs. How to determine optimal EBS size for ec2 instances?

I currently am a greenhorn that just uses AWS for screwing around with stuff. I constantly build and terminate ec2 instances to get familiar with the process. I aim to be a SWE, but I want to know DevOps as well to deploy my personal projects.

On t2.nano AWS allocates 8GB of EBS by default. How much of it is necessary for a simple Ubuntu instance that is not production level, but just a playground to screw around with stuff? I know Ubuntu needs about 2GB, but I always read that when you install Ubuntu on a VM you should allocate at least 25 GB. So I need some clarifications here.

https://redd.it/f27sz2
@r_devops
cache problem with jfrog Artifactory HA on AWS

Hello devops,

does anyone implemented jfrog artifactory HA on aws environment ? if so how did you implement the chaching of the efs server on both instances ?

https://redd.it/f258sv
@r_devops
Logging service for QA environment (simple, fast)

We are looking to making our QA's job little bit easier by having our application(s) log into some kind of logging service with web UI that shows a log tail of currently running services.

I've looked at Azure's Applicaction Insights and while it does have some features that would be useful for our QA, I find that it isn't tailored for use case when QA wants to immediatelly see logs and metrics from last request she made against service she is currently testing.

Any suggestions for logging service that is :

* Simple to deploy
* Simple to use
* Shows immediately all requests made, with all log entries under that request
* Doesn't need to scale much, as there will be little of actual throughput

https://redd.it/f24etw
@r_devops
What to expect in a DevSecOps Role

Received an entry level SWE job offer from a big defense contractor about a month ago and accepted. Today I found out i was put on the DevSecOps team. Does anyone have any experience working in such a team and what the responsibilities might include?

https://redd.it/f2tyv1
@r_devops
How do you started using IaC and conf mgmt tools at your org?

We need to start from zero. The difference between the desired and actual state is super big right now and I don't want to reinvent the wheel. Currently our cloud footprint is quite small and I'm converting everything already created into TF config files, just that; next I would like to create modules from that config.

Some personal experience, workflow or reference would be great. Also...it becomes easier while you advance or just change the kind of problems you have?

https://redd.it/f2txdl
@r_devops
CI/CD for Terraform environments

Hi all,

I was wondering if anyone has encountered the same problem as we have in my team - we have fairly large environments on both Azure and AWS (scaling up to 100s of resources, lots of configuration). Deployment is done 100% via Terraform, including workspaces split for multiple environments (Dev, Integration, PreProd, Prod) and some custom modules we have. All Terraform code is stored in a Git repository with full version control, where about 5 engineers are working on the same environment simultaneously on average.

Issue is, when we started talking about CI (that was the first step) for our infrastructure, we couldn't find any workaround to deployment times - some resources take up to 40 minutes to deploy (for a single resource), which makes it practically impossible to run any kind of testing on the environment (the most basic smoke tests).

Has anyone implemented some CI method for large infrastructures? How did you manage to run a large number of tests (which take time as well, in addition to deployment time) on the environment? Any kind of help would be greatly appreciated.

Cheers.

https://redd.it/f2t3zn
@r_devops