Comments (15)
Em...Let me guess your operations:
- First, you applied the CRDs into your cluster.
- Then, you created a
StatefulSet.apps.kruise.io
resource. - After that, you tried to install the kruise-controller-manager, and unfortunately you got an error.
Am i right?
from kruise.
- extend CRD
- then deploy kruise-manager
Reference document: https://github.com/openkruise/kruise/blob/master/docs/tutorial/kruise-install.md
from kruise.
@ntboot Could you show me kubectl get statefulset.apps.kruise.io
from kruise.
I don't understand why kruise-controller-manager will miss restart once my guest book is installed.
from kruise.
@jian-he @resouer I think this is a bug of guestbook-kruise chart.
We can not put both kruise-manager and StatefulSet.apps.kruise.io
resources in chart, because the manager must be started before users create the AdvancedStatefulSet. But we have no way to define the order that yamls in chart which should be applied first and others shouldn't be applied util the first one has been ready.
from kruise.
I know what you mean, you have to deploy kruise-controller-manager correctly first, and then you can't deploy the related resources of astatefulset controller correctly. But I also follow the document step by step, but still encountered the above problems.
from kruise.
I like this project very much, and I hope that the elastic expansion behind you will open up as soon as possible. So now I want to solve this problem
from kruise.
@FillZpp If I'm understanding it correctly, you are suggesting we should very kruise-manager is running before deploy any applications?
We can not put both kruise-manager and StatefulSet.apps.kruise.io resources in chart
kruise-manager is not part of guestbook-kruise charts, it's started separately by following https://github.com/openkruise/kruise/blob/master/docs/tutorial/kruise-install.md
from kruise.
@resouer Got it.
@ntboot So i think the problem is, after kruise-manager installed, you went to install guestbook chart immediately, but the kruise-manager had not been ready yet.
This could be a regular problem, i have to think of how to avoid it.
from kruise.
I guess so. I did a test waiting for kruise-manger to start for 8 minutes. Then I started an astatefuleset controller, and finally kruise-manger was restart.
from kruise.
from kruise.
#50 will fix this problem.
After deployed kruise into a cluster, users can not create resources defined in kruise util kurise-manager has been started.
from kruise.
I changed a new cluster operation and succeeded! Thank you
However, the cluster that had problems before cleaned up the relevant resources, and then try again is not good. My understanding is that the order of deleting resources should be:
-
sts. apps. kruise. IO
-
kruise-manger
Am I right? @FillZpp
from kruise.
@ntboot Delete all sts.apps.kruise.io
resources, then delete the pod kubectl delete pod -n kruise-system kruise-controller-manager-0
.
After that, the StatefulSet named kruise-controller-manager
will create a new Pod which should be Ready.
from kruise.
got it
from kruise.
Related Issues (20)
- [feature request] 希望 WorkloadSpread 支持 argo Rollout 资源 HOT 2
- [feature request] SidecarSet init containers are sorted by name when injected to target pod(s) HOT 1
- [IMPROVEMENT] [CloneSet] [Lifecycle] Kruise v1.4+ works not so well with kube-scheduler <= v1.21 HOT 2
- [feature request] JobSidecarTerminator support exec sidecar preStop bash HOT 1
- [BUG] AdvanceCronJob keep on recreating BroadcastJobs (pods) on all nodes. HOT 2
- [BUG] ImageID unchanged, in-place upgrade block HOT 1
- [feature request] 当运行时使用containerd时ImagePullJob支持调用cri接口 HOT 1
- [feature request] build simple Web-UI for OpenKruise workload HOT 9
- Advanced DaemonSet 修改 Spec.Selector 导致旧 pod 残留 HOT 1
- [feature request] 是否存在一种 gsstate 不允许缩容时回收 pod HOT 3
- delete me please
- Panic in reconciler if a CR was created before the controller pods HOT 1
- can not found the v1.4.1 tag in releases HOT 2
- [feature request] 原地升级功能实现是否可以优化 HOT 2
- [BUG] K8s1.21 安装kruise 提示docker客户端版本过低 HOT 1
- Export defaults package to the kruise-api repo HOT 2
- v1.5.2 release changlog and tgz doesn't match the code updates in v1.5.2 git tag HOT 2
- [BUG] 下发了一批镜像预热任务似乎一直不能完成所有节点的预热,也没有失败的情况 HOT 3
- [kind/question] Why kruise-daemon hostNetwork: true? HOT 2
- [BUG] Can't install due to webhook race condition HOT 3
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.