Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An Network Error occurred while Connect to remote service with Telepresence #100

Open
aclk opened this issue Jun 24, 2020 · 2 comments
Open

Comments

@aclk
Copy link

aclk commented Jun 24, 2020

arvin.he@vk ~/go/src/kubesphere.io/kubesphere (master●●)$ telepresence --namespace kubesphere-system --swap-deployment ks-apiserver --expose 9090:9090 --run go run ./cmd/ks-apiserver/apiserver.go
T: Starting proxy with method 'vpn-tcp', which has the following limitations: All processes are affected, only one telepresence can run per machine, and you
T: can't use other VPNs. You may need to add cloud hosts and headless services with --also-proxy. For a full list of method limitations see
T: https://telepresence.io/reference/methods.html
T: Volumes are rooted at $TELEPRESENCE_ROOT. See https://telepresence.io/howto/volumes.html for details.
T: Starting network proxy to cluster by swapping out Deployment ks-apiserver with a proxy
T: Forwarding remote port 9090 to local port 9090.

T: Connected. Flushing DNS cache.
T: Setup complete. Launching your command.
Error: factory is not able to fill the pool: LDAP Result Code 200 "Network Error": dial tcp 10.233.71.55:389: i/o timeout
Usage:
  ks-apiserver [flags]

Flags:
      --access-token-max-age duration                   AccessTokenMaxAgeSeconds  control the lifetime of access tokens, 0 means no expiration. (default 24h0m0s)
      --add-dir-header                                  If true, adds the file directory to the header
      --agent-image string                              This field is used when generating deployment yaml for agent. (default "kubesphere/tower:v1.0")
      --alsologtostderr                                 log to standard error as well as files
      --auditing-elasticsearch-host string              Elasticsearch service host. KubeSphere is using elastic as auditing store, if this filed left blank, KubeSphere will use kubernetes builtin event API instead, and the following elastic search options will be ignored.
      --auditing-elasticsearch-version string           Elasticsearch major version, e.g. 5/6/7, if left blank, will detect automatically.Currently, minimum supported version is 5.x
      --auditing-enabled                                Enable auditing component or not.
      --auditing-index-prefix string                    Index name prefix. KubeSphere will retrieve auditing against indices matching the prefix. (default "ks-logstash-auditing")
      --auditing-webhook-url string                     Auditing wehook url
      --authenticate-max-retries int
      --authenticate-rate-limiter-duration duration      (default 30m0s)
      --authenticate-rate-limiter-max-retries int        (default 5)
      --authorization string                            Authorization setting, allowed values: AlwaysDeny, AlwaysAllow, RBAC. (default "RBAC")
      --bind-address string                             server bind address (default "0.0.0.0")
      --debug                                           Don't enable this if you don't know what it means.
      --elasticsearch-host string                       Elasticsearch logging service host. KubeSphere is using elastic as log store, if this filed left blank, KubeSphere will use kubernetes builtin log API instead, and the following elastic search options will be ignored. (default "http://elasticsearch-logging-data.kubesphere-logging-system.svc.cluster.local:9200")
      --elasticsearch-version string                    Elasticsearch major version, e.g. 5/6/7, if left blank, will detect automatically.Currently, minimum supported version is 5.x
      --enable-network-policy                           This field instructs KubeSphere to enable network policy or not.
  -h, --help                                            help for ks-apiserver
      --index-prefix string                             Index name prefix. KubeSphere will retrieve logs against indices matching the prefix. (default "ks-logstash-log")
      --insecure-port int                               insecure port number (default 9090)
      --istio-pilot-host string                         istio pilot discovery service url
      --jaeger-query-host string                        jaeger query service url
      --jenkins-host string                             Jenkins service host address. If left blank, means Jenkins is unnecessary. (default "http://ks-jenkins.kubesphere-devops-system.svc/")
      --jenkins-max-connections int                     Maximum allowed connections to Jenkins.  (default 100)
      --jenkins-password string                         Password for access to Jenkins service, used pair with username. (default "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFkbWluQGt1YmVzcGhlcmUuaW8iLCJleHAiOjE4MTYyMzkwMjIsInVzZXJuYW1lIjoiYWRtaW4ifQ.okmNepQvZkBRe1M8z2HAWRN0AVj9ooVu79IafHKCjZI")
      --jenkins-username string                         Username for access to Jenkins service. Leave it blank if there isn't any. (default "admin")
      --jwt-secret string                               Secret to sign jwt token, must not be empty.
      --kubeconfig string                               Path for kubernetes kubeconfig file, if left blank, will use in cluster way. (default "/Users/arvin.he/.kube/config")
      --ldap-group-search-base string                   Ldap group search base. (default "ou=Groups,dc=kubesphere,dc=io")
      --ldap-host string                                Ldap service host, if left blank, all of the following ldap options will be ignored and ldap will be disabled. (default "openldap.kubesphere-system.svc:389")
      --ldap-manager-dn string                          Ldap manager account domain name. (default "cn=admin,dc=kubesphere,dc=io")
      --ldap-manager-password string                    Ldap manager account password. (default "P@88w0rd")
      --ldap-user-search-base string                    Ldap user search base. (default "ou=Users,dc=kubesphere,dc=io")
      --log-backtrace-at traceLocation                  when logging hits line file:N, emit a stack trace (default :0)
      --log-dir string                                  If non-empty, write log files in this directory
      --log-file string                                 If non-empty, use this log file
      --log-file-max-size uint                          Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
      --logtostderr                                     log to standard error instead of files (default true)
      --master string                                   Used to generate kubeconfig for downloading, if not specified, will use host in kubeconfig. (default "https://172.16.98.150:6443")
      --multiple-clusters                               This field instructs KubeSphere to enter multiple-cluster mode or not.
      --multiple-login                                  Allow multiple login with the same account, disable means only one user can login at the same time.
      --openpitrix-app-manager-endpoint string          OpenPitrix app manager endpoint (default "openpitrix-app-manager.openpitrix-system.svc:9102")
      --openpitrix-attachment-manager-endpoint string   OpenPitrix attachment manager endpoint (default "openpitrix-attachment-manager.openpitrix-system.svc:9122")
      --openpitrix-category-manager-endpoint string     OpenPitrix category manager endpoint (default "openpitrix-category-manager.openpitrix-system.svc:9113")
      --openpitrix-cluster-manager-endpoint string      OpenPitrix cluster manager endpoint (default "openpitrix-cluster-manager.openpitrix-system.svc:9104")
      --openpitrix-repo-indexer-endpoint string         OpenPitrix repo indexer endpoint (default "openpitrix-repo-indexer.openpitrix-system.svc:9108")
      --openpitrix-repo-manager-endpoint string         OpenPitrix repo manager endpoint (default "openpitrix-repo-manager.openpitrix-system.svc:9101")
      --openpitrix-runtime-manager-endpoint string      OpenPitrix runtime manager endpoint (default "openpitrix-runtime-manager.openpitrix-system.svc:9103")
      --prometheus-endpoint string                      Prometheus service endpoint which stores KubeSphere monitoring data, if left blank, will use builtin metrics-server as data source. (default "http://prometheus-k8s.kubesphere-monitoring-system.svc:9090")
      --proxy-publish-address string                    Public address of tower, APIServer will use this field as proxy publish address. This field takes precedence over field proxy-publish-service. For example, http://139.198.121.121:8080.
      --proxy-publish-service string                    Service name of tower. APIServer will use its ingress address as proxy publish address.For example, tower.kubesphere-system.svc.
      --redis-db int
      --redis-host string                               Redis connection URL. If left blank, means redis is unnecessary, redis will be disabled. (default "redis.kubesphere-system.svc")
      --redis-password string
      --redis-port int                                   (default 6379)
      --s3-access-key-id string                         access key of s2i s3 (default "openpitrixminioaccesskey")
      --s3-bucket string                                bucket name of s2i s3 (default "s2i-binaries")
      --s3-disable-SSL                                  disable ssl (default true)
      --s3-endpoint string                              Endpoint to access to s3 object storage service, if left blank, the following options will be ignored. (default "http://minio.kubesphere-system.svc:9000")
      --s3-force-path-style                             force path style (default true)
      --s3-region string                                Region of s3 that will access to, like us-east-1. (default "us-east-1")
      --s3-secret-access-key string                     secret access key of s2i s3 (default "openpitrixminiosecretkey")
      --s3-session-token string                         session token of s2i s3
      --secure-port int                                 secure port number
      --servicemesh-prometheus-host string              prometheus service for servicemesh
      --skip-headers                                    If true, avoid header prefixes in the log messages
      --skip-log-headers                                If true, avoid headers when opening log files
      --sonarqube-host string                           Sonarqube service address, if left empty, following sonarqube options will be ignored. (default "http://172.16.98.150:32297")
      --sonarqube-token string                          Sonarqube service access token. (default "4e51de276f1fd0eb3a20b58e523d43ce76347302")
      --stderrthreshold severity                        logs at or above this threshold go to stderr (default 2)
      --tls-cert-file string                            tls cert file
      --tls-private-key string                          tls private key
  -v, --v Level                                         number for the log level verbosity
      --vmodule moduleSpec                              comma-separated list of pattern=N settings for file-filtered logging

