Git Product home page Git Product logo

Comments (6)

artsparkAI avatar artsparkAI commented on May 24, 2024 1

@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.

timliubentoml avatar timliubentoml commented on May 24, 2024

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.

yubozhao avatar yubozhao commented on May 24, 2024

cc @yetone

from yatai.

yetone avatar yetone commented on May 24, 2024

@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.

thechaos16 avatar thechaos16 commented on May 24, 2024

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.

MightyTedKim avatar MightyTedKim commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.