shaowenchen 增加之后,在 运行,telepresence。
[root@ks-allinone ]# ll /etc/kubesphere/
total 12
-rw-r–r– 1 root root 390 May 24 18:36 ingress-controller-svc.yaml
-rw-r–r– 1 root root 1986 May 24 18:36 ingress-controller.yaml
drwxr-xr-x 2 root root 74 May 23 00:13 ks-installer
-rw-r–r– 1 root root 1726 May 23 04:05 kubesphere.yaml
报错还是这个 :
[root@ks-allinone kubesphere]# go run cmd/ks-apiserver/apiserver.go
W0524 18:37:30.274488 88636 routers.go:174] open /etc/kubesphere/ingress-controller: no such file or directory
E0524 18:37:30.274510 88636 routers.go:69] error happened during loading external yamls, open /etc/kubesphere/ingress-controller: no such file or directory
I0524 18:37:30.278834 88636 apiserver.go:259] Start cache objects
W0524 18:37:30.483700 88636 apiserver.go:365] resource iam.kubesphere.io/v1alpha2, Resource=users not exists in the cluster
W0524 18:37:30.483726 88636 apiserver.go:365] resource iam.kubesphere.io/v1alpha2, Resource=globalroles not exists in the cluster
W0524 18:37:30.483732 88636 apiserver.go:365] resource iam.kubesphere.io/v1alpha2, Resource=globalrolebindings not exists in the cluster
W0524 18:37:30.483738 88636 apiserver.go:365] resource iam.kubesphere.io/v1alpha2, Resource=workspaceroles not exists in the cluster
W0524 18:37:30.483742 88636 apiserver.go:365] resource iam.kubesphere.io/v1alpha2, Resource=workspacerolebindings not exists in the cluster
W0524 18:37:30.483748 88636 apiserver.go:365] resource cluster.kubesphere.io/v1alpha1, Resource=clusters not exists in the cluster
E0524 18:37:30.487419 88636 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191114101535-6c5935290e33/tools/cache/reflector.go:96: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0524 18:37:31.488384 88636 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191114101535-6c5935290e33/tools/cache/reflector.go:96: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0524 18:37:32.489752 88636 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191114101535-6c5935290e33/tools/cache/reflector.go:96: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0524 18:37:33.493234 88636 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191114101535-6c5935290e33/tools/cache/reflector.go:96: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0524 18:37:34.494233 88636 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191114101535-6c5935290e33/tools/cache/reflector.go:96: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0524 18:37:35.495137 88636 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191114101535-6c5935290e33/tools/cache/reflector.go:96: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0524 18:37:36.496131 88636 reflector.go:123] pkg/mod/k8s.io/client-go@v0.0.0-20191114101535-6c5935290e33/tools/cache/reflector.go:96: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
CW0524 18:37:37.469608 88636 apiserver.go:405] resource snapshot.storage.k8s.io/v1beta1, Resource=volumesnapshotclasses not exists in the cluster
W0524 18:37:37.469624 88636 apiserver.go:405] resource snapshot.storage.k8s.io/v1beta1, Resource=volumesnapshots not exists in the cluster
W0524 18:37:37.469630 88636 apiserver.go:405] resource snapshot.storage.k8s.io/v1beta1, Resource=volumesnapshotcontents not exists in the cluster
I0524 18:37:37.469648 88636 apiserver.go:434] Finished caching objects
I0524 18:37:37.469655 88636 apiserver.go:201] Start listening on :9090
Error: http: Server closed