Comments (4)
Separating the Clusters into different namespaces seems to stabilize the PODs..
kubectl get cluster -A
NAMESPACE NAME AGE
core core-k8s-ctrl 57m
edge edge-k8s-ctrl 57m
regional regional-k8s-ctrl 57m
kubectl get po -Ao wide | egrep "core|edge|regional"
core kmc-core-k8s-ctrl-0 1/1 Running 0 58m 10.244.0.137 nephio-mgmt-k8s <none> <none>
core kmc-core-k8s-ctrl-etcd-0 1/1 Running 0 58m 10.244.0.143 nephio-mgmt-k8s <none> <none>
edge kmc-edge-k8s-ctrl-0 1/1 Running 0 58m 10.244.0.139 nephio-mgmt-k8s <none> <none>
edge kmc-edge-k8s-ctrl-etcd-0 1/1 Running 0 58m 10.244.0.144 nephio-mgmt-k8s <none> <none>
regional kmc-regional-k8s-ctrl-0 1/1 Running 0 58m 10.244.0.141 nephio-mgmt-k8s <none> <none>
regional kmc-regional-k8s-ctrl-etcd-0 1/1 Running 0 58m 10.244.0.145 nephio-mgmt-k8s <none> <none>
Still not sure about the logic behind this
from k0smotron.
hmm, that is weird indeed. I don't immediately get either why separating clusters into other namespaces would make a difference.
Did you see anything weird on k0smotron controller logs?
Based on the logs you shared, it seems the CP pod is actually killed. So I wonder if there's some failing health check or something going on.
from k0smotron.
The other thing I'm thingking of is that maybe we have some naming mismatch, i.e. k0smotron would use same name for some related object (configmaps,secrets,...) for two clusters. Now that you've got the clusters separated into namespaces, could you check ALL the objects in each namespace to see if there's some naming mismatches? You can dump ALL the objects with something like:
kubectl api-resources --verbs=list --namespaced -o name \
| xargs -n 1 kubectl get --show-kind --ignore-not-found -n <namespace>
from k0smotron.
I did not see anything weird in the controller-logs, it too was complaining of not able to connect to the LB address of the 3rd cluster endpoint.
I did the api-respources dump, did not see a conflict there but you can also have a look
regional-ns-objects.txt
core-ns-objects.txt
edge-ns-objects.txt
from k0smotron.
Related Issues (20)
- Add service IP and FQDNs to the k0s config sans section for HCP
- Persistent volume resize
- RemoteMachine Setup: K0smotronControlPlane Etcd stuck restarting due to Rampant Reconciles HOT 4
- how to use clusterapi provider to deploy multiple clusters HOT 5
- kosmotron + capd doesn't work at all HOT 1
- Config files for apiserver
- K0smotron CAPI BYOCNI HOT 1
- ControlPlane manager throwing segfaults (control plane does come up) HOT 1
- Integration with Kapitan and Commodore HOT 1
- Document k0s persistence
- k0smotron operator falls into CrashLoopBackOff HOT 1
- Seeking Advice on Setting Up a High Availability K0s and K0smotron Lab HOT 2
- Worker node is not registered in kubernetes HOT 1
- The managed-by annotation should be removed for AWS deployments HOT 5
- Unable to upgrade standalone k0s cluster on AWS HOT 4
- Add an ability to delete hosted cluster state HOT 1
- K0smotron controller freezes for some time before continue reconciling
- Expose k0s cluster ID in kosmotron API
- Add ContentFrom option for Files configuration in K0sConfigSpec and K0sWorkerConfigSpec
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 k0smotron.