From 1f826d79935e9f74e251080d5ea54048abf84010 Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Fri, 17 Jan 2020 12:28:27 -0600 Subject: [PATCH] Add slide about version skew --- slides/k8s/versions-k8s.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/slides/k8s/versions-k8s.md b/slides/k8s/versions-k8s.md index 9c856b68..2daf88f8 100644 --- a/slides/k8s/versions-k8s.md +++ b/slides/k8s/versions-k8s.md @@ -66,3 +66,25 @@ class: extra-details - At any given time, 3 *minor* releases are maintained (in other words, a given *minor* release is maintained about 9 months) + +--- + +## Kubernetes version compatibility + +*Should my version of `kubectl` match exactly my cluster version?* + +- `kubectl` can be up to one minor version older or newer than the cluster + + (if cluster version is 1.15.X, `kubectl` can be 1.14.Y, 1.15.Y, or 1.16.Y) + +- Things *might* work with larger version differences + + (but they will probably fail randomly, so be careful) + +- This is an example of an error indicating version compability issues: + ``` + error: SchemaError(io.k8s.api.autoscaling.v2beta1.ExternalMetricStatus): + invalid object doesn't have additional properties + ``` + +- Check [the documentation](https://kubernetes.io/docs/setup/release/version-skew-policy/#kubectl) for the whole story about compatibility