I have tried installing the SonarQube 7.6 helm chart on a Kubernetes 1.12 cluster, but it doesn’t seem to complete successfully.
Full log:
iadar@mbp:~$ kubectl create namespace sonarqube
namespace/sonarqube created
iadar@mbp:~$ helm install stable/sonarqube --namespace sonarqube
NAME: kissable-shark
LAST DEPLOYED: Mon Apr 1 10:15:05 2019
NAMESPACE: sonarqube
STATUS: DEPLOYED
RESOURCES:
==> v1/PersistentVolumeClaim
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
kissable-shark-postgresql Pending 3s
==> v1/Service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kissable-shark-postgresql ClusterIP 10.10.10.198 <none> 5432/TCP 3s
kissable-shark-sonarqube LoadBalancer 10.10.10.229 169.46.38.171 9000:31221/TCP 2s
==> v1beta1/Deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
kissable-shark-postgresql 1 1 1 0 2s
kissable-shark-sonarqube 1 1 1 0 2s
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
kissable-shark-postgresql-5bd6f7dbbc-jwnx8 0/1 Pending 0 2s
kissable-shark-sonarqube-55d9c687c5-k9mvz 0/1 Running 0 2s
==> v1/Secret
NAME TYPE DATA AGE
kissable-shark-postgresql Opaque 1 3s
==> v1/ConfigMap
NAME DATA AGE
kissable-shark-sonarqube-config 0 3s
kissable-shark-sonarqube-copy-plugins 1 3s
kissable-shark-sonarqube-install-plugins 1 3s
kissable-shark-sonarqube-tests 1 3s
NOTES:
1. Get the application URL by running these commands:
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get svc -w kissable-shark-sonarqube'
export SERVICE_IP=$(kubectl get svc --namespace sonarqube kissable-shark-sonarqube -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:9000
iadar@mbp:~$ kubectl get svc -w kissable-shark-sonarqube
Error from server (NotFound): services "kissable-shark-sonarqube" not found
Looking inside, I see this for kissable-shark-postgresql-5bd6f7dbbc
:
pod has unbound immediate PersistentVolumeClaims (repeated 3 times)