Skip to content

Commit 3bd6fd0

Browse files
Update testing-crd-versions.md
1 parent cfd6678 commit 3bd6fd0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/testing-crd-versions.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,13 @@ It's also worth nothing that:
224224
> [#](https://github.com/kubernetes/kubernetes/issues/94761#issuecomment-880900951)
225225
226226
On all other third-party cases, the [standard Kubernetes CRD versioning rules](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/#overview) remain in place.
227+
228+
For `storage:`, when a version is marked as such, it's used like that to be serialized into `etcd`, then:
229+
230+
> Whenever you fetch an object, the api server reads it from etcd, converts it into an internal version, then converts it to the version you requested. [#](https://github.com/kubernetes/kubernetes/issues/58131#issuecomment-404466779)
231+
232+
It's also worth noting that:
233+
234+
> Controllers always get the version they requested from the API. They are not exposed to the stored version. [#](https://github.com/kubernetes/kubernetes/issues/58131#issuecomment-404466779)
235+
236+
There's an entire [Google Docs Document](https://docs.google.com/document/d/1eoS1K40HLMl4zUyw5pnC05dEF3mzFLp5TPEEt4PFvsM/edit) regarding this discussion and how CRDs and "Stored" vs "Served" works.

0 commit comments

Comments
 (0)