argo-rollouts-configuration
Note: Currently, the Consul Traffic Routing Rollouts Plugin only supports subset based routing.
Install Rollouts Using Helm (Init Container)
This is the preferred method for installing this plugin.
Add the following code to your values.yaml
file, then install the argo-rollouts by helm:
Install Rollouts Using Helm (Binary)
- Build this plugin (i.e.
make build
). - Mount the built plugin onto the
argo-rollouts
container - Add the following code to your
values.yaml
file, then install the argo-rollouts by helm:
Stand-alone installation
Note: The files which follow (and the code in it) are only for illustrative purposes, please do not use directly!
Steps:
- Build this plugin.
- Put the plugin on the path & mount onto the
argo-rollouts
container (please refer to the example YAML below to modify the deployment) - Create a ConfigMap to configure
argo-rollouts
with the plugin's location:
Install the RBAC
After either mounting the binary or using an init container apply the RBAC using the provided yaml/rbac.yaml
Usage
- Create the Kubernetes Service that will be utilized by the service being rolled out. Additionally, configure any Service Defaults and Proxy Defaults required for the service.
- Create the Service Resolver and Service Splitter CRDs for your stable service. Argo will automate the modification of these CRDs during canary deployments.
- Configure your Argo Rollout resource
- Perform the Rollout operation using the Argo Rollouts Kubectl plugin.