Skip to content

查询kubefate version 报错:kubefate service connection error:404 #939

Description

@guoyilong-world

gyl@ubuntu:~/kubefate$ kubefate version

  • kubefate commandLine version=v1.4.4
    2024-05-15T20:02:23-07:00 DBG ../../../root/origin/KubeFATE/k8s-deploy/pkg/cli/version.go:61 > Request Type=GET url=http://example.com:30510/v1/version
  • kubefate service connection error, resp.StatusCode=404, error:
<title>404 Not Found</title>

404 Not Found


nginx

gyl@ubuntu:~/kubefate$ kubectl -n ingress-nginx get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingress-nginx-controller NodePort 10.111.171.119 80:30510/TCP,443:31844/TCP 38h
ingress-nginx-controller-admission ClusterIP 10.110.61.130 443/TCP 38h

gyl@ubuntu:~/kubefate$ kubectl get all,ingress -n kube-fate
NAME READY STATUS RESTARTS AGE
pod/kubefate-c9cd796d4-hlngn 0/1 Running 33 17h
pod/mariadb-548468fc57-xwb84 1/1 Running 3 17h

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubefate ClusterIP 10.101.26.211 80/TCP 17h
service/mariadb ClusterIP 10.110.190.202 3306/TCP 17h

NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/kubefate 0/1 1 0 17h
deployment.apps/mariadb 1/1 1 1 17h

NAME DESIRED CURRENT READY AGE
replicaset.apps/kubefate-c9cd796d4 1 1 0 17h
replicaset.apps/mariadb-548468fc57 1 1 1 17h

NAME CLASS HOSTS ADDRESS PORTS AGE
ingress.networking.k8s.io/kubefate nginx example.com 80 17h

TODO

persistent layer

log:
level: debug
user:
username: admin
password: admin

serviceurl: example.com:30510

gyl@ubuntu:~/kubefate$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
ingress-nginx ingress-nginx-admission-create-ftvhq 0/1 Completed 0 37h
ingress-nginx ingress-nginx-admission-patch-jvdjz 0/1 Completed 1 37h
ingress-nginx ingress-nginx-controller-bbbf94647-lsc5r 1/1 Running 6 37h
kube-fate kubefate-c9cd796d4-hlngn 0/1 Running 33 17h
kube-fate mariadb-548468fc57-xwb84 1/1 Running 3 17h
kube-system coredns-74ff55c5b-ljpzx 1/1 Running 6 39h
kube-system etcd-minikube 1/1 Running 6 39h
kube-system kube-apiserver-minikube 1/1 Running 5 39h
kube-system kube-controller-manager-minikube 1/1 Running 7 39h
kube-system kube-proxy-4n4gp 1/1 Running 6 39h
kube-system kube-scheduler-minikube 1/1 Running 6 39h
kube-system storage-provisioner 1/1 Running 10 39h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions