diff --git a/deploy/helm/Chart.yaml b/deploy/helm/Chart.yaml index 9e9eeacb0a..e3c4ea2a94 100644 --- a/deploy/helm/Chart.yaml +++ b/deploy/helm/Chart.yaml @@ -11,7 +11,7 @@ sources: - https://github.com/appsmithorg/appsmith home: https://www.appsmith.com/ icon: https://assets.appsmith.com/appsmith-icon.png -version: 2.0.2 +version: 2.0.3 dependencies: - condition: redis.enabled name: redis diff --git a/deploy/helm/templates/NOTES.txt b/deploy/helm/templates/NOTES.txt index 17f6147c10..61e648b7e2 100644 --- a/deploy/helm/templates/NOTES.txt +++ b/deploy/helm/templates/NOTES.txt @@ -26,5 +26,5 @@ Please update your DNS records with your domain by the address. You can use foll echo "Visit http://127.0.0.1:8080 to use your application" kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT -To expose your Appsmith service to be accessible from the Internet, please refer to our docs here https://docs.appsmith.com/setup/kubernetes#expose-appsmith. +To expose your Appsmith service to be accessible from the Internet, please refer to our docs here https://docs.appsmith.com/getting-started/setup/installation-guides/kubernetes/publish-appsmith-online. {{- end }} diff --git a/deploy/helm/templates/statefulset.yaml b/deploy/helm/templates/statefulset.yaml index 17d89639b4..9e6ad7f0d6 100644 --- a/deploy/helm/templates/statefulset.yaml +++ b/deploy/helm/templates/statefulset.yaml @@ -49,16 +49,16 @@ spec: {{- if ((.Values.initContainer.redis).image) }} image: {{ .Values.initContainer.redis.image }} {{- else }} - image: "alpine" + image: "docker.io/library/redis:6.2-alpine" {{- end }} - command: ['sh', '-c', "apk add redis; until redis-cli -h {{ include "appsmith.fullname" . }}-redis-master.{{.Release.Namespace}}.svc.cluster.local ping; do echo waiting for redis; sleep 2; done"] + command: ['sh', '-c', "until redis-cli -h {{ include "appsmith.fullname" . }}-redis-master.{{.Release.Namespace}}.svc.cluster.local ping ; do echo waiting for redis; sleep 2; done"] {{- end }} {{- if .Values.mongodb.enabled }} - name: mongo-init-container {{- if ((.Values.initContainer.mongodb).image) }} image: {{ .Values.initContainer.mongodb.image }} {{- else }} - image: "docker.io/bitnami/mongodb:4.4.11-debian-10-r12" + image: "docker.io/bitnami/mongodb:5.0.17-debian-11-r5" {{- end }} command: ['sh', '-c', "until mongo --host appsmith-mongodb.{{.Release.Namespace}}.svc.cluster.local --eval 'db.runCommand({ping:1})' ; do echo waiting for mongo; sleep 2; done"] {{- end }} @@ -78,19 +78,26 @@ spec: - name: supervisord containerPort: 9001 protocol: TCP + {{- $probes := .Values.probes | default dict }} startupProbe: # The `livenessProbe` and `readinessProbe` will be disabled until the `startupProbe` is successful. httpGet: - path: / port: http + path: {{ dig "startupProbe" "api" "/api/v1/health" $probes }} + failureThreshold: {{ dig "startupProbe" "failureThreshold" 3 $probes }} + periodSeconds: {{ dig "startupProbe" "periodSeconds" 60 $probes }} livenessProbe: httpGet: - path: / port: http + path: {{ dig "livenessProbe" "api" "/api/v1/health" $probes }} + failureThreshold: {{ dig "livenessProbe" "failureThreshold" 3 $probes }} + periodSeconds: {{ dig "livenessProbe" "periodSeconds" 60 $probes }} readinessProbe: httpGet: - path: /api/v1/users/me port: http + path: {{ dig "readinessProbe" "api" "/api/v1/health" $probes }} + failureThreshold: {{ dig "readinessProbe" "failureThreshold" 3 $probes }} + periodSeconds: {{ dig "readinessProbe" "periodSeconds" 60 $probes }} resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: