Giter VIP home page Giter VIP logo

Comments (4)

infinitydon avatar infinitydon commented on August 30, 2024

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.

jnummelin avatar jnummelin commented on August 30, 2024

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.

jnummelin avatar jnummelin commented on August 30, 2024

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.

infinitydon avatar infinitydon commented on August 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.