Replies: 3 comments 6 replies
-
In the assembly section: what's the mechanism by which the scheduler knows when |
Beta Was this translation helpful? Give feedback.
-
No, the 3 replicas is just an example, you can define any value.
When you called the
Thanks for pointing it out, it should be |
Beta Was this translation helpful? Give feedback.
-
I experimented with the k8s operator before, but I ended up not using it. See e.g. #1355. I think I'll have another go, there are some things I want to do that it would probably help with. |
Beta Was this translation helpful? Give feedback.
-
I'm looking through the docs for the vineyard k8s operator; and there are a couple of things that I don't fully understand. https://v6d.io/notes/cloud-native/vineyard-operator.html
In https://v6d.io/notes/cloud-native/vineyard-operator.html#create-a-vineyard-cluster, it mentions a deployment for 3-replica vineyard servers, but there's no explicit mention of 3 in the example manifest. Is 3 a default?
Regarding the GlobalObject and LocalObject CRDs. Presumably it's normal for vineyard objects to be created by application code; are we saying that when this happens something dynamically creates the corresponding k8s resources?
Regarding the scheduler. There's discussion of "jobs", but the examples show the creation of deployments, so these are not "jobs" in the k8s sense. Normally we think of k8s deployments as long lived; whereas jobs perform a single task and then end. The docs refer to https://github.com/v6d-io/v6d/tree/main/k8s/test/e2e/workflow-demo, and the manifests in this example do indeed create k8s jobs, not deployments.
Beta Was this translation helpful? Give feedback.
All reactions