Dealing with new .kube/config

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 by: curl […]

Read More…

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 […]

Read More…

multi stage rocket flying

Dive into (useless?) uncovered case of multistage dockerfile

Looking at the upstream documentation of Multi-stage builds there are some examples but this is missing: Ok, I mean, the example by itself is useless, but “it works”. Try: docker build -f Dockerfile -t copiedfrom-rust:v0.1 . Then: docker run -it copiedfrom-rust:v0.1 sh Real use case scenario Lets get serious now: why? Suppose you are inside […]

Read More…