kubectl delete pod -n prelude provisioning-service-pod-name
Note: You can run the following command to monitor the status of provisioning-service-app pod(s) until all provisioning-service-app pod(s) are up and running:
watch 'kubectl -n prelude get pods | grep provisioning-service-app'
CTRL+C will end the watch command after they are all showing as Running 1/1.
curl --location --request PATCH 'https://<FQDN>/iaas/api/cloud-accounts/<cloud_account_id>?apiVersion=2021-07-15' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customProperties": {
"imageEnumerationTaskState": "FAILED"
},
"privateKey":"<username_password>",
"privateKeyId":"<username>"
}'
In case of “Service not found” errors in provisioning-service-app.log, restart kube-system and prelude pods by performing commands: