Skip to content

Commit 0a211a9

Browse files
authored
chore: upgrade guide 9.0 (#511)
* upgrade guide * upgrade guide * add node_metadata change, add more details about breaking changes * markdown fmt
1 parent 8e14762 commit 0a211a9

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

docs/upgrading_to_v9.0.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Upgrading to v9.0
2+
3+
The v9.0 release of *kubernetes-engine* is a backwards incompatible
4+
release.
5+
6+
## Provider Version
7+
8+
- Support for Google provider versions older than v3.16 has been removed due to the introduction of GKE metering block.
9+
- Support for Google-Beta provider versions older than v3.19 has been removed due to the introduction of GCE PD CSI Driver features.
10+
11+
## Beta Clusters
12+
13+
Beta clusters now defaults `node_metadata` to `GKE_METADATA_SERVER` for enabling Workload Identity by default.
14+
15+
If you would like to continue using `SECURE` you can override the default value.
16+
17+
```diff
18+
module "gke" {
19+
source = "terraform-google-modules/kubernetes-engine/google//modules/beta-public-cluster"
20+
- version = "~> 8.0"
21+
+ version = "~> 9.0"
22+
...
23+
+ node_metadata = "SECURE"
24+
}
25+
```
26+
27+
## ACM Module
28+
29+
The ACM module has been refactored and resources will be recreated; particularly note the recreation of `tls_private_key` if `create_ssh_key` is enabled.
30+
31+
```diff
32+
- module.acm.tls_private_key.git_creds[0]
33+
+ module.acm.module.acm_operator.tls_private_key.k8sop_creds[0]
34+
```
35+
36+
## Safer Cluster Module
37+
38+
For the Safer Cluster module, you must now specify `release_channel` instead of `kubernetes_version`.
39+
The `release_channel` can be chosen based on type of workload. For production workloads `REGULAR` is recommended or `STABLE` if stability is paramount.
40+
41+
More information about release channels can be found [here](https://cloud.google.com/kubernetes-engine/docs/concepts/release-channels).
42+
43+
Release notes for each release channel can be found [here](https://cloud.google.com/kubernetes-engine/docs/release-notes).

0 commit comments

Comments
 (0)