Ashley Zhao
09/22/2022, 10:16 PMSean
09/25/2022, 7:41 AMAshley Zhao
09/25/2022, 11:42 PMSean
09/25/2022, 11:51 PMSean
09/26/2022, 12:03 AMAshley Zhao
09/26/2022, 12:03 AMSean
09/26/2022, 12:05 AMAshley Zhao
09/26/2022, 12:11 AMSean
09/26/2022, 2:08 AMAshley Zhao
09/29/2022, 3:02 AMkubectl -n yatai-deployment get pod -l app=docker-private-registry-proxy
NAME READY STATUS RESTARTS AGE
docker-private-registry-proxy-d9z2x 1/1 Running 0 6s
(base) ashleyzhao@Ashleys-MacBook-Pro ~ % kubectl -n yatai-deployment patch cm/network --type merge --patch '{"data":{"ingress-class":"$INGRESS_CLASS"}}'
Error from server (NotFound): configmaps "network" not found
Error also occurs in the public docker registryAshley Zhao
09/29/2022, 3:02 AMecho $INGRESS_CLASS
nginx
Ashley Zhao
09/29/2022, 3:58 AMXipeng Guan
09/29/2022, 4:20 AMAshley Zhao
09/29/2022, 4:56 AMAshley Zhao
09/29/2022, 4:58 AMAshley Zhao
09/29/2022, 4:58 AMSean
09/29/2022, 10:36 PM## TOC
- Concepts
- Architecture
- Diagram ([<https://excalidraw.com/](https://excalidraw.com/)>)
- Yatai (Kubernetes, PostgreSQL protocol database, S3)
- Yatai deployment (cert-manager, metrics-server, docker registry, ingress class/annotations)
- Observability (Prometheus, Grafana, Loki)
- Terminology/Additional resources (links?)
- BentoML models
- Model registry
- Bento
- Bento registry
- Bento Deployment CRD
- Installation
- Yatai Installation/System requirements
- [Yatai Deployment](<https://docs.bentoml.org/projects/yatai/en/latest/installation/yatai_deployment.html)/System> requirements
- (Install) Observability (for Prometheus/Grafana/Loki)
- [Update](<https://docs.bentoml.org/projects/yatai/en/latest/installation/yatai.html>) / Migration from Yatai 0.4
- Troubleshoot
- Limitations
- Does not support Docker on MacOS
- *Common installation questions (?)*
- First time set up AWS - give permissions
- Kubernetes problems - check VPN
- Uninstall
- Tutorial (Video)
- Yatai
- Model and bento repository (push/pull and UI)
- Administrator (manage users)
- Yatai Deployment
- Create, delete, update deployments from UI
- Create, delete, update deployments from BentoDeployment CRD
- Kubernetes
- BentoDeployment CRD (Examples)
- Note: comes with `yatai-deployment`
```jsx
> kubectl apply deployment.yaml
> k get svc
- Observability
- Metrics, Logs, (Traces) [Collecting metrics and logs](https://docs.bentoml.org/projects/yatai/en/latest/observability/metrics.html)```Ashley Zhao
09/29/2022, 10:44 PM- Yatai (Dashboard overview)
- Model and bento repository (push/pull and UI)
- Administrator (manage users)
I can probably help since I’ve gone through a quick user experience. Can you connect with me/Sean to see if we can do a video together?Tim Liu
09/29/2022, 10:45 PMAshley Zhao
09/29/2022, 10:47 PMAshley Zhao
09/30/2022, 5:30 PMhelm uninstall yatai -n yatai-system
helm uninstall yatai -n yatai-components
helm uninstall yatai-csi-driver-image-populator -n yatai-components
helm list -n yatai-operators | tail -n +2 | awk '{print $1}' | xargs -I{} helm -n yatai-operators uninstall {}
or additionally deleting the namespace, like the Bash script does?
Thank you! I hope I’m not taking up too much of your time with these questions.Xipeng Guan
09/30/2022, 6:03 PMAshley Zhao
10/04/2022, 2:52 AMUsing hyperkit and minikubeAre there alternatives to hyperkit (Of course if hyperkit is the best, no need to list other alternatives) # Installing Yatai deployment
In this step, you install a self signed web certificationIs this step mandatory if the user can use an issued web certificate? How can they go about using that?
If the Kubernetes networking layer (Load Balancer) uses an external IP address, then configure a wildcard record A as follows:What is a “wildcard record A”? # Observability
you can use several tools to collect metrics and logs of your deployment status for model observabilityDo we only observe deployment status or do we collect other metrics and logs as well (just to be more specific) # Migration
components of Yatai are installed separatelyAre there other benefits to this new structure that the user should know about? I hope I can fix the documents before end of this week. Much appreciated.
Ashley Zhao
10/10/2022, 1:24 AM<https://docs.bentoml.org/projects/yatai/en/latest/observability/logs.html
|In the Observability docs, you need to install MinIO AND S3>1. I seem to have the impression that MinIO is rather unstable because it is not necessarily secured. Why does the user have to install MinIO? 2. I also have the impression you can choose between MinIO and S3 as storage. Why is it that you need to install both?
Use the following commands to get your Grafana username and password:
```kubectl -n yatai-monitoring get secret grafana -o jsonpath='{.data.admin-user}' | base64 -d \
kubectl -n yatai-monitoring get secret grafana -o jsonpath='{.data.admin-password}' | base64 -d```Can I check what the username and password is being used for? The documentation doesn’t mention that you need to login for Prometheus or Grafana, I think. Thanks!
Ashley Zhao
10/13/2022, 9:36 PMcat <<EOF > test-resources.yaml
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager-test
---
apiVersion: <http://cert-manager.io/v1|cert-manager.io/v1>
kind: Issuer
metadata:
name: test-selfsigned
namespace: cert-manager-test
spec:
selfSigned: {}
---
apiVersion: <http://cert-manager.io/v1|cert-manager.io/v1>
kind: Certificate
metadata:
name: selfsigned-cert
namespace: cert-manager-test
spec:
dnsNames:
- <http://example.com|example.com>
secretName: selfsigned-cert-tls
issuerRef:
name: test-selfsigned
EOF
Victor king Oshimua
07/02/2023, 8:10 AMVictor king Oshimua
07/09/2023, 7:43 AMSean
07/14/2023, 11:24 AMVictor king Oshimua
07/27/2023, 8:53 AMChaoyu
01/12/2024, 1:07 AM