Skip to content

Instantly share code, notes, and snippets.

@tioxy
Created April 1, 2019 00:01
Show Gist options
  • Save tioxy/c5a107877d25ad724b1a0ffb0173a50a to your computer and use it in GitHub Desktop.
Save tioxy/c5a107877d25ad724b1a0ffb0173a50a to your computer and use it in GitHub Desktop.
Configuring Velero namespace, RBAC and CRDs by applying the Kubernetes prerequisites YAML
# 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