Comments (4)
it may not be the best solution to determine whether the cloneset is reconciled or not. The defaulting logics are the implementation detail of openkruise. For example, SetDefaultsCloneSets will reference the package "k8s.io/kubernetes/pkg/apis/core/v1" not just "k8s.io/api/core/v1". And if there is other mutating webhook that alter cloneset object, the logic also breaks. Maybe one solution is to record the update cloneset spec in the cloneset annotation or other CR.
from kruise.
I think it is not an internal implementation detail. It's standard practice to offer such a method just like core APIs do.
We already disable PodTemplate defaulting feature gate on Kruise, so realistically we're only interested in the Kruise-specific fields.
As you noted, this defaulting won't be guaranteed and susceptible to library version vs API version drifts but we'll take it. :)
from kruise.
I want to try to solve this issue, can you assign it to me ?
from kruise.
We can actually close this issue. I realized this pkg imports k8s.io/kubernetes
module, which is a massive pain in the back to import in any Go project.
from kruise.
Related Issues (20)
- [feature request] Kruise-daemon is not deployed on virtual-kubelet node. HOT 1
- [BUG]fake client break changes affect NodePodProbe ut cases when bump deps k8s to v1.28
- [BUG] make docker-multiarch failed with vendor errors HOT 8
- A potential risk in kruise that could lead to takeover of the cluster[BUG] YOUR_TITLE HOT 1
- [BUG] Advanced StatefulSet In situ upgrade card owner
- [BUG] Creating a WorkloadSpread with a patch for the priorityClassName fails HOT 1
- Report the use of components with vulnerabilities in kruise HOT 3
- [feature request] ResourceDistribution point at secret HOT 2
- [feature request] add validating webhook for ejob HOT 2
- [BUG] E2E Test Failed on arm HOT 2
- 1.5.4原地升级失效 HOT 1
- [feature request] the rescheduleCriticalSeconds range is too small.
- [feature request] deploy specified CRDs and its corresponding controllers
- advanced statefulset in place update do not update annotations of pod when image not changed
- [BUG] CRR is blocking, if recreate a pod which is already during recreate
- [feature request] Make CloneSet and StatefulSet Support the generateName setting HOT 6
- [feature request] WorkloadSpread supports option to disable/ignore StatefulSet ordinal check
- [feature request] Support cri-docker HOT 1
- [BUG] 为什么首次通过修改annotation来实现原地升级就会激活backoff定时器? HOT 4
- [feature request] SidecarSet supports to customize container injection for specific settings. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kruise.