Comments (4)
same issue is happening to me, have pods stuck on init
state. I tried the workaround from @DanielCalvo but it not work on my case.
from helm-charts.
I stumbled upon this today while trying to configure temporal with an external PostgreSQL DB. I also found a workaround, but it isn't pretty.
We're deploying this through an ArgoCD application, and this is what it looks like:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: temporal
namespace: argocd
spec:
syncPolicy:
automated:
selfHeal: true
prune: true
project: default
destination:
server: https://kubernetes.default.svc
namespace: temporal
source:
path: charts/temporal
repoURL: https://github.com/temporalio/helm-charts
targetRevision: temporal-0.33.0
helm:
releaseName: temporal
values: |-
replicaCount: 1
postgresql:
enabled: true
prometheus:
enabled: true
elasticsearch:
enabled: true
grafana:
enabled: true
cassandra:
enabled: false
schema:
setup:
enabled: true
update:
enabled: true
server:
config:
persistence:
default:
driver: sql
sql:
driver: postgres
host: temporal(...).eu-west-1.rds.amazonaws.com
port: 5432 #if you don't specify this, temporal defaults to port 3306 for postgresql, which is the default port for mysql!
user: postgresql
password: xxxx
visibility:
driver: sql
sql:
driver: postgres
host: temporal(...).eu-west-1.rds.amazonaws.com
port: 5432
user: postgresql
password: xxxx
All 4 temporal pods were stuck initializing. I only checked the worker pod which was was failing with:
waiting for elasticsearch index to become ready
This is due the es-index-setup
job not being created.
I ended up cloning the repo, checking out the tag I was using above, putting the helm values on a file by themselves and templating the chart locally:
helm template temporal /home/daniel/repos/temporal-helm-charts/charts/temporal/ --values temporal-values.yml
And strangely enough this generated the yaml for the es-index-setup
Job, which I then kubectl applied
from my machine, which initialized temporal's elastic search instance, and now the pods are OK.
I ran out of time to troubleshoot why the helm chart has this strange behaviour, if it wasn't for this issue I would assume the problem was between my chair and keyboard, but now I'm not so sure.
Also it is worth bearing in mind that many temporal users will use a GitOps tool (likely ArgoCD or FluxCD) to deploy this helm chart, so it is also something worth validating.
Cheers
from helm-charts.
Do you happen to have any updates on this? Our team is also affected by this issue.
from helm-charts.
Related Issues (20)
- [Feature Request] sidecar container for schema creation & update jobs HOT 1
- [Feature Request] Add TLS support for es-visibility in the helm chart
- Add to chat the ability to mount client certificates for admin tools deployment
- [Feature Request] Document installing from helm repo
- [Feature Request] Support Dual Visibility Setup
- [Feature Request] [Archival] [s3 provider] use IAM role + serviceAccount
- [Bug] self-hosted temporal with AWS RDS (Unable to connect to SQL database) HOT 1
- Visibility config doesn't get rendered if visibility and default store types are different HOT 3
- [Feature Request] Move cassandra from Deprecate version to version cassandra from bitnami HOT 1
- [Feature Request] Make Kubernetes Cluster Domain Dynamic/Configurable
- Pods Stuck in CrashLoopBackoff on Fresh Deployment to Fresh Kubernetes Cluster HOT 6
- Helm installation failure with opensearch as visibilitystore and postgres as defaultstore
- [Bug] Unable to use mTLS certs to connect to mysql in the schema setup/upgrade jobs
- [Feature Request] Installing Temporal in Kubernetes with TLS certs in existing secret/configmap. HOT 1
- Helm git tags don't match with main repo anymore HOT 2
- temporal-sql-tool does not accept hostnames longer than 68 characters HOT 2
- [Bug] Temporal helm-charts ownership and maintainability HOT 1
- [Feature Request] Add possibility to add annotations to server configmap HOT 1
- [Bug] Custom env variables for update schema job
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 helm-charts.