Skip to content

Commit 9102419

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Upgrade to calico_tag=v3.21.2"
2 parents 891abc9 + 9643abc commit 9102419

File tree

8 files changed

+3953
-296
lines changed

8 files changed

+3953
-296
lines changed

doc/source/user/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2719,6 +2719,8 @@ _`calico_tag`
27192719
Stein default: v2.6.7
27202720
Train default: v3.3.6
27212721
Ussuri default: v3.13.1
2722+
Victoria default: v3.13.1
2723+
Wallaby default: v3.13.1
27222724

27232725

27242726
Besides, the Calico network driver needs kube_tag with v1.9.3 or later, because

magnum/drivers/common/templates/kubernetes/fragments/calico-service.sh

Lines changed: 3926 additions & 295 deletions
Large diffs are not rendered by default.

magnum/drivers/common/templates/kubernetes/fragments/write-heat-params-master.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ PASSWORD="$PASSWORD"
5252
CLUSTER_NETWORK="$CLUSTER_NETWORK"
5353
CLUSTER_NETWORK_NAME="$CLUSTER_NETWORK_NAME"
5454
CLUSTER_SUBNET="$CLUSTER_SUBNET"
55+
CLUSTER_SUBNET_CIDR="$CLUSTER_SUBNET_CIDR"
5556
TLS_DISABLED="$TLS_DISABLED"
5657
KUBE_DASHBOARD_ENABLED="$KUBE_DASHBOARD_ENABLED"
5758
INFLUX_GRAFANA_DASHBOARD_ENABLED="$INFLUX_GRAFANA_DASHBOARD_ENABLED"
@@ -155,6 +156,7 @@ CONTAINERD_TARBALL_URL="$CONTAINERD_TARBALL_URL"
155156
CONTAINERD_TARBALL_SHA256="$CONTAINERD_TARBALL_SHA256"
156157
POST_INSTALL_MANIFEST_URL="$POST_INSTALL_MANIFEST_URL"
157158
METRICS_SCRAPER_TAG="$METRICS_SCRAPER_TAG"
159+
CLUSTER_SUBNET_CIDR="$CLUSTER_SUBNET_CIDR"
158160
EOF
159161
}
160162

magnum/drivers/k8s_fedora_atomic_v1/templates/kubecluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,7 @@ resources:
12141214
fixed_network: {get_attr: [network, fixed_network]}
12151215
fixed_network_name: {get_param: fixed_network_name}
12161216
fixed_subnet: {get_attr: [network, fixed_subnet]}
1217+
fixed_subnet_cidr: {get_param: fixed_subnet_cidr}
12171218
api_pool_id: {get_attr: [api_lb, pool_id]}
12181219
etcd_pool_id: {get_attr: [etcd_lb, pool_id]}
12191220
username: {get_param: username}

magnum/drivers/k8s_fedora_atomic_v1/templates/kubemaster.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ parameters:
212212
type: string
213213
description: Subnet from which to allocate fixed addresses.
214214

215+
fixed_subnet_cidr:
216+
type: string
217+
description: network range for fixed ip network
218+
215219
network_driver:
216220
type: string
217221
description: network driver to use for instantiating container networks
@@ -779,6 +783,7 @@ resources:
779783
"$CLUSTER_NETWORK": {get_param: fixed_network}
780784
"$CLUSTER_NETWORK_NAME": {get_param: fixed_network_name}
781785
"$CLUSTER_SUBNET": {get_param: fixed_subnet}
786+
"$CLUSTER_SUBNET_CIDR": {get_param: fixed_subnet_cidr}
782787
"$TLS_DISABLED": {get_param: tls_disabled}
783788
"$TRAEFIK_INGRESS_CONTROLLER_TAG": {get_param: traefik_ingress_controller_tag}
784789
"$KUBE_DASHBOARD_ENABLED": {get_param: kube_dashboard_enabled}

magnum/drivers/k8s_fedora_coreos_v1/templates/kubecluster.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ parameters:
9393
description: uuid/name of an existing subnet to use to provision machines
9494
default: ""
9595

96+
fixed_subnet_cidr:
97+
type: string
98+
description: network range for fixed ip network
99+
96100
master_image:
97101
type: string
98102
description: glance image used to boot the server
@@ -578,7 +582,7 @@ parameters:
578582
calico_tag:
579583
type: string
580584
description: tag of the calico containers used to provision the calico node
581-
default: v3.13.1
585+
default: v3.21.2
582586

583587
calico_kube_controllers_tag:
584588
type: string
@@ -1242,6 +1246,7 @@ resources:
12421246
fixed_network: {get_attr: [network, fixed_network]}
12431247
fixed_network_name: {get_param: fixed_network_name}
12441248
fixed_subnet: {get_attr: [network, fixed_subnet]}
1249+
fixed_subnet_cidr: {get_param: fixed_subnet_cidr}
12451250
api_pool_id: {get_attr: [api_lb, pool_id]}
12461251
etcd_pool_id: {get_attr: [etcd_lb, pool_id]}
12471252
username: {get_param: username}

magnum/drivers/k8s_fedora_coreos_v1/templates/kubemaster.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ parameters:
216216
type: string
217217
description: Subnet from which to allocate fixed addresses.
218218

219+
fixed_subnet_cidr:
220+
type: string
221+
description: network range for fixed ip network
222+
219223
network_driver:
220224
type: string
221225
description: network driver to use for instantiating container networks
@@ -797,7 +801,9 @@ resources:
797801
"$PASSWORD": {get_param: password}
798802
"$CLUSTER_NETWORK": {get_param: fixed_network}
799803
"$CLUSTER_NETWORK_NAME": {get_param: fixed_network_name}
804+
"$CLUSTER_SUBNET_CIDR": {get_param: fixed_subnet_cidr}
800805
"$CLUSTER_SUBNET": {get_param: fixed_subnet}
806+
"$CLUSTER_SUBNET_CIDR": {get_param: fixed_subnet_cidr}
801807
"$TLS_DISABLED": {get_param: tls_disabled}
802808
"$TRAEFIK_INGRESS_CONTROLLER_TAG": {get_param: traefik_ingress_controller_tag}
803809
"$KUBE_DASHBOARD_ENABLED": {get_param: kube_dashboard_enabled}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
upgrade:
3+
- |
4+
Upgrade to calico_tag=v3.21.2. Additionally, use fixed subnet CIDR for
5+
IP_AUTODETECTION_METHOD supported from v3.16.x onwards.

0 commit comments

Comments
 (0)