离线安装 KubeSphere 2.1.1 与 Kubernetes
CauchyK零SK壹S
把你的环境登录信息发来瞅瞅 kubesphere@yunify.com
CauchyK零SK壹S
[root@node1 ~]# kubectl get pod -n kubesphere-system -o wide | grep ks-console
ks-console-67f5d5f76b-8dv4b 1/1 Running 0 8d 10.233.90.7 node1 <none> <none>
[root@node1 ~]# curl 10.233.90.7:8000
Redirecting to <a href="/login">/login</a>.[root@node1 ~]#
[root@node1 ~]# kubectl get svc -n kubesphere-system ks-console
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ks-console NodePort 10.233.39.124 <none> 80:30880/TCP 8d
[root@node1 ~]# curl 10.233.39.124
Redirecting to <a href="/login">/login</a>.
先这样简单排查下,跟这个返回结果对比下看看
SonarQube代码检查报异常
SonarQube installation defined in this job (sonar) does not match any configured installation. Number of installations that can be configured: 0.
If you want to reassign jobs to a different SonarQube installation, check the documentation under https://redirect.sonarsource.com/plugins/jenkins.html
这个怎么解决
这是流水线文件
stage('sonarqube analysis') {
pwd
steps {
container ('maven') {
sh 'echo 当前目录 11111111111111111'
withCredentials([string(credentialsId: "$SONAR_CREDENTIAL_ID", variable: 'SONAR_TOKEN')]) {
withSonarQubeEnv('sonar') {
sh 'echo 当前目录'
pwd
sh "mvn sonar:sonar -gs/configuration/settings.xml -Dsonar.branch=$BRANCH_NAME -Dsonar.login=$SONAR_TOKEN"
}
}
timeout(time: 1, unit: 'HOURS') {
waitForQualityGate abortPipeline: true
}
}
}
}
freemankevinK零S
你那离线包能不能分享下
freemankevinK零S
这样装个锤子