Video: https://youtu.be/oBF-dUXZwrA Once you get a new config from a remote kubernetes installation you need to integrate it to existing local .kube/config file. Sometime, you or others, are doing experiments with kubernetes, so repeat the .kube/config integration steps over and over again, dealing with -data blobs List of ingredients Getting the scripts Retrieve the scripts […]
ssh over https
By the mean of a reverse proxy installed on a Proxmox machine, is possible to expose also ssh access to the single machine. List of ingredients Preparing The Server To generate an self signed certificate, use the command: In /etc/nginx/nginx.conf add these lines: Preparing The Client Copying minihost.crt in The Client from The Server by: […]
Service.EndpointSpec.Mode
That is the point. Mode is an enum, it can be “vip” or “dnsrr”. As one easily guess, “vip” does not stand for Very Important Person. Why should you have the option to assign a Virtual IP or load balance the traffic by DNS Round Robin policy? I asked this question myself while developing smgoservice […]
Scraping HTML page by DOM and XPath
I decided to release this code snip, just a PHP class, for extracting data from an HTML page. The code is in https://github.com/danielecr/verygrabber and the packagist can be installed by composer install smartango/verygrabber rif. https://packagist.org/packages/smartango/verygrabber This is an old snippet to define a grabber by XPath deploying the recursive nature of DOM (Document Object Model) […]
Micro api gateway for Docker Swarm
Docker Swarm by its own, and also any kind of cloud orchestrator, lacks of API Gateway management. The main focus of Cloud Platform is to provide orchestration and network communication between microservice. But the Gateway is important as well if you need to expose API to a client (say a ReactJS application, or a mobile […]
Job Orchestrator with consuming policy
A common architecture for business logic is defined by BPMN, and a well known implementation is provided by Camunda. But BPMN has a general purpose target, so it is oversized for a specific problem. As a SaaS provider, you want to: Sometime your service is based on API provided by third party, so you must […]
Docker Swarm setup, and Jenkins Deploy
Nowaday Docker Swarm is an entry level project, used just for study purpose. But really there was a time when it was competing with Kubernetes, just because it is simpler, easy to setup and maintain, and with a quick learning curve. These aspect make Docker Swarm ideal for starting to thinking about microservice architecture, design, […]
My blog does not use cookies
My idea concerns was to limit the maintenance work to the minimum, still being effective. But which alternatives are available? No analytics ✅ Legal Perspective (EU / GDPR / ePrivacy) Not using tracking tools like Google Analytics can indeed help you avoid needing a cookie consent popup, if: 1. You don’t store or access any […]
On Software Architetture(s)
Every piece of software written has an architecture. Yes, even a bash script has a (embryonal) architecture: it has input, output, and satisfy some kind of feature (or features). There are a number of viable choice for implementing or adopt an architecture for the code you are going to write. Why is important to know […]
docker swarm: communication problem
Having different version of docker running on different nodes, it happens to experiencing problems. Docker Swarm is a community project maintained in https://github.com/moby/moby github repository, it lack a number of features that are provided by kubernetes, but still someone is using this for experimental and bridge-to-kubernetes, because it is very simple to understand and manage. […]