-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NGINX pod wont start after applying the latest Helm chart #1861
Comments
Hi @cbell38, Could you please share the following items :
|
Hi @cbell38, Still waiting for your details, for more details regarding this issue please check : |
This was an upgrade. We are running on AKS with k8s version 1.25.6. We wound up being able to resolve the issue. Typically we have a custom ConfigMap for artifactory.conf for HTTP to HTTPS redirect following this doc https://jfrog.com/help/r/artifactory-how-to-enforce-http-to-https-redirection-in-artifactory-for-browser-access-using-nginx-and-helm-charts/step-2 but we wound up having to unset that variable in the values.yaml file and hard code the conf file to artifactoryConf in the chart. We also had to update the ports in the conf to 8080 and 8443
|
Is this a request for help?: Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes: 3.12.0
Which chart: 107.77.5
Which product license (Enterprise/Pro/oss): Enterprise
JFrog support reference (if already raised with support team): 285463
What happened: Whenever we try to apply the latest chart the NGINX pod fails to start with the error;
Using deprecated password for user _internal.
2024-02-13 23:49:08 [169 entrypoint-nginx.sh] Preparing to run Nginx in Docker
2024-02-13 23:49:08 [14 entrypoint-nginx.sh] Dockerfile for this image can found inside the container.
2024-02-13 23:49:08 [15 entrypoint-nginx.sh] To view the Dockerfile: 'cat /docker/nginx-artifactory-pro/Dockerfile.nginx'.
2024-02-13 23:49:08 [19 entrypoint-nginx.sh] Setting up directories if missing
2024-02-13 23:49:08 [160 entrypoint-nginx.sh] Generating ssl example.key and example.crt
2024-02-13 23:49:08 [77 entrypoint-nginx.sh] Unable to find Artifactory configuration (/var/opt/jfrog/nginx/conf.d/artifactory.conf). Copying a default one
cp: can't create '/var/opt/jfrog/nginx/conf.d/artifactory.conf': Read-only file system
2024-02-13 23:49:08 [38 38 functions.sh] ERROR: Copying /artifactory.conf to /var/opt/jfrog/nginx/conf.d/artifactory.conf failed
2024-02-13T23:49:08.587791380Z
What you expected to happen: Helm would deploy the latest version
How to reproduce it (as minimally and precisely as possible):
helm upgrade --install artifactory-ha -f .\custom-values-new.yaml --namespace artifactory jfrog/artifactory-ha
Anything else we need to know:
The text was updated successfully, but these errors were encountered: