Archives mensuelles : juin 2020

Docker diagnostic commands

Docker system command Get real time events of the Docker server : docker system events Helpful flags : –since string : show all events created since timestamp –until string : stream events until this timestamp Show docker disk usage (for … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Kubeadm and Kubectl commands

Common Set the log level verbosity : : -v NUMBER Example : kubeadm -v 10 init Kubeadm Init a cluster (done on a node designed to be master) : kubeadm init –pod-network-cidr=NETWORK_IP_START_RANGE : Example : kubeadm init –pod-network-cidr=192.168.0.0/16 Join a cluster … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

package manager for Linux

Overview apt/apt-get debian based distro yum : redhat/centos/fedora distro apk : alpine (light Docker images) snap : universal linux package manager and so with low coupling with distros, so updated more frequently Snap How to install Snap ? Debian based … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

OpenSSL

View details of a certificate (.crt file) : openssl x509 -in /mypath/ca.crt -noout -text Same thing but for cert request : openssl req -in CSR.csr -text Convert a crt to pem : Officially : openssl x509 -in mycert.crt -out mycert.pem … Continuer la lecture

Publié dans Non classé | Laisser un commentaire

Elastic Rest API

Query types match vs terms : match performs full-text analysis and doesn’t search exact match VS terms performs exact term search In query : To perform full-text search on foo_field, we refer to foo_field To perform keyword search and aggregations … Continuer la lecture

Publié dans Non classé | Laisser un commentaire