Comments (6)
@thechaos16 There is an error in the docs that shows setting ENDPOINT
as https://s3.amazonaws.com
but you need to actually set it to s3.amazonaws.com
from yatai.
Hi @thechaos16! We don't see that case very often, but we've got a particular config that might help:
ingress:
enabled: false
This will disable the creation of the ingress, which is for people who don't want to expose yatai with an external ip. Not sure all of your environment, but could you try that as a helm option?
from yatai.
cc @yetone
from yatai.
@thechaos16 Thanks for your report! Yatai deployment operators always need a load balancer, another solution is not to use the built-in Minio, but to manually specify the s3 configuration.
https://github.com/bentoml/Yatai/blob/main/docs/admin-guide.md#aws-s3
from yatai.
Thank you for the quick reply.
@timliubentoml, I've tried to disable ingress from https://github.com/bentoml/yatai-chart/blob/main/values.yaml#L91, but it still shows the same error. I guess updating helm chart of yatai-chart
cannot control operators' setup.
@yetone, I passed external S3 info by filling https://github.com/bentoml/yatai-chart/blob/main/values.yaml#L50-L58 blocks, but it still fails. Could you let me know if there is another way to not use the built-in Minio? In my K8S dashboard, there are two pods (minio-operator and yatai-minio-console) running.
from yatai.
for me this was resolved after i deleted the default postgres pvc.
the log comes out as no user postgres in yatai.
$ k logs pod/yatai-7f97bc87fb-qkc25 -n yatai-system
Error: migrate up db: cannot create migrate: pq: password authentication failed for user "postgres"
deleted the whole yatai, yatai postgresql
$ kubectl create secret generic yatai-postgresql --from-literal=passwordExistingSecret=cqUIVv6S4q -n yatai-system
copied the initial secret and created a new postgresql secret.
when i put existing secret with the new secret, it logins in as charm
values.yaml
postgresql:
enabled: true
nameOverride: ""
postgresqlUsername: postgres
postgresqlDatabase: yatai
## In case of postgresql.enabled = true, allow the usage of existing secrets for postgresql
##
existingSecret: yatai-postgresql #""
i managed to run it with values.yaml.
didnt work if i only change the values.yaml and updating it with argocd.
$ kubectl create secret generic yatai-ceph-secret --from-literal=accesskey=access-key --from-literal=secretkey=secret-key -n yatai-system
$ values.yaml
externalS3:
enabled: true #false
endpoint: '192.168.*.*9:300*1' #my ceph object storage endpoint(or minio)
region: ''
bucketName: 'hgkim'
secure: false #true
existingSecret: 'yatai-ceph-secret'
existingSecretAccessKeyKey: 'accesskey' #'access_key'
existingSecretSecretKeyKey: 'secretkey' #'secret_key'
after i do bentoml push
it shows on the ui and object storage under bentoml/default
bentoml push iris_classifier:latest
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Successfully pushed model "iris_clf:h7hjmrr276ld23vw" │
│ Successfully pushed Bento "iris_classifier:khydmnr276cwg3vw" │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Pushing Bento "iris_classifier:khydmnr276cwg3vw" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 5.8/5.8 kB • ? • 0:00:00
Uploading model "iris_clf:h7hjmrr276ld23vw" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.0% • 2.0/2.0 kB • ? • 0:00:00
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.