2020/06/24 22:33:51 factory is not able to fill the pool: LDAP Result Code 200 "Network Error": dial tcp 10.233.71.55:389: i/o timeout
exit status 1
T: Your process exited with return code 1.
T: Exit cleanup in progress
T: Swapping Deployment ks-apiserver back to its original state
arvin.he@vk ~/go/src/kubesphere.io/kubesphere (master●●)$

kubesphere.yaml is located below:

arvin.he@vk ~/go/src/kubesphere.io/kubesphere (master●●)$ ls
CONTRIBUTING.md  OWNERS           README_zh.md     build            coverage.txt     go.mod           install          telepresence.log vendor
LICENSE          PROJECT          api              cmd              doc.go           go.sum           kubesphere.yaml  test
Makefile         README.md        bin              config           docs             hack             pkg              tools

kubesphere.yaml content as below:

kubernetes:
  kubeconfig: "/Users/arvin.he/.kube/config"
  master: https://172.16.98.150:6443
  qps: 1e+06
  burst: 1000000

ldap:
  host: openldap.kubesphere-system.svc:389
  managerDN: cn=admin,dc=kubesphere,dc=io
  managerPassword: P@88w0rd
  userSearchBase: ou=Users,dc=kubesphere,dc=io
  groupSearchBase: ou=Groups,dc=kubesphere,dc=io

