Archives mensuelles : juillet 2020

Kubernetes resources deployments

Table of matters Kind : Deployment The definitions Select the node for the pod deployment imagePullPolicy Deploy a resource Deploy or update a resource When a deployment is updated by the apply subcommand? Restart, delete permanently or just disable a pod restart … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Docker storage

Mount overview – Volumes (the recommended way) are stored in the host filesystem which is managed by Docker (/var/lib/docker/volumes/ on Linux). Non-Docker processes should not modify this part of the filesystem. – Bind mounts may be stored anywhere on the … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Linux administration

GLOBAL ENVIRONMENT * Environment variables file for all users : /etc/environment * scripts to run at startup for the shell of any user : /etc/profile.d/*.sh PROFILE * Reload bashrc : source ~/.bashrc OR . ~/.bashrc History Show command history of … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

jar commands

Execute a jar (with common args): java -jar -cp /foo:/foo/bar/* -D… -X… myApp.jar appArg1=foo appArg2=bar Create a jar (create, output jar file) in the current directory: jar cf app.jar input-file(s) Extract a jar (extract, verbose, input jar file) in the … Continuer la lecture

Publié dans Non classé | Laisser un commentaire