Skip to content

Commit

Permalink
Merge pull request #971 from k8up-io/tutorial/update_crd_version
Browse files Browse the repository at this point in the history
Update the tutorial to the latest k8up version
  • Loading branch information
TheBigLee authored May 28, 2024
2 parents 60e75b6 + f6648dd commit 0b29883
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/modules/ROOT/pages/tutorials/tutorial.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
:k8up_version: v2.2.0

= Backing up Kubernetes Clusters with K8up

A common question we were asked by our clients moving to Kubernetes for the first time had almost always to do with backups:
Expand Down Expand Up @@ -76,7 +74,12 @@ IMPORTANT: On some laptops, running Minikube on battery power severely undermine
* `kubectl apply -k wordpress`

. Install the CRDs K8up uses:
* `kubectl apply -f \https://github.com/k8up-io/k8up/releases/download/{k8up_version}/k8up-crd.yaml`
ifeval::["{page-component-version}" == "master"]
* `kubectl apply -f \https://github.com/k8up-io/k8up/releases/download/v{page-component-latest-version}.0/k8up-crd.yaml`
endif::[]
ifeval::["{page-component-version}" != "master"]
* `kubectl apply -f \https://github.com/k8up-io/k8up/releases/download/{releaseVersion}/k8up-crd.yaml`
endif::[]

. Install K8up in Minikube:
* `helm repo add k8up-io \https://k8up-io.github.io/k8up`
Expand Down

0 comments on commit 0b29883

Please sign in to comment.