是网的问题么? 可以手动下载不,两天了还是这样。。
重装devops-system时jenkins组件一直失败
shaowenchenK零SK贰SK壹S
uc 组件没起来吧,看看安装日志有没有报错
shaowenchen 额。。看安装日志是 kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath=‘{.items[0].metadata.name}’) -f 这个么。
shaowenchen 2020-08-24T06:28:30Z INFO : EVENT Kube event ‘89daaa73-f805-4af3-a461-62faec2ebc4b’
2020-08-24T06:28:30Z INFO : QUEUE add TASK_HOOK_RUN@KUBE_EVENTS kubesphere/installRunner.py
2020-08-24T06:28:33Z INFO : TASK_RUN HookRun@KUBE_EVENTS kubesphere/installRunner.py
2020-08-24T06:28:33Z INFO : Running hook ‘kubesphere/installRunner.py’ binding ‘KUBE_EVENTS’ …
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match ‘all’
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
“msg”: “Check roles/kubesphere-defaults/defaults/main.yml”
}
TASK [preinstall : check k8s version] ******************************************
changed: [localhost]
TASK [preinstall : init k8s version] *******************************************
ok: [localhost]
TASK [preinstall : Stop if kuernetes version is nonsupport] ********************
ok: [localhost] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [preinstall : check helm status] ******************************************
changed: [localhost]
TASK [preinstall : Stop if Helm is not available] ******************************
ok: [localhost] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [preinstall : check storage class] ****************************************
changed: [localhost]
TASK [preinstall : Stop if StorageClass was not found] *************************
ok: [localhost] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [preinstall : check default storage class] ********************************
changed: [localhost]
TASK [preinstall : Stop if defaultStorageClass was not found] ******************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=9 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match ‘all’
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
“msg”: “Check roles/kubesphere-defaults/defaults/main.yml”
}
TASK [metrics-server : Metrics-Server | Checking old installation files] *******
skipping: [localhost]
TASK [metrics-server : Metrics-Server | deleting old prometheus-operator] ******
skipping: [localhost]
TASK [metrics-server : Metrics-Server | deleting old metrics-server files] *****
skipping: [localhost] => (item=metrics-server)
TASK [metrics-server : Metrics-Server | Getting metrics-server installation files] ***
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Creating manifests] ********************
skipping: [localhost] => (item={u’type’: u’config’, u’name’: u’values’, u’file’: u’values.yaml’})
TASK [metrics-server : Metrics-Server | Check Metrics-Server] ******************
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Installing metrics-server] *************
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Installing metrics-server retry] *******
skipping: [localhost]
TASK [metrics-server : Metrics-Server | Waitting for v1beta1.metrics.k8s.io ready] ***
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match ‘all’
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
“msg”: “Check roles/kubesphere-defaults/defaults/main.yml”
}
TASK [common : Kubesphere | Check kube-node-lease namespace] *******************
changed: [localhost]
TASK [common : KubeSphere | Get system namespaces] *****************************
ok: [localhost]
TASK [common : set_fact] *******************************************************
ok: [localhost]
TASK [common : debug] **********************************************************
ok: [localhost] => {
“msg”: [
“kubesphere-system”,
“kubesphere-controls-system”,
“kubesphere-monitoring-system”,
“kube-node-lease”,
“kubesphere-logging-system”,
“openpitrix-system”,
“kubesphere-devops-system”,
“kubesphere-alerting-system”
]
}
TASK [common : KubeSphere | Create kubesphere namespace] ***********************
changed: [localhost] => (item=kubesphere-system)
changed: [localhost] => (item=kubesphere-controls-system)
changed: [localhost] => (item=kubesphere-monitoring-system)
changed: [localhost] => (item=kube-node-lease)
changed: [localhost] => (item=kubesphere-logging-system)
changed: [localhost] => (item=openpitrix-system)
changed: [localhost] => (item=kubesphere-devops-system)
changed: [localhost] => (item=kubesphere-alerting-system)
TASK [common : KubeSphere | Labeling system-workspace] *************************
changed: [localhost] => (item=default)
changed: [localhost] => (item=kube-public)
changed: [localhost] => (item=kube-system)
changed: [localhost] => (item=kubesphere-system)
changed: [localhost] => (item=kubesphere-controls-system)
changed: [localhost] => (item=kubesphere-monitoring-system)
changed: [localhost] => (item=kube-node-lease)
changed: [localhost] => (item=kubesphere-logging-system)
changed: [localhost] => (item=openpitrix-system)
changed: [localhost] => (item=kubesphere-devops-system)
changed: [localhost] => (item=kubesphere-alerting-system)
TASK [common : KubeSphere | Create ImagePullSecrets] ***************************
changed: [localhost] => (item=default)
changed: [localhost] => (item=kube-public)
changed: [localhost] => (item=kube-system)
changed: [localhost] => (item=kubesphere-system)
changed: [localhost] => (item=kubesphere-controls-system)
changed: [localhost] => (item=kubesphere-monitoring-system)
changed: [localhost] => (item=kube-node-lease)
changed: [localhost] => (item=kubesphere-logging-system)
changed: [localhost] => (item=openpitrix-system)
changed: [localhost] => (item=kubesphere-devops-system)
changed: [localhost] => (item=kubesphere-alerting-system)
TASK [common : KubeSphere | Getting kubernetes master num] *********************
changed: [localhost]
TASK [common : KubeSphere | Setting master num] ********************************
ok: [localhost]
TASK [common : Kubesphere | Getting common component installation files] *******
ok: [localhost] => (item=common)
ok: [localhost] => (item=ks-crds)
TASK [common : KubeSphere | Create KubeSphere crds] ****************************
changed: [localhost]
TASK [common : Kubesphere | Checking openpitrix common component] **************
changed: [localhost]
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item={u’ks’: u’mysql-pvc’, u’op’: u’openpitrix-db’})
skipping: [localhost] => (item={u’ks’: u’etcd-pvc’, u’op’: u’openpitrix-etcd’})
TASK [common : Getting PersistentVolumeName (mysql)] ***************************
skipping: [localhost]
TASK [common : Getting PersistentVolumeSize (mysql)] ***************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeName (mysql)] ***************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeSize (mysql)] ***************************
skipping: [localhost]
TASK [common : Getting PersistentVolumeName (etcd)] ****************************
skipping: [localhost]
TASK [common : Getting PersistentVolumeSize (etcd)] ****************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeName (etcd)] ****************************
skipping: [localhost]
TASK [common : Setting PersistentVolumeSize (etcd)] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check mysql PersistentVolumeClaim] *****************
changed: [localhost]
TASK [common : Kubesphere | Setting mysql db pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check redis PersistentVolumeClaim] *****************
changed: [localhost]
TASK [common : Kubesphere | Setting redis db pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check minio PersistentVolumeClaim] *****************
changed: [localhost]
TASK [common : Kubesphere | Setting minio pv size] *****************************
ok: [localhost]
TASK [common : Kubesphere | Check openldap PersistentVolumeClaim] **************
changed: [localhost]
TASK [common : Kubesphere | Setting openldap pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check etcd db PersistentVolumeClaim] ***************
changed: [localhost]
TASK [common : Kubesphere | Setting etcd pv size] ******************************
ok: [localhost]
TASK [common : Kubesphere | Check redis ha PersistentVolumeClaim] **************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl get pvc -n kubesphere-system data-redis-ha-server-0 -o jsonpath=‘{.status.capacity.storage}’\n”, “delta”: “0:00:00.886863”, “end”: “2020-08-24 06:29:39.305659″, “msg”: “non-zero return code”, “rc”: 1, “start”: “2020-08-24 06:29:38.418796”, “stderr”: "Error from server (NotFound): persistentvolumeclaims \“data-redis-ha-server-0\” not found", “stderr_lines”: ["Error from server (NotFound): persistentvolumeclaims \“data-redis-ha-server-0\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [common : Kubesphere | Setting redis ha pv size] **************************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
ok: [localhost] => (item={u’path’: u’etcd’, u’file’: u’etcd.yaml’})
ok: [localhost] => (item={u’name’: u’mysql’, u’file’: u’mysql.yaml’})
ok: [localhost] => (item={u’path’: u’redis’, u’file’: u’redis.yaml’})
TASK [common : Kubesphere | Creating mysql sercet] *****************************
changed: [localhost]
TASK [common : Kubesphere | Deploying etcd and mysql] **************************
skipping: [localhost] => (item=etcd.yaml)
skipping: [localhost] => (item=mysql.yaml)
TASK [common : Kubesphere | Getting minio installation files] ******************
skipping: [localhost] => (item=minio-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={u’name’: u’custom-values-minio’, u’file’: u’custom-values-minio.yaml’})
TASK [common : Kubesphere | Check minio] ***************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy minio] **************************************
skipping: [localhost]
TASK [common : debug] **********************************************************
skipping: [localhost]
TASK [common : fail] ***********************************************************
skipping: [localhost]
TASK [common : Kubesphere | create minio config directory] *********************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
skipping: [localhost] => (item={u’path’: u’/root/.config/rclone’, u’file’: u’rclone.conf’})
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item=helm)
skipping: [localhost] => (item=vmbased)
TASK [common : Kubesphere | Check ha-redis] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis installation files] ******************
skipping: [localhost] => (item=redis-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={u’name’: u’custom-values-redis’, u’file’: u’custom-values-redis.yaml’})
TASK [common : Kubesphere | Check old redis status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old redis svc] *******************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis PodIp] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Creating redis migration script] *******************
skipping: [localhost] => (item={u’path’: u’/etc/kubesphere’, u’file’: u’redisMigrate.py’})
TASK [common : Kubesphere | Check redis-ha status] *****************************
skipping: [localhost]
TASK [common : ks-logging | Migrating redis data] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old redis] *********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost] => (item=redis.yaml)
TASK [common : Kubesphere | Getting openldap installation files] ***************
skipping: [localhost] => (item=openldap-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={u’name’: u’custom-values-openldap’, u’file’: u’custom-values-openldap.yaml’})
TASK [common : Kubesphere | Check old openldap status] *************************
skipping: [localhost]
TASK [common : KubeSphere | Shutdown ks-account] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old openldap svc] ****************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy openldap] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Load old openldap data] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap-ha status] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get openldap-ha pod list] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get old openldap data] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Migrating openldap data] ***************************
skipping: [localhost]
skipping: [localhost]
TASK [common : Kubesphere | Disable old openldap] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Restart openldap] **********************************
skipping: [localhost]
TASK [common : KubeSphere | Restarting ks-account] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Check ha-redis] ************************************
changed: [localhost]
TASK [common : Kubesphere | Getting redis installation files] ******************
skipping: [localhost] => (item=redis-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={u’name’: u’custom-values-redis’, u’file’: u’custom-values-redis.yaml’})
TASK [common : Kubesphere | Check old redis status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old redis svc] *******************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis PodIp] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Creating redis migration script] *******************
skipping: [localhost] => (item={u’path’: u’/etc/kubesphere’, u’file’: u’redisMigrate.py’})
TASK [common : Kubesphere | Check redis-ha status] *****************************
skipping: [localhost]
TASK [common : ks-logging | Migrating redis data] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old redis] *********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
changed: [localhost] => (item=redis.yaml)
TASK [common : Kubesphere | Getting openldap installation files] ***************
ok: [localhost] => (item=openldap-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
ok: [localhost] => (item={u’name’: u’custom-values-openldap’, u’file’: u’custom-values-openldap.yaml’})
TASK [common : Kubesphere | Check old openldap status] *************************
changed: [localhost]
TASK [common : KubeSphere | Shutdown ks-account] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old openldap svc] ****************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap] ************************************
changed: [localhost]
TASK [common : Kubesphere | Deploy openldap] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Load old openldap data] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap-ha status] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get openldap-ha pod list] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get old openldap data] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Migrating openldap data] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old openldap] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Restart openldap] **********************************
skipping: [localhost]
TASK [common : KubeSphere | Restarting ks-account] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Getting minio installation files] ******************
ok: [localhost] => (item=minio-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
ok: [localhost] => (item={u’name’: u’custom-values-minio’, u’file’: u’custom-values-minio.yaml’})
TASK [common : Kubesphere | Check minio] ***************************************
changed: [localhost]
TASK [common : Kubesphere | Deploy minio] **************************************
skipping: [localhost]
TASK [common : debug] **********************************************************
skipping: [localhost]
TASK [common : fail] ***********************************************************
skipping: [localhost]
TASK [common : Kubesphere | create minio config directory] *********************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
skipping: [localhost] => (item={u’path’: u’/root/.config/rclone’, u’file’: u’rclone.conf’})
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item=helm)
skipping: [localhost] => (item=vmbased)
TASK [common : Kubesphere | Deploying common component] ************************
changed: [localhost] => (item=mysql.yaml)
TASK [common : Kubesphere | Deploying common component] ************************
changed: [localhost] => (item=etcd.yaml)
TASK [common : Setting persistentVolumeReclaimPolicy (mysql)] ******************
skipping: [localhost]
TASK [common : Setting persistentVolumeReclaimPolicy (etcd)] *******************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=37 changed=21 unreachable=0 failed=0 skipped=79 rescued=0 ignored=1
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match ‘all’
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
“msg”: “Check roles/kubesphere-defaults/defaults/main.yml”
}
TASK [ks-core/prepare : KubeSphere | Create KubeSphere dir] ********************
ok: [localhost]
TASK [ks-core/prepare : KubeSphere | Getting installation init files] **********
ok: [localhost] => (item=workspace.yaml)
ok: [localhost] => (item=ks-init)
TASK [ks-core/prepare : KubeSphere | Init KubeSphere system] *******************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Creating KubeSphere Secret] ***************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Creating KubeSphere Secret] ***************
ok: [localhost]
TASK [ks-core/prepare : KubeSphere | Enable Token Script] **********************
ok: [localhost]
TASK [ks-core/prepare : KubeSphere | Getting KS Token] *************************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Setting ks_token] *************************
ok: [localhost]
TASK [ks-core/prepare : KubeSphere | Creating manifests] ***********************
changed: [localhost] => (item={u’type’: u’init’, u’name’: u’ks-account-init’, u’file’: u’ks-account-init.yaml’})
ok: [localhost] => (item={u’type’: u’init’, u’name’: u’ks-apigateway-init’, u’file’: u’ks-apigateway-init.yaml’})
ok: [localhost] => (item={u’type’: u’values’, u’name’: u’custom-values-istio-init’, u’file’: u’custom-values-istio-init.yaml’})
changed: [localhost] => (item={u’type’: u’cm’, u’name’: u’kubesphere-config’, u’file’: u’kubesphere-config.yaml’})
TASK [ks-core/prepare : KubeSphere | Init KubeSphere] **************************
changed: [localhost] => (item=ks-account-init.yaml)
changed: [localhost] => (item=ks-apigateway-init.yaml)
changed: [localhost] => (item=kubesphere-config.yaml)
TASK [ks-core/prepare : KubeSphere | Getting controls-system file] *************
ok: [localhost] => (item={u’name’: u’kubesphere-controls-system’, u’file’: u’kubesphere-controls-system.yaml’})
TASK [ks-core/prepare : KubeSphere | Installing controls-system] ***************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Create KubeSphere workspace] **************
changed: [localhost]
TASK [ks-core/prepare : KubeSphere | Create KubeSphere vpa] ********************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Generate kubeconfig-admin] ****************
changed: [localhost]
TASK [ks-core/prepare : Kubesphere | Checking kubesphere component] ************
changed: [localhost]
TASK [ks-core/prepare : Kubesphere | Get kubesphere component version] *********
changed: [localhost]
TASK [ks-core/prepare : ks-upgrade | disable ks-apiserver] *********************
skipping: [localhost]
TASK [ks-core/prepare : ks-upgrade | disable ks-apigateway] ********************
skipping: [localhost]
TASK [ks-core/prepare : ks-upgrade | disable ks-account] ***********************
skipping: [localhost]
TASK [ks-core/prepare : ks-upgrade | disable ks-console] ***********************
skipping: [localhost]
TASK [ks-core/prepare : ks-upgrade | disable ks-controller-manager] ************
skipping: [localhost]
TASK [ks-core/prepare : ks-upgrade | restart ks-apiserver] *********************
changed: [localhost]
TASK [ks-core/prepare : ks-upgrade | restart ks-apigateway] ********************
changed: [localhost]
TASK [ks-core/prepare : ks-upgrade | restart ks-account] ***********************
changed: [localhost]
TASK [ks-core/prepare : ks-upgrade | restart ks-console] ***********************
changed: [localhost]
TASK [ks-core/prepare : ks-upgrade | restart ks-controller-manager] ************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting kubernetes version] ***************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Setting kubernetes version] ***************
ok: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting kubernetes master num] ************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Setting master num] ***********************
ok: [localhost]
TASK [ks-core/ks-core : ks-console | Checking ks-console svc] ******************
changed: [localhost]
TASK [ks-core/ks-core : ks-console | Getting ks-console svc port] **************
changed: [localhost]
TASK [ks-core/ks-core : ks-console | Setting console_port] *********************
ok: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting Ingress installation files] *******
ok: [localhost] => (item=ingress)
ok: [localhost] => (item=ks-account)
ok: [localhost] => (item=ks-apigateway)
ok: [localhost] => (item=ks-apiserver)
changed: [localhost] => (item=ks-console)
ok: [localhost] => (item=ks-controller-manager)
TASK [ks-core/ks-core : KubeSphere | Creating manifests] ***********************
ok: [localhost] => (item={u’path’: u’ingress’, u’type’: u’config’, u’file’: u’ingress-controller.yaml’})
ok: [localhost] => (item={u’path’: u’ks-account’, u’type’: u’deployment’, u’file’: u’ks-account.yml’})
ok: [localhost] => (item={u’path’: u’ks-apigateway’, u’type’: u’deploy’, u’file’: u’ks-apigateway.yaml’})
ok: [localhost] => (item={u’path’: u’ks-apiserver’, u’type’: u’deploy’, u’file’: u’ks-apiserver.yml’})
ok: [localhost] => (item={u’path’: u’ks-controller-manager’, u’type’: u’deploy’, u’file’: u’ks-controller-manager.yaml’})
ok: [localhost] => (item={u’path’: u’ks-console’, u’type’: u’config’, u’file’: u’ks-console-config.yml’})
ok: [localhost] => (item={u’path’: u’ks-console’, u’type’: u’deploy’, u’file’: u’ks-console-deployment.yml’})
changed: [localhost] => (item={u’path’: u’ks-console’, u’type’: u’svc’, u’file’: u’ks-console-svc.yml’})
ok: [localhost] => (item={u’path’: u’ks-console’, u’type’: u’deploy’, u’file’: u’ks-docs-deployment.yaml’})
ok: [localhost] => (item={u’path’: u’ks-console’, u’type’: u’config’, u’file’: u’sample-bookinfo-configmap.yaml’})
TASK [ks-core/ks-core : KubeSphere | Delete Ingress-controller configmap] ******
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Creating Ingress-controller configmap] ****
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Check ks-account version] *****************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Update kubectl image] *********************
skipping: [localhost]
TASK [ks-core/ks-core : KubeSphere | Creating ks-core] *************************
changed: [localhost] => (item={u’path’: u’ks-apigateway’, u’file’: u’ks-apigateway.yaml’})
changed: [localhost] => (item={u’path’: u’ks-apiserver’, u’file’: u’ks-apiserver.yml’})
changed: [localhost] => (item={u’path’: u’ks-account’, u’file’: u’ks-account.yml’})
changed: [localhost] => (item={u’path’: u’ks-controller-manager’, u’file’: u’ks-controller-manager.yaml’})
changed: [localhost] => (item={u’path’: u’ks-console’, u’file’: u’ks-console-config.yml’})
changed: [localhost] => (item={u’path’: u’ks-console’, u’file’: u’sample-bookinfo-configmap.yaml’})
changed: [localhost] => (item={u’path’: u’ks-console’, u’file’: u’ks-console-deployment.yml’})
TASK [ks-core/ks-core : KubeSphere | Check ks-console svc] *********************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Creating ks-console svc] ******************
skipping: [localhost] => (item={u’path’: u’ks-console’, u’file’: u’ks-console-svc.yml’})
TASK [ks-core/ks-core : KubeSphere | Patch ks-console svc] *********************
changed: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=37 changed=27 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0
Start installing logging
Start installing notification
Start installing devops
Start installing alerting
Start installing openpitrix
Start installing monitoring
shaowenchenK零SK贰SK壹S
kubectl get svc -n kubesphere-devops-system 看看
shaowenchenK零SK贰SK壹S
正常安装会是这样:
kubectl -n kubesphere-devops-system get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ks-jenkins NodePort 10.233.18.100 <none> 80:30180/TCP 6d4h
ks-jenkins-agent ClusterIP 10.233.9.53 <none> 50000/TCP 6d4h
ks-sonarqube-postgresql ClusterIP 10.233.4.27 <none> 5432/TCP 6d4h
ks-sonarqube-sonarqube NodePort 10.233.28.253 <none> 9000:30217/TCP 6d4h
s2ioperator ClusterIP 10.233.19.206 <none> 443/TCP 6d4h
s2ioperator-metrics-service ClusterIP 10.233.7.223 <none> 8080/TCP 6d4h
uc-jenkins-update-center ClusterIP 10.233.23.129 <none> 80/TCP 6d4h
webhook-server-service ClusterIP 10.233.55.119 <none> 443/TCP 6d4h
内存配置都充足吗?
shaowenchen 应该是够的,因为之前的时候 这些组件都安装好了。。。我不小心改了下config.yaml 然后就开始异常了。我就想重装下,就出现目前的这个问题了
shaowenchenK零SK贰SK壹S
如果是 3.0,删掉 cc ks-install 里面 devops 的 status,切换 spec devops 的 enabled 开关让安装程序再跑一遍
shaowenchen 我这个是2.1.1的 也是这么操作一下?
shaowenchenK零SK贰SK壹S
直接重启 ks-installer
shaowenchen 我执行了kubectl delete pod ks-installer-xxxxxx-xxxxx -n kubesphere-system 这个重启install命令, 然后在用kubectl edit cm -n kubesphere-system ks-installer 这个装一下devops么?
shaowenchenK零SK贰SK壹S
whsss
可以,让 uc 这个 service 能被创建出来就行
shaowenchen 大佬,devops 中sonarqube 是必装的么? 我操作了一下,发现uc-jenkins那个还是没有
shaowenchenK零SK贰SK壹S
whsss
sonarqube 非必须,推荐直接用 3.0 ,为什么还在安装 2.1.1 呢?
shaowenchen 我是3.0 我也没有uc-jenkins
多重启几次ks_install就好了
同样的问题,只不过我这里pod报错日志为:Readiness probe failed: Get http://10.244.85.255:8080/login: dial tcp 10.244.85.255:8080: connect: connection refused,请问大佬是什么原因,k8s 1.18.19; ks 3.1.0