Warning
THIS WILL DELETE ALL RESOURCES CREATED BY RANCHER
MAKE SURE YOU HAVE CREATED AND TESTED YOUR BACKUPS
THIS IS A NON REVERSIBLE ACTION
This script will delete all Kubernetes resources belonging to/created by Rancher (including installed tools like logging/monitoring/opa gatekeeper/etc). Note: this does not remove any Longhorn resources.
- Deploy the job using
kubectl create -f deploy/rancher-cleanup.yaml
- Watch logs using
kubectl -n kube-system logs -l job-name=cleanup-job -f
- Deploy the job using
kubectl create -f deploy/verify.yaml
- Watch logs using
kubectl -n kube-system logs -l job-name=verify-job -f
, output should be empty (besides deprecation warnings) - Check completed logs using
kubectl -n kube-system logs -l job-name=verify-job -f | grep -v "is deprecated"
, this will exclude deprecation warnings.
Releases are done via github actions, and triggered by pushing a
tag to the remote that starts with v
. There are two types of
releases: "pre" and "full" release. To make a prerelease, push a
tag that contains the string rc
or alpha
(for example, v1.2.3-rc1
or v1.2.3-alpha1
). To make a full release, push a tag that does
not contain either of these strings (for example, v1.2.3
).