Comments (10)
Hi @parano, thanks for your answer.
Indeed I am writing a yatai install script, including creation of cloud resources (RDS, S3 bucket, secrets), so that I can install several development and testing environments in an automated way.
from yatai.
Hey @amelki
Thank you for reporting the issue, really appreciate it. I am looking to the issue.
I would love you to clarify a few things for me
- What version of yatai chart you are using?
- did you have the database
yatai
created in your Postgresql? - Are you able to access the yatai UI? Is the yatai service running successfully?
- if you are not able to, can you share with me the log of the crashed yatai service? You can find the crashed logs with
kubectl logs <POD_NAME> --previous -n yatai-system
from yatai.
cc @yetone
from yatai.
Hey @yubozhao
- What version of yatai chart you are using?
The latest one, in https://bentoml.github.io/yatai-char
- did you have the database
yatai
created in your Postgresql?
Yes : I first installed Yatai with an embedded Postgresql. Then I upgraded with an external RDS, which created the yatai database at some point.
Then I deleted the Yatai release from my K8s cluster, but kept the yatai database in my RDS instance. And when I reinstall the helm chart, referencing my RDS instance, components, operators and builders resources are not created
Maybe this is the issue. Shall I retry from an empty RDS database ?
- Are you able to access the yatai UI? Is the yatai service running successfully?
If I install the charts with postgresql=true first, first and then upgrade with my external RDS, yes, I end up with a properly installed Yatai
- if you are not able to, can you share with me the log of the crashed yatai service? You can find the crashed logs with
kubectl logs <POD_NAME> --previous -n yatai-system
from yatai.
@amelki Yes, you should either retry from an empty RDS database or manually install the yatai deployment component in the yatai UI.
from yatai.
Guys, I see you reopened the issue. I just tried to reinstall Yatai with an empty RDS database, and it does not seem to work either... Do you confirm ?
from yatai.
OK, I had to manually create the yatai DB in my RDS instance, and it worked OK
from yatai.
@amelki The thing is, when you tell yatai the name of the database, yatai will think that the database is already created
from yatai.
@yetone that is fine with me, I have adapted my install scripts to make sure the DB always exists and is empty when the helm charts are installed. I guess you can close the issue.
from yatai.
Thanks for the update @amelki - our team dive into the issue a bit more and this is definitely something we should improve in documentation. The root cause of the issue is due to installing Yatai helm chat with a database that has information on a previous installation. A regular installation from clean state should not run into this issue.
Yatai has a fairly complex architecture with multiple cluster components, both migrating to a new installation or reinstalling yatai from old DB requires a few extra steps to make sure the cluster state and DB state are in-sync. Our team will work on related documentation soon, as for now, we'd suggest try installing from a clean state as you did in your install script.
It sounds like you are trying to write a script that reinstalls Yatai, may I ask what is this used for? Is it for testing purpose?
from yatai.
Related Issues (20)
- does yatai support deploy bento to other cluster? HOT 3
- docker crash on readyz call
- fix trans in BentoCloud HOT 1
- Error: kaniko(bentoImageBuildEngine) apt-get install error HOT 1
- Error: get Bento CR bentoes.resources.yatai.ai not found HOT 1
- Will yatai login ldap be supported? HOT 1
- Deploy a "custom Bentoml image" using "yatai-deployment".
- Support labels from values.yaml
- Error: YAML parse error on yatai/templates/deployment.yaml HOT 4
- Installation of yatai-deployment failed to [ERROR registerYataiComponent...] HOT 5
- Provide a way to disable home page cards
- Cannot access web ui HOT 1
- can not start dashboard when running yarn start HOT 3
- Autoscaling LLM HOT 2
- how to deploy with cutom-runner HOT 1
- Does yatai deployment require saving the model to the bentos model store? HOT 2
- Yatai 2.0 Proposal HOT 1
- Support BentoML 1.2 in Yatai HOT 1
- How can I deploy bentoDeployment with both remote runner and embedded runner?
- How can I host the yatai image in a private registry 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 yatai.