kubectl create namespace argo-rollouts
kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml
This will create a new namespace, argo-rollouts
, where Argo Rollouts controller will run.
!!! tip When installing Argo Rollouts on Kubernetes v1.14 or lower, the CRD manifests must be kubectl applied with the --validate=false option. This is caused by use of new CRD fields introduced in v1.15, which are rejected by default in lower API servers.
!!! tip On GKE, you will need grant your account the ability to create new cluster roles:
```shell
kubectl create clusterrolebinding YOURNAME-cluster-admin-binding --clusterrole=cluster-admin [email protected]
```
The kubectl plugin is optional, but is convenient for managing and visualizing rollouts from the command line.
brew install argoproj/tap/kubectl-argo-rollouts
-
Install Argo Rollouts Kubectl plugin with curl.
curl -LO https://github.com/argoproj/argo-rollouts/releases/latest/download/kubectl-argo-rollouts-darwin-amd64
!!! tip "" For Linux dist, replace
darwin
withlinux
-
Make the kubectl-argo-rollouts binary executable.
chmod +x ./kubectl-argo-rollouts-darwin-amd64
-
Move the binary into your PATH.
sudo mv ./kubectl-argo-rollouts-darwin-amd64 /usr/local/bin/kubectl-argo-rollouts
Test to ensure the version you installed is up-to-date:
kubectl argo rollouts version
The CLI is also available as a container image at https://quay.io/repository/argoproj/kubectl-argo-rollouts
You can run it like any other Docker image or use it in any CI platform that supports Docker images.
docker run quay.io/argoproj/kubectl-argo-rollouts:master version