kevendeng
1、 kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l component=openpitrix-upgrade-job -o name) 这个命令执行报错,component=openpitrix-upgrade-job 这个标签我这里找不到。我这里是这个 component=openpitrix-import-job
执行完命令之后,输出以下信息
$ kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l component=openpitrix-import-job -o name)
I0817 11:05:15.915258 1 dumpconfig.go:22] configmap: authentication:
authenticateRateLimiterMaxTries: 10
authenticateRateLimiterDuration: 10m0s
loginHistoryRetentionPeriod: 168h
maximumClockSkew: 10s
multipleLogin: False
kubectlImage: kubesphere/kubectl:v1.18.0
jwtSecret: "****************"
ldap:
host: openldap.kubesphere-system.svc:389
managerDN: cn=admin,dc=kubesphere,dc=io
managerPassword: ******************
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: ************
secretAccessKey: ****************
bucket: **********
network:
ippoolType: none
devops:
host: http://ks-jenkins.kubesphere-devops-system.svc/
username: admin
password: ********************
maxConnections: 100
openpitrix:
s3:
endpoint: http://minio.kubesphere-system.svc:9000
region: us-east-1
disableSSL: True
forcePathStyle: True
accessKeyID: ******************
secretAccessKey: ****************
bucket: app-store
monitoring:
endpoint: http://prometheus-operated.kubesphere-monitoring-system.svc:9090
logging:
host: http://elasticsearch.kubesphere-logging-system.svc.cluster.local:9200
indexPrefix: ks-logstash-log
W0817 11:05:15.916224 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
I0817 11:05:15.920830 1 import.go:163] start to create app, chart name: apisix, version: 0.1.7
I0817 11:05:15.935448 1 import.go:176] helm application exists, name: apisix, version: 0.1.7
I0817 11:05:15.943249 1 import.go:248] start to create app version, chart name: apisix, version: 0.1.7
I0817 11:05:15.951316 1 import.go:265] helm application version exists, name: apisix, version: 0.1.7
I0817 11:05:15.952862 1 import.go:163] start to create app, chart name: elasticsearch-exporter, version: 3.3.3
I0817 11:05:15.962680 1 import.go:176] helm application exists, name: elasticsearch-exporter, version: 3.3.3
I0817 11:05:15.968032 1 import.go:248] start to create app version, chart name: elasticsearch-exporter, version: 3.3.3
I0817 11:05:15.974375 1 import.go:265] helm application version exists, name: elasticsearch-exporter, version: 3.3.3
I0817 11:05:15.975153 1 import.go:163] start to create app, chart name: etcd, version: 0.1.3
I0817 11:05:15.983965 1 import.go:176] helm application exists, name: etcd, version: 0.1.3
I0817 11:05:15.986288 1 import.go:248] start to create app version, chart name: etcd, version: 0.1.3
I0817 11:05:15.993135 1 import.go:265] helm application version exists, name: etcd, version: 0.1.3
I0817 11:05:16.000161 1 import.go:163] start to create app, chart name: harbor, version: 1.4.1
I0817 11:05:16.009126 1 import.go:176] helm application exists, name: harbor, version: 1.4.1
I0817 11:05:16.128821 1 import.go:248] start to create app version, chart name: harbor, version: 1.4.1
I0817 11:05:16.327854 1 import.go:265] helm application version exists, name: harbor, version: 1.4.1
I0817 11:05:16.328935 1 import.go:163] start to create app, chart name: memcached, version: 3.2.5
I0817 11:05:16.530525 1 import.go:176] helm application exists, name: memcached, version: 3.2.5
I0817 11:05:16.725069 1 import.go:248] start to create app version, chart name: memcached, version: 3.2.5
I0817 11:05:16.928136 1 import.go:265] helm application version exists, name: memcached, version: 3.2.5
I0817 11:05:16.931702 1 import.go:163] start to create app, chart name: minio, version: 6.0.5
I0817 11:05:17.129929 1 import.go:176] helm application exists, name: minio, version: 6.0.5
I0817 11:05:17.326450 1 import.go:248] start to create app version, chart name: minio, version: 6.0.5
I0817 11:05:17.528415 1 import.go:265] helm application version exists, name: minio, version: 6.0.5
I0817 11:05:17.529363 1 import.go:163] start to create app, chart name: mongodb, version: 0.3.2
I0817 11:05:17.730688 1 import.go:176] helm application exists, name: mongodb, version: 0.3.2
I0817 11:05:17.924722 1 import.go:248] start to create app version, chart name: mongodb, version: 0.3.2
I0817 11:05:18.127806 1 import.go:265] helm application version exists, name: mongodb, version: 0.3.2
I0817 11:05:18.129118 1 import.go:163] start to create app, chart name: mysql, version: 1.6.8
I0817 11:05:18.329761 1 import.go:176] helm application exists, name: mysql, version: 1.6.8
I0817 11:05:18.525503 1 import.go:248] start to create app version, chart name: mysql, version: 1.6.8
I0817 11:05:18.727580 1 import.go:265] helm application version exists, name: mysql, version: 1.6.8
I0817 11:05:18.729744 1 import.go:163] start to create app, chart name: mysql-exporter, version: 0.5.6
I0817 11:05:18.930170 1 import.go:176] helm application exists, name: mysql-exporter, version: 0.5.6
I0817 11:05:19.124942 1 import.go:248] start to create app version, chart name: mysql-exporter, version: 0.5.6
I0817 11:05:19.328055 1 import.go:265] helm application version exists, name: mysql-exporter, version: 0.5.6
I0817 11:05:19.329202 1 import.go:163] start to create app, chart name: nginx, version: 1.3.5
I0817 11:05:19.530190 1 import.go:176] helm application exists, name: nginx, version: 1.3.5
I0817 11:05:19.725616 1 import.go:248] start to create app version, chart name: nginx, version: 1.3.5
I0817 11:05:19.927725 1 import.go:265] helm application version exists, name: nginx, version: 1.3.5
I0817 11:05:19.928601 1 import.go:163] start to create app, chart name: postgresql, version: 0.4.2
I0817 11:05:20.130900 1 import.go:176] helm application exists, name: postgresql, version: 0.4.2
I0817 11:05:20.324928 1 import.go:248] start to create app version, chart name: postgresql, version: 0.4.2
I0817 11:05:20.528573 1 import.go:265] helm application version exists, name: postgresql, version: 0.4.2
I0817 11:05:20.529390 1 import.go:163] start to create app, chart name: rabbitmq, version: 0.3.2
I0817 11:05:20.731234 1 import.go:176] helm application exists, name: rabbitmq, version: 0.3.2
I0817 11:05:20.924464 1 import.go:248] start to create app version, chart name: rabbitmq, version: 0.3.2
I0817 11:05:21.127815 1 import.go:265] helm application version exists, name: rabbitmq, version: 0.3.2
I0817 11:05:21.130421 1 import.go:163] start to create app, chart name: radondb-mysql, version: 1.0.0
I0817 11:05:21.330610 1 import.go:176] helm application exists, name: radondb-mysql, version: 1.0.0
I0817 11:05:21.529355 1 import.go:248] start to create app version, chart name: radondb-mysql, version: 1.0.0
I0817 11:05:21.728154 1 import.go:265] helm application version exists, name: radondb-mysql, version: 1.0.0
I0817 11:05:21.732403 1 import.go:163] start to create app, chart name: radondb-postgresql, version: 1.0.1
I0817 11:05:21.931000 1 import.go:176] helm application exists, name: radondb-postgresql, version: 1.0.1
I0817 11:05:22.130203 1 import.go:248] start to create app version, chart name: radondb-postgresql, version: 1.0.1
I0817 11:05:22.327998 1 import.go:265] helm application version exists, name: radondb-postgresql, version: 1.0.1
I0817 11:05:22.328836 1 import.go:163] start to create app, chart name: redis, version: 0.3.5
I0817 11:05:22.529785 1 import.go:176] helm application exists, name: redis, version: 0.3.5
I0817 11:05:22.724634 1 import.go:248] start to create app version, chart name: redis, version: 0.3.5
I0817 11:05:22.928914 1 import.go:265] helm application version exists, name: redis, version: 0.3.5
I0817 11:05:22.930119 1 import.go:163] start to create app, chart name: redis-exporter, version: 3.4.4
I0817 11:05:23.129751 1 import.go:176] helm application exists, name: redis-exporter, version: 3.4.4
I0817 11:05:23.324993 1 import.go:248] start to create app version, chart name: redis-exporter, version: 3.4.4
I0817 11:05:23.527861 1 import.go:265] helm application version exists, name: redis-exporter, version: 3.4.4
I0817 11:05:23.528746 1 import.go:163] start to create app, chart name: tomcat, version: 0.4.3
I0817 11:05:23.730017 1 import.go:176] helm application exists, name: tomcat, version: 0.4.3
I0817 11:05:23.924565 1 import.go:248] start to create app version, chart name: tomcat, version: 0.4.3
I0817 11:05:24.127770 1 import.go:265] helm application version exists, name: tomcat, version: 0.4.3
以上日志中只有这一条有问题W0817 11:05:15.916224 1 client_config.go:552] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work. ,其他日志内容看不出问题。不知道迁移工作是否成功。
2、 执行完 kubectl get helmreleases 命令后,release都存在,workspace和namespace也全部正确。但是浏览器管理界面还是看不到应用
