A few years ago, I stumbled across an interesting problem while designing a protol for master election: what is, given a number of replicas, the probability for them to start a health check that will maintain a constant probability of race condition and pressure on the lock ? In this article, we dive into this problem and find a rather elegant solution.
4 posts tagged with "devops"
View All TagsSwagger specs GitOps with Gitlab and Kubernetes
Communication with your teammates is probably one of the most important aspect of designing APIs. You need to first ensure that your are on the same page as to what features to deliver, to make it easy for them to discover and try your software, and secondly, to deliver stable services. API specifications are the key to success in the first area, and one of the most widely used format is OpenAPI specifications. This Gitops article shares a simple strategy to automate the writing and deployment process of OpenAPI specs, and making it easy for your team to communicate efficiently.
Deployment of a Gitlab Runner in Kubernetes
This article explains how to setup a Gitlab Runner inside Kubernetes, with caching and container build enabled (without insecure Docker socket exposure).
Kubernetes in Vagrant with TLS enforced
This article explains how to run a Kubernetes node in a Vagrant box, and how to setup a self signed wildcard SSL certificate at cluster level for encrypted connections with the HTTP(s) APIs.