redis:
  host: redis.kubesphere-system.svc
  port: 6379
  password: ""
  db: 0

s3:
  endpoint: http://minio.kubesphere-system.svc:9000
  region: us-east-1
  disableSSL: true
  forcePathStyle: true
  accessKeyID: openpitrixminioaccesskey
  secretAccessKey: openpitrixminiosecretkey
  bucket: s2i-binaries

mysql:
  host: mysql.kubesphere-system.svc:3306
  username: root
  password: password
  maxIdleConnections: 100
  maxOpenConnections: 100
  maxConnectionLifeTime: 10s

devops:
  host: http://ks-jenkins.kubesphere-devops-system.svc/
  username: admin
  password: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFkbWluQGt1YmVzcGhlcmUuaW8iLCJleHAiOjE4MTYyMzkwMjIsInVzZXJuYW1lIjoiYWRtaW4ifQ.okmNepQvZkBRe1M8z2HAWRN0AVj9ooVu79IafHKCjZI
  maxConnections: 100

sonarQube:
  host: http://172.16.98.150:32297
  token: 4e51de276f1fd0eb3a20b58e523d43ce76347302

openpitrix:
  runtimeManagerEndpoint:    "openpitrix-runtime-manager.openpitrix-system.svc:9103"
  clusterManagerEndpoint:    "openpitrix-cluster-manager.openpitrix-system.svc:9104"
  repoManagerEndpoint:       "openpitrix-repo-manager.openpitrix-system.svc:9101"
  appManagerEndpoint:        "openpitrix-app-manager.openpitrix-system.svc:9102"
  categoryManagerEndpoint:   "openpitrix-category-manager.openpitrix-system.svc:9113"
  attachmentManagerEndpoint: "openpitrix-attachment-manager.openpitrix-system.svc:9122"
  repoIndexerEndpoint:       "openpitrix-repo-indexer.openpitrix-system.svc:9108"

