HELM
helm uninstall [NOM_DE_LA_RELEASE]
helm list
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/mariadb helm install mariadb oci://registry-1.docker.io/bitnamicharts/mariadb
sous PowerShell
$encodedPassword = kubectl get secret –namespace devops mariadb -o jsonpath="{.data.mariadb-root-password}"
$decodedPassword = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($encodedPassword))
Write-Output $decodedPassword
sous Bash
kubectl get secret –namespace devops my-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 -d
kubectl run my-mariadb-client –rm –tty -i –restart='Never' –image docker.io/bitnami/mariadb:11.1.3-debian-11-r0 –namespace devops –command – bash
helm get notes my-mariadb
helm get values mon-mariadb
kubectl run mon-mariadb-client –rm –tty -i –restart='Never' –image docker.io/bitnami/mariadb:11.1.3-debian-11-r0 –namespace devops001 –command – bash