Created
April 1, 2019 00:01
-
-
Save tioxy/c5a107877d25ad724b1a0ffb0173a50a to your computer and use it in GitHub Desktop.
Configuring Velero namespace, RBAC and CRDs by applying the Kubernetes prerequisites YAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuring Velero namespace, RBAC and CRDs by applying the Kubernetes prerequisites YAML | |
export VELERO_FOLDER=/opt/velero | |
export VELERO_VERSION=v0.11.0 | |
wget https://github.com/heptio/velero/releases/download/$VELERO_VERSION/velero-$VELERO_VERSION-linux-amd64.tar.gz | |
mkdir -p $VELERO_FOLDER | |
tar -xzvf velero-$VELERO_VERSION-linux-amd64.tar.gz -C $VELERO_FOLDER | |
mv $VELERO_FOLDER/velero /usr/bin | |
chmod +x /usr/bin/velero | |
kubectl apply -f $VELERO_FOLDER/config/common/00-prereqs.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment