Update notes¶
This section describes the specific actions you as a cloud operator need to complete before or after your Container Cloud cluster update to the Cluster release 14.0.0.
Consider this information as a supplement to the generic update procedures published in Operations Guide: Automatic upgrade of a management cluster and Update a managed cluster.
Pre-update actions¶
Update L2 templates on existing bare metal clusters¶
Since Container Cloud 2.24.0, the use of the l3Layout
section in L2
templates is mandatory. Therefore, if your L2 templates do not contain this
section, manually add it for all existing clusters by defining all
subnets that are used in the npTemplate
section of the L2 template.
Example L2 template with the l3Layout
section
apiVersion: ipam.mirantis.com/v1alpha1
kind: L2Template
metadata:
labels:
bm-1490-template-controls-netplan: anymagicstring
cluster.sigs.k8s.io/cluster-name: managed-cluster
kaas.mirantis.com/provider: baremetal
kaas.mirantis.com/region: region-one
name: bm-1490-template-controls-netplan
namespace: managed-ns
spec:
ifMapping:
- enp9s0f0
- enp9s0f1
- eno1
- ens3f1
l3Layout:
- scope: namespace
subnetName: lcm-nw
- scope: namespace
subnetName: storage-frontend
- scope: namespace
subnetName: storage-backend
- scope: namespace
subnetName: metallb-public-for-extiface
npTemplate: |-
version: 2
ethernets:
{{nic 0}}:
dhcp4: false
dhcp6: false
match:
macaddress: {{mac 0}}
set-name: {{nic 0}}
mtu: 1500
{{nic 1}}:
dhcp4: false
dhcp6: false
match:
macaddress: {{mac 1}}
set-name: {{nic 1}}
mtu: 1500
{{nic 2}}:
dhcp4: false
dhcp6: false
match:
macaddress: {{mac 2}}
set-name: {{nic 2}}
mtu: 1500
{{nic 3}}:
dhcp4: false
dhcp6: false
match:
macaddress: {{mac 3}}
set-name: {{nic 3}}
mtu: 1500
bonds:
bond0:
parameters:
mode: 802.3ad
#transmit-hash-policy: layer3+4
#mii-monitor-interval: 100
interfaces:
- {{ nic 0 }}
- {{ nic 1 }}
bond1:
parameters:
mode: 802.3ad
#transmit-hash-policy: layer3+4
#mii-monitor-interval: 100
interfaces:
- {{ nic 2 }}
- {{ nic 3 }}
vlans:
stor-f:
id: 1494
link: bond1
addresses:
- {{ip "stor-f:storage-frontend"}}
stor-b:
id: 1489
link: bond1
addresses:
- {{ip "stor-b:storage-backend"}}
m-pub:
id: 1491
link: bond0
bridges:
k8s-ext:
interfaces: [m-pub]
addresses:
- {{ ip "k8s-ext:metallb-public-for-extiface" }}
k8s-lcm:
dhcp4: false
dhcp6: false
gateway4: {{ gateway_from_subnet "lcm-nw" }}
addresses:
- {{ ip "k8s-lcm:lcm-nw" }}
nameservers:
addresses: [ 172.18.176.6 ]
interfaces:
- bond0
For details on L2 template configuration, see Create L2 templates.
Caution
Partial definition of subnets is prohibited.