-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
30 additions
and
26 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Migration | ||
|
||
## Helm v2 to v3 | ||
|
||
- [ ] Backup Helm2 releases for rollback | ||
- [ ] Get list of releases `helm tiller run -- helm list` | ||
- [ ] For each release, backup Chart + values | ||
|
||
> Do we actually need backups??? | ||
> It seems that we could simply redeploy (rollback) with helm2 container | ||
> Rollback would mean, cleaning up Helm v3 configs/secrets/deploys? | ||
### Local cluster upgrade | ||
|
||
- [ ] Install Helm3 | ||
- Update `/sv/scripts/install_helm.sh` to use Helm version `v3.14.0` | ||
- Run `bash /sv/scripts/install_helm.sh` | ||
- [ ] Install [helm-2to3](https://github.com/helm/helm-2to3) plugin | ||
- `helm plugin install https://github.com/helm/helm-2to3.git` | ||
- [ ] Migrate Helm2 to Helm3 | ||
- [ ] `helm 2to3 move config` | ||
- [ ] `helm 2to3 convert sv-kube-proxy` | ||
- [ ] `helm 2to3 convert sv-graphql` | ||
- [ ] `helm 2to3 convert sv-geo` | ||
- [ ] `helm 2to3 cleanup` |
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,5 @@ | ||
. /sv/scripts/errorHandler.sh | ||
|
||
helm_plugins=$(helm plugin list | grep tiller || true) | ||
|
||
if [ -z "$helm_plugins" ]; then | ||
helm init --tiller-image=jessestuart/tiller --upgrade --history-max=3 | ||
|
||
# install tiller for context switching [AUT-313] | ||
helm plugin install https://github.com/rimusz/helm-tiller || true | ||
fi | ||
|
||
# install the binary necessary to run helm tiller run -- commands | ||
if [ ! -f /root/.helm/plugins/helm-tiller/bin/tiller ]; then | ||
docker create --name tiller jessestuart/tiller:v2.17.0 /bin/sh | ||
mkdir -p /root/.helm/plugins/helm-tiller/bin | ||
docker cp tiller:/tiller /root/.helm/plugins/helm-tiller/bin/ | ||
docker rm -fv tiller | ||
fi | ||
|
||
# ensure we're on the right repo | ||
helm repo rm stable || true | ||
helm repo add stable https://charts.helm.sh/stable |
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
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