Sean
09/16/2022, 12:08 AMSign-in URL: <http://default.cloud.bentoml.com/login>
Email: <mailto:ashley.zhao.dacml@gmail.com|ashley.zhao.dacml@gmail.com>
Password: iBQU2gnBtD
Sean
09/16/2022, 12:09 AMSean
09/16/2022, 12:10 AMAshley Zhao
09/16/2022, 12:32 AMSlackbot
09/17/2022, 8:15 PMSean
09/17/2022, 8:15 PMAshley Zhao
09/22/2022, 4:07 AMAshley Zhao
09/22/2022, 4:10 AMAshley Zhao
09/22/2022, 5:44 PMDone! kubectl is now configured to use "minikube2" cluster and "default" namespace by default
Ashley Zhao
09/22/2022, 7:12 PMkubectl describe pod yatai-76c48797d8-6pmng --namespace yatai-system
Name: yatai-76c48797d8-6pmng
Namespace: yatai-system
Priority: 0
Service Account: yatai
Node: minikube2/192.168.64.3
Start Time: Thu, 22 Sep 2022 14:57:43 -0400
Labels: <http://app.kubernetes.io/instance=yatai|app.kubernetes.io/instance=yatai>
<http://app.kubernetes.io/name=yatai|app.kubernetes.io/name=yatai>
pod-template-hash=76c48797d8
Annotations: <none>
Status: Pending
IP: 172.17.0.4
IPs:
IP: 172.17.0.4
Controlled By: ReplicaSet/yatai-76c48797d8
Containers:
yatai:
Container ID:
Image: <http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>
Image ID:
Port: 7777/TCP
Host Port: 0/TCP
Command:
sh
-c
Args:
exec /app/api-server serve -c /conf/config.yaml
State: Waiting
Reason: ImagePullBackOff
Ready: False
Restart Count: 0
Liveness: http-get http://:http/ delay=10s timeout=10s period=5s #success=1 #failure=15
Readiness: http-get http://:http/ delay=10s timeout=10s period=5s #success=1 #failure=60
Environment Variables from:
env Secret Optional: false
Environment: <none>
Mounts:
/conf from config (ro)
/etc/localtime from host-timezone (ro)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-nbvxx (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
host-timezone:
Type: HostPath (bare host directory volume)
Path: /etc/localtime
HostPathType:
config:
Type: Secret (a volume populated by a Secret)
SecretName: yatai
Optional: false
kube-api-access-nbvxx:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional: <nil>
DownwardAPI: true
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: <http://node.kubernetes.io/not-ready:NoExecute|node.kubernetes.io/not-ready:NoExecute> op=Exists for 300s
<http://node.kubernetes.io/unreachable:NoExecute|node.kubernetes.io/unreachable:NoExecute> op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 7m19s default-scheduler Successfully assigned yatai-system/yatai-76c48797d8-6pmng to minikube2
Warning Failed 6m38s kubelet Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:43418->192.168.64.1:53: i/o timeout
Warning Failed 5m42s kubelet Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:48756->192.168.64.1:53: i/o timeout
Warning Failed 4m39s kubelet Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:58186->192.168.64.1:53: i/o timeout
Normal Pulling 3m57s (x4 over 7m18s) kubelet Pulling image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>"
Warning Failed 3m17s (x4 over 6m38s) kubelet Error: ErrImagePull
Warning Failed 3m17s kubelet Failed to pull image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>": rpc error: code = Unknown desc = Error response from daemon: Get "<https://quay.io/v2/>": dial tcp: lookup <http://quay.io|quay.io> on 192.168.64.1:53: read udp 192.168.64.3:58805->192.168.64.1:53: i/o timeout
Warning Failed 2m50s (x6 over 6m38s) kubelet Error: ImagePullBackOff
Normal BackOff 2m12s (x9 over 6m38s) kubelet Back-off pulling image "<http://quay.io/bentoml/yatai:1.0.0-a0|quay.io/bentoml/yatai:1.0.0-a0>"
If possible, perhaps I can meet up to walk through the installation steps together, should the errors appear to be something configuration related.Ashley Zhao
09/22/2022, 7:24 PMAshley Zhao
09/22/2022, 9:05 PMAshley 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 AMSlackbot
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
Slackbot
09/29/2022, 3:58 AMSlackbot
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?