Comments (9)
@marianteodorescu I had to do following to deploy Artifactory:
helm repo add ibm https://registry.bluemix.net/helm/ibm
helm repo add ibm-charts https://registry.bluemix.net/helm/ibm-charts
helm install ibm/ibmcloud-block-storage-plugin
kubectl get pod -n kube-system | grep block
kubectl get storageclasses | grep block
kubectl patch storageclass ibmc-block-bronze -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
kubectl patch storageclass ibmc-file-bronze -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'
kubectl get storageclass
from charts.
Did you try upgrading over the failing deployment? This might be due to an already deployed postgresql that has a randomly generated password. You must extract it and pass it with --set postgresql.postgresPassword=${DB_PASSWORD}
.
Extract the current password with
export DB_PASSWORD=$(kubectl get $(kubectl get secret -o name artifactory-postgresql) -o jsonpath="{.data.postgres-password}" | base64 --decode)
I guess we should improve documentation on this...
from charts.
Hi @marianteodorescu . What K8s are you deploying to?
Seems the PVC created uses a volume that does not have write permissions for others.
You can try passing --set artifactory.persistence.enabled=false
to see it works without persistency.
from charts.
Hi @eldada . I am deploying to the IBM Cloud K8s. I will try reinstalling again with --set artifactory.persistence.enabled=false
. Is there a way to modify the the volume and grant permission manually?
from charts.
I'm not familiar with IBM Cloud K8s, but I suspect that the default StorageClass is the root cause.
You can also create your own PV + PVC with the needed permissions and pass it to Artifactory with --set artifactory.persistence.existingClaim=PVC_NAME
.
@jainishshah17 - do you have ideas about the IBM default StorageClass and permissions?
from charts.
I have tried starting it --set artifactory.persistence.enabled=false
and it would not start, I got FATAL: password authentication failed for user "artifactory"
, I have attached the full log below.
logs-from-artifactory-in-artifactory-artifactory-0.txt
from charts.
It was a clean install, I used the helm delete --purge
then I made sure that all pods and volumes were clean.
from charts.
@marianteodorescu did you clear PVC after helm delete --purge
?
from charts.
Thank you, it works!
from charts.
Related Issues (20)
- artifactory-ha helm chart has problem with join key HOT 2
- Upgrade jfrog-platform to fix security issue JA-7492 HOT 1
- artifactory-oss router does not start, reports 'Missing required services: [jfrt jfob jffe]' HOT 2
- Deploying Artifactory Pro with Helm Chart on GKE - HTTP 405 Docker HOT 2
- login with oauth error - Binding token to existing user HOT 1
- Cannot write to /opt/jfrog/router/app/router/router.pid: Permission denied HOT 13
- [FATAL] Cluster join: Failed resolving join key: failed resolving 'shared.security.joinKey' key; file does not exist: /opt/jfrog/router/var/etc/security/join.key HOT 1
- production incident: Nginx new port setup is broken HOT 4
- NGINX pod wont start after applying the latest Helm chart HOT 3
- 2024-03-08T12:01:49.328Z [36m[jfrou][0m [34m[INFO ][0m [6c11dd5ef278b11f] [security_keys.go:185 ] [main ] [] - Cluster join: Join key is missing. Pending for 150 seconds with 5m0s timeout Terminate signal received, attempting a graceful shutdown (264) HOT 1
- Configuring a Postgresql External Database results in an infinite wait for the master key until CrashLoopBackOff HOT 2
- Can you tell me to access through s3, then where should I fill in my ak and sk HOT 4
- Invalid Stateful set label created if using non-default image registry port
- Option for persistentVolumeClaimRetentionPolicy
- Install Jfrog pipelines with a pre-existing Vault is failing during init phase HOT 3
- StatefulSet artifactory-ha-jfrog-deployme-artifactory-ha-member failed. Not found: "gcpcreds-json" HOT 2
- Circle of Trust certificates gets deleted after the pods are up HOT 2
- Question: Jfrog-Platform chart for Artifactory 7.77.11
- wrong copy-circle-of-trust-certificates imagePullPolicy configuration HOT 6
- Shouldn't fullname be used for the new artifactory-unified-secret? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.