Connexion to k8s cluster Kubeconfig Define KUBECONFIG in your profile # Default one KUBECONFIG=~/.kube/config # Several context - to keep splited KUBECONFIG=~/.kube/k3sup-lab:~/.kube/k3s-dev # Or can be specified in command kubectl get pods --kubeconfig=admin-kube-config View and Set kubectl config view kubectl config...

Some time ago, I made a small shell script to handle Vault on a cluster kubernetes. For documentation purpose. Install Vault with helm #!/bin/bash ## Variables DIRNAME=$(dirname $0) DEFAULT_VALUE="vault/values-override.yaml" NewAdminPasswd="PASSWORD" PRIVATE_REGISTRY_USER="registry-admin"...

Trust a CA on Linux host # [RHEL] RootCA from DC need to be installed on host: cp my-domain-issuing.crt /etc/pki/ca-trust/source/anchors/my_domain_issuing.crt cp my-domain-rootca.crt /etc/pki/ca-trust/source/anchors/my_domain_rootca.crt update-ca-trust extract # [Ubuntu] sudo apt-get install -y ca-certificates sudo cp...