Delete Multiple Git Branch in One Command
git branch -D `git branch | grep -E '<PATTERN>'`
git branch -D `git branch | grep -E '<PATTERN>'`
This command tested on Linux: echo -n "<TEXT>" | base64 -w 0 From file: echo -n "$(cat <FILE_PATH>)" | base64 -w 0
Option 1: Delete PV & PVC of the broken member. Alternatively you can remove everything inside /bitnami/etcd/data/ directory inside the volume. If you do this, then no need to delete PVC. ...
Run this command to create a tunnel, ensure that you’re currently connected to the right Kubernetes cluster: kubectl -n default run <POD_NAME> -it --image=alpine/socat --tty --rm --expose...
kubectl get pods -A -o jsonpath="{..containers[*].name}" | wc -w
Update .bashrc / .profile / .bash_profile in WSL command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH" With this value: export PATH="$PYENV_ROOT/bin:$PATH"
List available version: apt list -a <PACKAGE_NAME> Install specific version: apt install <PACKAGE_NAME>=<PACKAGE_VERSION> For example: apt install terraform=1.10.4-1
Run using kubectl kubectl patch ns <NAMESPACE_TO_BE_DELETED> -p '{"metadata":{"finalizers":null}}' Some resources are remaining: ingresses.extensions has 1 resource instances, ingresses....
Install prerequisites package sudo yum install yum-utils Create a file named nginx.repo with the following contents: sudo mkdir -p /etc/yum.repod.d sudo vim /etc/yum.repod.d/nginx.repo [nginx-st...
Configure KUBECONFIG export KUBECONFIG=/etc/rancher/k3s/k3s.yaml