monitoring:
  endpoint: http://prometheus-k8s.kubesphere-monitoring-system.svc:9090
  secondaryEndpoint: http://prometheus-k8s-system.kubesphere-monitoring-system.svc:9090

logging:
  host: http://elasticsearch-logging-data.kubesphere-logging-system.svc.cluster.local:9200
  indexPrefix: ks-logstash-log

alerting:
  endpoint: http://alerting.kubesphere-alerting-system.svc

notification:
  endpoint: http://notification.kubesphere-alerting-system.svc

Test Telepresence with KubeSphere apigateway:

arvin.he@vk ~/go/src/kubesphere.io/kubesphere (master●●)$ curl http://ks-apigateway.kubesphere-system
401 Unauthorized
@aclk
Copy link
Author

aclk commented Jun 24, 2020

Refer to bbs, and try again.

arvin.he@vk ~/go/src/kubesphere.io/kubesphere (master●●)$ telepresence --namespace kubesphere-system --also-proxy openldap.kubesphere-system.svc --swap-deployment ks-apiserver --expose 9090:9090 --run go run ./cmd/ks-apiserver/apiserver.go
T: How Telepresence uses sudo: https://www.telepresence.io/reference/install#dependencies
T: Invoking sudo. Please enter your sudo password.
Password:
T: Starting proxy with method 'vpn-tcp', which has the following limitations: All processes are affected, only one telepresence can run per machine, and you can't use other VPNs. You may need to add cloud hosts and headless services with --also-proxy. For a full list of method
T: limitations see https://telepresence.io/reference/methods.html
T: Volumes are rooted at $TELEPRESENCE_ROOT. See https://telepresence.io/howto/volumes.html for details.
T: Starting network proxy to cluster by swapping out Deployment ks-apiserver with a proxy
T: Forwarding remote port 9090 to local port 9090.

