Commit 035eba6
committed
ref(scheduler): use observedGeneration instead of resourceVersion for RC readiness
https://github.com/kubernetes/kubernetes/blob/master/docs/devel/api-conventions.md#metadata explains the resourceVersion and generation pretty well
resourceVersion is the internal version representation where as generation deals with desired state
Some resources report the observedGeneration, which is the generation most recently observed by the component responsible for acting upon changes to the desired state of the resource. This can be used, for instance, to ensure that the reported status reflects the most recent desired status.1 parent 3d901bf commit 035eba6
1 file changed
Lines changed: 9 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
| 933 | + | |
947 | 934 | | |
948 | 935 | | |
949 | 936 | | |
| |||
1032 | 1019 | | |
1033 | 1020 | | |
1034 | 1021 | | |
1035 | | - | |
1036 | | - | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1037 | 1027 | | |
| 1028 | + | |
1038 | 1029 | | |
1039 | 1030 | | |
1040 | 1031 | | |
1041 | 1032 | | |
1042 | 1033 | | |
1043 | | - | |
| 1034 | + | |
1044 | 1035 | | |
| 1036 | + | |
1045 | 1037 | | |
1046 | 1038 | | |
1047 | 1039 | | |
| |||
0 commit comments