Slackbot
11/30/2022, 8:23 AMFloris Alexandrou
11/30/2022, 8:26 AMFloris Alexandrou
11/30/2022, 8:30 AMkubectl config view
Ingress IPv4 address: kubectl get svc -n ingress-nginx
default k8s namespace: yatai-deploymentFloris Alexandrou
11/30/2022, 8:31 AMFloris Alexandrou
11/30/2022, 3:00 PMkubectl config view hides some of the sensitive information required. I have copy/pasted the text directly from $HOME/.kube/config
Now there’s a different error, would appreciate any helpBenjamin Tan
11/30/2022, 3:51 PMFloris Alexandrou
11/30/2022, 3:53 PMBenjamin Tan
11/30/2022, 3:56 PMBenjamin Tan
11/30/2022, 3:57 PMFloris Alexandrou
11/30/2022, 3:58 PMBenjamin Tan
11/30/2022, 3:58 PMFloris Alexandrou
11/30/2022, 4:01 PMXipeng Guan
11/30/2022, 4:20 PMkubectl create ns yatai-system
kubectl create sa yatai
Then follow the installation documentation to install yatai-deployment:
NOTE: You should set the cluster name when install the yatai-deployment helm chart:https://docs.bentoml.org/projects/yatai/en/latest/installation/yatai_deployment.html After installing yatai-deployment, use the tool to dump the kubeconfig for yatai serviceaccount:--set yatai.clusterName=${YATAI_CLUSTER_NAME}
bash <(curl -s "<https://raw.githubusercontent.com/bentoml/Yatai/main/scripts/get-yatai-system-kubeconfig.sh>") /tmp/kubeconfig.yaml
Then use the kubeconfig to create a new cluster in yatai dashboard UI
NOTE: The cluster name must be the same as the cluster name specified in the yatai-deployment helm chart installation.
Xipeng Guan
11/30/2022, 4:20 PMkubectl -n yatai-deployment rollout restart deploy/yatai-deploymentFloris Alexandrou
11/30/2022, 5:06 PM--set yatai.clusterName=${YATAI_CLUSTER_NAME} I copied the name from the settings of the default cluster from the UI.
When I dump the config using that tool, the name of the cluster is not the same as the one (above) set in the helm chart though.
Don’t know if this helps to know if I did things correctly or not but when I add a deployment now I get this errorXipeng Guan
11/30/2022, 5:13 PMyatai namespace