Slackbot
01/12/2023, 4:07 PMXipeng Guan
01/12/2023, 5:45 PMyatai-deployment
version do you have installed? You need to upgrade to the latest version of 1.0.x or migrate to the latest version of 1.1.xBenjamin Tan
01/13/2023, 2:05 AMBenjamin Tan
01/13/2023, 2:08 AMBenjamin Tan
01/13/2023, 2:09 AM(base) benjamintan@DK-helbrecht:~/workspace/ktp-ocr$ k exec -it ktp-ocr-f76fbcd66-2h5r5 -n yatai /bin/bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
bentoml@ktp-ocr-f76fbcd66-2h5r5:~/bento$ python
bash: python: command not found
bentoml@ktp-ocr-f76fbcd66-2h5r5:~/bento$ python3
Python 3.8.10 (default, Nov 14 2022, 12:59:47)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Benjamin Tan
01/13/2023, 2:09 AMLiveness: exec [python -c "from urllib.request import urlopen; urlopen('<http://localhost:3000/healthz>'); urlopen('<http://ktp-ocr-runner-87a4730309ca831114210fe233df7f25:3000/healthz>'); urlopen('<http://ktp-ocr-runner-2cd21716280966093844d0cec55636f8:3000/healthz>'); urlopen('<http://ktp-ocr-runner-ad9a708951d4aa96c58504d908f9376f:3000/healthz>')"] delay=5s timeout=5s period=10s #success=1 #failure=6
Benjamin Tan
01/13/2023, 2:18 AMBenjamin Tan
01/13/2023, 2:33 AMBenjamin Tan
01/13/2023, 2:34 AMpython3
instead of python
?Xipeng Guan
01/13/2023, 2:43 AMBenjamin Tan
01/13/2023, 2:44 AM