v0.18.0-beta.0
Pre-release- Migrate to final optional object attributes syntax #291
- Update GKE default image type to COS_containerd #292
- Update CLI versions to latest #294
- Handle breaking azurerm provider attribute changes #276
Full Changelog: v0.17.1-beta.0...v0.18.0-beta.0
Upgrade Notes
Upgrade the versions for each module and the source image in the Dockerfile. Also run terraform init --upgrade
to update the provider versions in the lock file.
There are no specific steps required for EKS. There are two optional steps for AKS and GKE. See below for details.
AKS
The azurerm
provider has a number of breaking changes in the latest version. Most have been handled inside the module and do not require special steps during upgrade. There is one exception, the reserved ingress IP.
Upstream refactored how zones are handled across resources. Kubestack let Azure handle the zones for the ingress IP, but previous provider versions stored them in state. The upgraded provider wants to destroy and recreate the IP because the zones in state don't match what's specified in code (null).
Users that do not want the IP to be recreated, have to set the zones explicitly to match what's in state.
configuration = {
# Settings for Apps-cluster
apps = {
# [...]
default_ingress_ip_zones = "1,2,3"
# [...]
}
# [...]
}
GKE
Starting with Kubernetes v1.24 GKE will default to COS_containerd
instead of COS
for the node image type. Kubestack follows upstream and defaults to the Containerd version for new node pools starting with this release. For existing node pools, you can set cluster_image_type
for the default node pool configured as part of the cluster module or image_type
for additional node pools to either COS_containerd
or COS
to explicitly set this for a respective node pool.