Revert "kata-deploy: Use readinessProbe to ensure everything is ready"

This reverts commit 5ec9ae0f04, for two
main reasons:
* The readinessProbe was misintepreted by myself when working on the
  original PR
* It's actually causing issues, as the pod ends up marked as not
  healthy.
This commit is contained in:
Fabiano Fidêncio
2023-05-12 14:28:23 +02:00
parent 181017d1d8
commit e8f81ee93d
3 changed files with 0 additions and 8 deletions

View File

@@ -325,13 +325,11 @@ function main() {
install_artifacts
configure_cri_runtime "$runtime"
kubectl label node "$NODE_NAME" --overwrite katacontainers.io/kata-runtime=true
touch /opt/kata/kata-deployed
;;
cleanup)
cleanup_cri_runtime "$runtime"
kubectl label node "$NODE_NAME" --overwrite katacontainers.io/kata-runtime=cleanup
remove_artifacts
rm /opt/kata/kata-deployed
;;
reset)
reset_runtime $runtime