-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from sighupio/feat/upgrade-2.4.0
v2.4.0
- Loading branch information
Showing
21 changed files
with
1,659 additions
and
830 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
terraform 0.15.4 | ||
velero 1.13.0 | ||
velero v1.14.0 |
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
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,46 @@ | ||
# Disaster recovery Core Module Release 2.4.0 | ||
|
||
Welcome to the latest release of the `DR` module of [`Kubernetes Fury Distribution`](https://github.com/sighupio/fury-distribution) maintained by team SIGHUP. | ||
|
||
This latest release upgrades the components in the module to their latest stable release. | ||
It also removes `csi` plugin, because it's already merged into Velero itself. | ||
|
||
## Component Images 🚢 | ||
|
||
| Component | Supported Version | Previous Version | | ||
|-------------------------------------|-----------------------------------------------------------------------------------------------------|------------------| | ||
| `velero` | [`v1.14.0`](https://github.com/vmware-tanzu/velero/releases/tag/v1.14.0) | `1.13.0` | | ||
| `velero-plugin-for-aws` | [`v1.10.0`](https://github.com/vmware-tanzu/velero-plugin-for-aws/releases/tag/v1.10.0) | `1.9.0` | | ||
| `velero-plugin-for-microsoft-azure` | [`v1.10.0`](https://github.com/vmware-tanzu/velero-plugin-for-microsoft-azure/releases/tag/v1.10.0) | `1.9.0` | | ||
| `velero-plugin-for-gcp` | [`v1.10.0`](https://github.com/vmware-tanzu/velero-plugin-for-gcp/releases/tag/v1.10.0) | `1.9.0` | | ||
| `velero-plugin-for-csi` | `Removed` | `0.7.0` | | ||
|
||
> Please refer to the individual release notes to get a detailed information on each release. | ||
## Features 💥 | ||
|
||
- Update Velero to v1.14.0 | ||
- Update plugins | ||
- Add flags `--client-qps` and `--client-burst` to avoid the throttling errors. See [here](https://github.com/vmware-tanzu/velero/issues/3191) | ||
|
||
## Update Guide 🦮 | ||
|
||
### Process | ||
|
||
To upgrade this module from v2.3.x to v2.4.0, you need to download this new version and then: | ||
|
||
1. Upgrade Velero | ||
```bash | ||
# Upgrade CRDs | ||
kubectl apply -f katalog/velero-base/crds.yaml | ||
|
||
# Upgrade Velero | ||
kustomize build katalog/velero/velero-aws | kubectl apply -f - | ||
# Or | ||
kustomize build katalog/velero/velero-gcp | kubectl apply -f - | ||
# Or | ||
kustomize build katalog/velero/velero-azure | kubectl apply -f - | ||
# Or, if the cluster is on-premise remove the minio-setup job first | ||
kubectl delete job -n kube-system minio-setup | ||
kustomize build katalog/velero/velero-on-prem | kubectl apply -f - | ||
``` |
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,47 @@ | ||
# Copyright (c) 2020 SIGHUP s.r.l All rights reserved. | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file. | ||
|
||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
kind: Cluster | ||
networking: | ||
apiServerAddress: "0.0.0.0" | ||
|
||
nodes: | ||
- role: control-plane | ||
kubeadmConfigPatches: | ||
- | | ||
group: kubeadm.k8s.io | ||
version: v1beta1 | ||
kind: ClusterConfiguration | ||
patch: | | ||
- op: add | ||
path: /apiServer/certSANs/- | ||
value: docker | ||
- | | ||
kind: ClusterConfiguration | ||
metadata: | ||
name: config | ||
etcd: | ||
local: | ||
extraArgs: | ||
"listen-metrics-urls": "http://0.0.0.0:2378" | ||
apiServer: | ||
extraArgs: | ||
"enable-admission-plugins": "NamespaceLifecycle,LimitRanger,PodNodeSelector,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota" | ||
controllerManager: | ||
extraArgs: | ||
"bind-address": "0.0.0.0" | ||
scheduler: | ||
extraArgs: | ||
"bind-address": "0.0.0.0" | ||
- role: worker | ||
|
||
containerdConfigPatches: | ||
- |- | ||
[debug] | ||
level = "debug" | ||
[plugins."io.containerd.grpc.v1.cri".registry] | ||
[plugins."io.containerd.grpc.v1.cri".registry.mirrors] | ||
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"] | ||
endpoint = ["https://mirror.gcr.io", "https://registry-1.docker.io"] |
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
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
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
Oops, something went wrong.