artifactory-docker-examples: Can't deploy helm charts onto Kubernetes cluster
Trying to deploy the helm charts according to the instructions in the README.md (https://github.com/jfrog/artifactory-docker-examples/tree/master/kubernetes/helm/artifactory) and according to this post: https://jfrog.com/blog/confessions-of-a-devops-frog-automating-artifactory-deployment-to-kubernetes-is-actually-easy/
But i’m getting some errors on mounting volumes:
Unable to mount volumes for pod "artifactory-postgresql-546887d8b9-v2rcr_default(01f63411-9305-11e8-b908-000d3ab658f8)": timeout expired waiting for volumes to attach/mount for pod "default"/"artifactory-postgresql-546887d8b9-v2rcr". list of unattached/unmounted volumes=[data]
The cluster is located on Azure, am I supposed to create manually the PV and PVC before deploying the charts?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 40 (17 by maintainers)
Finished the screen sharing session. @jainishshah17 thanks a lot for your time!
The reason we are getting
nc: bad addressis because from some reason Artifactory doesn’t know the artifactory-postgresql, we tried hacking the hosts file of the running container and adding to it and record of the artifactory-postgresql but it didn’t help so we removed thenccommand usingkubectl edit podcommand after that we got stuck on:[315 entrypoint-artifactory.sh] Waiting for DB postgresql to be ready on artifactory-postgresql/5432 within 30 secondsMy Kubernetes cluster version is v1.9.5 (Deployed by Kubespray) and this could be a bug with this K8S version.
I’ll upgrade my cluster to v1.9.6 and try to deploy Artifactory using HELM again.