T: Connected. Flushing DNS cache.
T: Setup complete. Launching your command.
W0625 00:34:43.244732   64857 routers.go:173] open /etc/kubesphere/ingress-controller: no such file or directory
E0625 00:34:43.244777   64857 routers.go:68] error happened during loading external yamls, open /etc/kubesphere/ingress-controller: no such file or directory
I0625 00:34:43.255495   64857 apiserver.go:286] Start cache objects
W0625 00:34:50.243953   64857 apiserver.go:396] resource tenant.kubesphere.io/v1alpha2, Resource=workspacetemplates not exists in the cluster
W0625 00:34:50.244002   64857 apiserver.go:396] resource iam.kubesphere.io/v1alpha2, Resource=users not exists in the cluster
W0625 00:34:50.244022   64857 apiserver.go:396] resource iam.kubesphere.io/v1alpha2, Resource=globalroles not exists in the cluster
W0625 00:34:50.244038   64857 apiserver.go:396] resource iam.kubesphere.io/v1alpha2, Resource=globalrolebindings not exists in the cluster
W0625 00:34:50.244047   64857 apiserver.go:396] resource iam.kubesphere.io/v1alpha2, Resource=workspaceroles not exists in the cluster
W0625 00:34:50.244057   64857 apiserver.go:396] resource iam.kubesphere.io/v1alpha2, Resource=workspacerolebindings not exists in the cluster
W0625 00:34:50.244067   64857 apiserver.go:396] resource cluster.kubesphere.io/v1alpha1, Resource=clusters not exists in the cluster
W0625 00:34:50.244079   64857 apiserver.go:396] resource devops.kubesphere.io/v1alpha3, Resource=devopsprojects not exists in the cluster
W0625 00:34:50.244211   64857 apiserver.go:396] resource devops.kubesphere.io/v1alpha3, Resource=devopsprojects not exists in the cluster
W0625 00:34:50.244233   64857 apiserver.go:396] resource devops.kubesphere.io/v1alpha3, Resource=pipelines not exists in the cluster
E0625 00:34:50.266963   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:51.288090   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:52.304032   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:53.322058   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:54.348860   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:55.389296   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:56.403660   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:57.417575   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:58.434247   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:34:59.450389   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:00.466548   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:01.485280   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:02.512330   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:03.531111   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:04.549232   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:05.643257   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:06.662018   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:07.681539   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:08.700082   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:09.716847   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:10.732585   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:11.750484   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:12.766038   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:13.818065   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:14.831981   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:15.883988   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:16.901696   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:17.917868   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:18.943398   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:19.959840   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:20.985056   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:21.999505   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:23.015913   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:24.063387   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:25.081882   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:26.095480   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:27.115113   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:28.131448   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:29.187816   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:30.203498   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:31.224199   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:32.239728   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:33.292612   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:34.312425   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:35.331969   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:36.346303   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:37.364305   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:38.392364   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:39.416192   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:40.433012   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:41.447128   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:42.466493   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:44.144908   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:45.175930   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:46.189411   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:47.204413   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:48.222731   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:49.237730   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:50.251566   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:51.285589   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:52.299443   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:53.316490   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:54.588587   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:55.692485   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:56.705050   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:57.720363   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:58.735197   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:35:59.753359   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:00.772011   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:01.820545   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:02.834478   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:03.885894   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:04.898770   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:06.002871   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:07.019091   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:08.039537   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:09.056213   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:10.071214   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:11.092553   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:12.110595   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:13.130624   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:14.144142   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:15.159514   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:16.188780   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:17.220001   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:18.243458   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:19.265257   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:20.278181   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:21.297919   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:22.314716   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:23.328657   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:24.350015   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:25.369149   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:26.387665   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:27.413585   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:28.444803   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:29.470552   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:30.488585   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:31.504595   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:32.524744   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:33.537493   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:34.555832   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:35.588291   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:37.186846   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
E0625 00:36:38.219883   64857 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1alpha1.Cluster: the server could not find the requested resource (get clusters.cluster.kubesphere.io)
^CW0625 00:36:38.681460   64857 apiserver.go:436] resource snapshot.storage.k8s.io/v1beta1, Resource=volumesnapshotclasses not exists in the cluster
W0625 00:36:38.681489   64857 apiserver.go:436] resource snapshot.storage.k8s.io/v1beta1, Resource=volumesnapshots not exists in the cluster
W0625 00:36:38.681501   64857 apiserver.go:436] resource snapshot.storage.k8s.io/v1beta1, Resource=volumesnapshotcontents not exists in the cluster
I0625 00:36:38.681535   64857 apiserver.go:465] Finished caching objects
I0625 00:36:38.681552   64857 apiserver.go:227] Start listening on :9090
Error: http: Server closed
T: Keyboard interrupt (Ctrl-C/Ctrl-Break) pressed
T: Exit cleanup in progress
Usage:
  ks-apiserver [flags]

