Closed erick-duran-tfs closed 4 years ago
@erick-duran Can you please provide some more Info
helm install
and helm upgrade
command you tried so that i can try and replicate? @erick-duran Is this still an issue ? please try with latest xray chart and also provide required info (as stated above)
Hello @chukka, Yes. This is still an issue, I've just tested it with the latest chart version (3.2.4). I can share you my values:
rabbitmq-ha:
replicaCount: 2
rabbitmqMemoryHighWatermark: 1000MB
resources:
requests:
memory: "512Mi"
cpu: "500m"
limits:
memory: "1Gi"
cpu: "1"
server:
replicaCount: 3
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1"
analysis:
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1"
persist:
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1"
indexer:
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1"
persistence:
size: 100Gi
postgresql:
enabled: false
database:
secrets:
user:
name: psql-secret
key: user
password:
name: psql-secret
key: password
url:
name: psql-secret
key: url
xray:
masterKeySecretName: xray-master-key
jfrogUrl: https://my-artifactory-url.com
joinKeySecretName: artifactory-join-key
What I did:
helm install xray jfrog/xray -n xray3 -f values.yml --version 3.2.4
helm upgrade xray jfrog/xray -n xray3 -f values.yml --version 3.2.4
This results in a "deployed" status, but all the resources are terminated:
$ helm upgrade xray jfrog/xray -n xray3 -f values.yml --version 3.2.4
Release "xray" has been upgraded. Happy Helming!
NAME: xray
LAST DEPLOYED: Tue Apr 21 17:44:50 2020
NAMESPACE: xray3
STATUS: deployed
REVISION: 2
TEST SUITE: None
$ kubectl get all NAME READY STATUS RESTARTS AGE pod/xray-rabbitmq-ha-0 0/1 Terminating 0 12m pod/xray-xray-server-0 5/5 Terminating 0 12m
$ kubectl get all No resources found in xray3 namespace.
Also weird that I didn't get any output similar to other service upgrades/installations.
And sorry for the delay!
Any updates on this? The issue persists and we have to re-deploy every time we want to do a configuration change (causing downtime). Chart version 3.3.0.
This was fixed in the newest chart. I was able to perform an upgrade with no problems.
Is this a request for help?: yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug (?)
Version of Helm and Kubernetes: Helm: 3.1.0 Kubernetes: 1.14.9 (EKS)
Which chart: Xray 3.0.26
What happened: Tried to make an upgrade from already running release of the Xray chart 3.0.26 (default values) due to small configuration change. Release resulted in
pending-upgrade
status, and therefore all the resources deleted. Had to delete the release and run an install again.What you expected to happen: That the release updated without causing downtime. Are upgrades in this new version no longer supported?
How to reproduce it (as minimally and precisely as possible):
upgrade
, providing any necessary passwords (rabbitmq, postgres, join key, master key, etc.). Same or new chart version.Example ouput:
Anything else we need to know: I tried with multiple kinds of changes (scaling up the server + rabbitmq replica count), changing the master key secret name (to an existing one), changing the JFrog URL, etc. Even running with the same values retrieved using
helm get values xray > values.yml
+ passwords resulted in termination of all our pods.Thanks in advance