Giter Club home page Giter Club logo

Comments (7)

guzmanf avatar guzmanf commented on July 22, 2024 1

thank @mms-gianni ...

Ii try with reinstall all from begining,

fresh install vps ubuntu 22.04 with apt & update

all command as execute like root

  1. install docker --> from https://docs.docker.com/engine/install/ubuntu/
  2. install kind --> [ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
  3. install kubero CLI --> curl -L https://get.kubero.dev | bash
  4. install kubectl --> options Install using native package management -> Debian-based distributions
  5. run kubero install with default options

and last line "Waiting for Kubero UI to be created" is freeze and not finish

in other terminal --> Troubleshooting Kubero installation

  1. Kubero UI is not accessible

Check the Kubero UI CRD
kubectl get kuberoes.application.kubero.dev kubero -n kubero
result

NAME AGE
kubero 18m

Check if the Kubero UI is running
kubectl get pods -n kubero
result

No resources found in kubero namespace.

Check the Kubero ingress
kubectl get ingress -n kubero
result

No resources found in kubero namespace.

Check if the DNS entry is correct
dig kubero.idscloud.online +noall +question +answer
result

;kubero.idscloud.online. IN A
kubero.idscloud.online. 1800 IN A 190.114.255.98

kubectl get pods -n kubero-operator-system
result

NAME READY STATUS RESTARTS AGE
kubero-operator-controller-manager-d5cbcc6dd-55gw2 0/2 Pending 0 104m

but problem persist,

opinions...

best regard

from kubero.

guzmanf avatar guzmanf commented on July 22, 2024 1

@mms-gianni

kubectl get pods --all-namespaces | grep kubero-operator-controller-manager
result

kubero-operator-system kubero-operator-controller-manager-d5cbcc6dd-55gw2 0/2 Pending 0 112m

kubectl logs -n kubero-operator-system kubero-operator-controller-manager-d5cbcc6dd-55gw2
no result, command return nothing

the Pending has me intrigued.....

from kubero.

guzmanf avatar guzmanf commented on July 22, 2024 1

Dear @mms-gianni , the problem is with the VPS, it is very basic

image

look at this log --> kubectl get events -n kubero-operator-system
LAST SEEN TYPE REASON OBJECT MESSAGE
2m1s Warning FailedScheduling pod/kubero-operator-controller-manager-d5cbcc6dd-55gw2 0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.

..and my contabo vps
image

run excelente!!!

thanks for the support, please close issue

best regard

from kubero.

mms-gianni avatar mms-gianni commented on July 22, 2024

The CLI is waiting for resources to become ready. The cause can vary. Maybe not enough resources on the worker nodes. Or permissions issues.

Here are some troubleshooting commands you could try to find out what went wrong:
https://docs.kubero.dev/Installation/troubleshooting#1-kubero-ui-is-not-accessible

from kubero.

mms-gianni avatar mms-gianni commented on July 22, 2024

Interesting. I hope we can work that out. Never saw that.

Do you see errors in the operator logs?

kubectl logs -n kubero-operator-system kubero-operator-controller-manager-XXXXX

from kubero.

mms-gianni avatar mms-gianni commented on July 22, 2024

So the Operator is not running. That's what causes the problems.

This should look something like this:

NAME                                                  READY   STATUS    RESTARTS        AGE
kubero-operator-controller-manager-64b47f59d8-9wddk   2/2     Running   1  (3d3h ago)   17d 

You might find the reason in the events. But they are kept by back by kubernetes only for 1 hour. So they might be gone already in your case.

Just delete the operator-controller-manager pod. It should come up within some seconds. You should then see fresh events.

kubectl get events -n kubero-operator-system
LAST SEEN   TYPE     REASON             OBJECT                                                    MESSAGE
43s         Normal   Killing            pod/kubero-operator-controller-manager-d5cbcc6dd-bqchb    Stopping container manager
43s         Normal   Killing            pod/kubero-operator-controller-manager-d5cbcc6dd-bqchb    Stopping container kube-rbac-proxy
43s         Normal   Scheduled          pod/kubero-operator-controller-manager-d5cbcc6dd-shj7h    Successfully assigned kubero-operator-system/kubero-operator-controller-manager-d5cbcc6dd-shj7h to kubero-v2-1-control-plane
42s         Normal   Pulled             pod/kubero-operator-controller-manager-d5cbcc6dd-shj7h    Container image "gcr.io/kubebuilder/kube-rbac-proxy:v0.11.0" already present on machine
42s         Normal   Created            pod/kubero-operator-controller-manager-d5cbcc6dd-shj7h    Created container kube-rbac-proxy
42s         Normal   Started            pod/kubero-operator-controller-manager-d5cbcc6dd-shj7h    Started container kube-rbac-proxy
42s         Normal   Pulled             pod/kubero-operator-controller-manager-d5cbcc6dd-shj7h    Container image "ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.155" already present on machine
42s         Normal   Created            pod/kubero-operator-controller-manager-d5cbcc6dd-shj7h    Created container manager
42s         Normal   Started            pod/kubero-operator-controller-manager-d5cbcc6dd-shj7h    Started container manager
43s         Normal   SuccessfulCreate   replicaset/kubero-operator-controller-manager-d5cbcc6dd   Created pod: kubero-operator-controller-manager-d5cbcc6dd-shj7h
24s         Normal   LeaderElection     configmap/kubero-operator                                 kubero-operator-controller-manager-d5cbcc6dd-shj7h_d877f3ad-24bb-4f8e-824e-501ab2933ca4 became leader
24s         Normal   LeaderElection     lease/kubero-operator                                     kubero-operator-controller-manager-d5cbcc6dd-shj7h_d877f3ad-24bb-4f8e-824e-501ab2933ca4 became leader

from kubero.

mms-gianni avatar mms-gianni commented on July 22, 2024

Happy I was able to help.

BTW: I got a small dev Kubernetes running on a single RaspberryPi with 4GB RAM. I used k3s to install it.

raspberyPi

from kubero.

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.