Flags:
      --access-token-max-age duration                   AccessTokenMaxAgeSeconds  control the lifetime of access tokens, 0 means no expiration. (default 24h0m0s)
      --add-dir-header                                  If true, adds the file directory to the header
      --agent-image string                              This field is used when generating deployment yaml for agent. (default "kubesphere/tower:v1.0")
      --alsologtostderr                                 log to standard error as well as files
      --auditing-elasticsearch-host string              Elasticsearch service host. KubeSphere is using elastic as auditing store, if this filed left blank, KubeSphere will use kubernetes builtin event API instead, and the following elastic search options will be ignored.
      --auditing-elasticsearch-version string           Elasticsearch major version, e.g. 5/6/7, if left blank, will detect automatically.Currently, minimum supported version is 5.x
      --auditing-enabled                                Enable auditing component or not.
      --auditing-index-prefix string                    Index name prefix. KubeSphere will retrieve auditing against indices matching the prefix. (default "ks-logstash-auditing")
      --auditing-webhook-url string                     Auditing wehook url
      --authenticate-max-retries int
      --authenticate-rate-limiter-duration duration      (default 30m0s)
      --authenticate-rate-limiter-max-retries int        (default 5)
      --authorization string                            Authorization setting, allowed values: AlwaysDeny, AlwaysAllow, RBAC. (default "RBAC")
      --bind-address string                             server bind address (default "0.0.0.0")
      --debug                                           Don't enable this if you don't know what it means.
      --elasticsearch-host string                       Elasticsearch service host. KubeSphere is using elastic as event store, if this filed left blank, KubeSphere will use kubernetes builtin event API instead, and the following elastic search options will be ignored.
      --elasticsearch-version string                    Elasticsearch major version, e.g. 5/6/7, if left blank, will detect automatically.Currently, minimum supported version is 5.x
      --enable-network-policy                           This field instructs KubeSphere to enable network policy or not.
  -h, --help                                            help for ks-apiserver
      --index-prefix string                             Index name prefix. KubeSphere will retrieve events against indices matching the prefix. (default "ks-logstash-events")
      --insecure-port int                               insecure port number (default 9090)
      --istio-pilot-host string                         istio pilot discovery service url
      --jaeger-query-host string                        jaeger query service url
      --jenkins-host string                             Jenkins service host address. If left blank, means Jenkins is unnecessary. (default "http://ks-jenkins.kubesphere-devops-system.svc/")
      --jenkins-max-connections int                     Maximum allowed connections to Jenkins.  (default 100)
      --jenkins-password string                         Password for access to Jenkins service, used pair with username. (default "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImFkbWluQGt1YmVzcGhlcmUuaW8iLCJleHAiOjE4MTYyMzkwMjIsInVzZXJuYW1lIjoiYWRtaW4ifQ.okmNepQvZkBRe1M8z2HAWRN0AVj9ooVu79IafHKCjZI")
      --jenkins-username string                         Username for access to Jenkins service. Leave it blank if there isn't any. (default "admin")
      --jwt-secret string                               Secret to sign jwt token, must not be empty.
      --kubeconfig string                               Path for kubernetes kubeconfig file, if left blank, will use in cluster way. (default "/Users/arvin.he/.kube/config")
      --ldap-group-search-base string                   Ldap group search base. (default "ou=Groups,dc=kubesphere,dc=io")
      --ldap-host string                                Ldap service host, if left blank, all of the following ldap options will be ignored and ldap will be disabled. (default "openldap.kubesphere-system.svc:389")
      --ldap-manager-dn string                          Ldap manager account domain name. (default "cn=admin,dc=kubesphere,dc=io")
      --ldap-manager-password string                    Ldap manager account password. (default "P@88w0rd")
      --ldap-user-search-base string                    Ldap user search base. (default "ou=Users,dc=kubesphere,dc=io")
      --log-backtrace-at traceLocation                  when logging hits line file:N, emit a stack trace (default :0)
      --log-dir string                                  If non-empty, write log files in this directory
      --log-file string                                 If non-empty, use this log file
      --log-file-max-size uint                          Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
      --logtostderr                                     log to standard error instead of files (default true)
      --master string                                   Used to generate kubeconfig for downloading, if not specified, will use host in kubeconfig. (default "https://172.16.98.150:6443")
      --multiple-clusters                               This field instructs KubeSphere to enter multiple-cluster mode or not.
      --multiple-login                                  Allow multiple login with the same account, disable means only one user can login at the same time.
      --openpitrix-app-manager-endpoint string          OpenPitrix app manager endpoint (default "openpitrix-app-manager.openpitrix-system.svc:9102")
      --openpitrix-attachment-manager-endpoint string   OpenPitrix attachment manager endpoint (default "openpitrix-attachment-manager.openpitrix-system.svc:9122")
      --openpitrix-category-manager-endpoint string     OpenPitrix category manager endpoint (default "openpitrix-category-manager.openpitrix-system.svc:9113")
      --openpitrix-cluster-manager-endpoint string      OpenPitrix cluster manager endpoint (default "openpitrix-cluster-manager.openpitrix-system.svc:9104")
      --openpitrix-repo-indexer-endpoint string         OpenPitrix repo indexer endpoint (default "openpitrix-repo-indexer.openpitrix-system.svc:9108")
      --openpitrix-repo-manager-endpoint string         OpenPitrix repo manager endpoint (default "openpitrix-repo-manager.openpitrix-system.svc:9101")
      --openpitrix-runtime-manager-endpoint string      OpenPitrix runtime manager endpoint (default "openpitrix-runtime-manager.openpitrix-system.svc:9103")
      --prometheus-endpoint string                      Prometheus service endpoint which stores KubeSphere monitoring data, if left blank, will use builtin metrics-server as data source. (default "http://prometheus-k8s.kubesphere-monitoring-system.svc:9090")
      --proxy-publish-address string                    Public address of tower, APIServer will use this field as proxy publish address. This field takes precedence over field proxy-publish-service. For example, http://139.198.121.121:8080.
      --proxy-publish-service string                    Service name of tower. APIServer will use its ingress address as proxy publish address.For example, tower.kubesphere-system.svc.
      --redis-db int
      --redis-host string                               Redis connection URL. If left blank, means redis is unnecessary, redis will be disabled. (default "redis.kubesphere-system.svc")
      --redis-password string
      --redis-port int                                   (default 6379)
      --s3-access-key-id string                         access key of s2i s3 (default "openpitrixminioaccesskey")
      --s3-bucket string                                bucket name of s2i s3 (default "s2i-binaries")
      --s3-disable-SSL                                  disable ssl (default true)
      --s3-endpoint string                              Endpoint to access to s3 object storage service, if left blank, the following options will be ignored. (default "http://minio.kubesphere-system.svc:9000")
      --s3-force-path-style                             force path style (default true)
      --s3-region string                                Region of s3 that will access to, like us-east-1. (default "us-east-1")
      --s3-secret-access-key string                     secret access key of s2i s3 (default "openpitrixminiosecretkey")
      --s3-session-token string                         session token of s2i s3
      --secure-port int                                 secure port number
      --servicemesh-prometheus-host string              prometheus service for servicemesh
      --skip-headers                                    If true, avoid header prefixes in the log messages
      --skip-log-headers                                If true, avoid headers when opening log files
      --sonarqube-host string                           Sonarqube service address, if left empty, following sonarqube options will be ignored. (default "http://172.16.98.150:32297")
      --sonarqube-token string                          Sonarqube service access token. (default "4e51de276f1fd0eb3a20b58e523d43ce76347302")
      --stderrthreshold severity                        logs at or above this threshold go to stderr (default 2)
      --tls-cert-file string                            tls cert file
      --tls-private-key string                          tls private key
  -v, --v Level                                         number for the log level verbosity
      --vmodule moduleSpec                              comma-separated list of pattern=N settings for file-filtered logging

2020/06/25 00:36:38 http: Server closed
T: Swapping Deployment ks-apiserver back to its original state

@LinuxSuRen
Copy link
Member

Have you figured it or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants