From ede4ea0dd5c946bd65fb9461ac16189ea06712bb Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Wed, 11 Nov 2020 21:17:54 +0100 Subject: [PATCH] Add note about GVK --- slides/k8s/architecture.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/slides/k8s/architecture.md b/slides/k8s/architecture.md index 0002d53b..bec06267 100644 --- a/slides/k8s/architecture.md +++ b/slides/k8s/architecture.md @@ -273,6 +273,26 @@ class: extra-details --- +class: extra-details + +## Group-Version-Kind, or GVK + +- A particular type will be identified by the combination of: + + - the API group it belongs to (core, `apps`, `metrics.k8s.io`, ...) + + - the version of this API group (`v1`, `v1beta1`, ...) + + - the "Kind" itself (Pod, Role, Job, ...) + +- "GVK" appears a lot in the API machinery code + +- Conversions are possible between different versions + + (and even between API groups; e.g. when Deployments moved from `extensions` to `apps`) + +--- + ## Update - Let's update our namespace object