Update and Delete Inspection Tasks
Users can adjust the configuration of inspection tasks to meet business needs by updating or deleting the inspection tasks during use.
TOC
Procedure
Update Inspection Tasks
Updating an inspection task is similar to updating other K8S resources. The configuration of the inspection task can be updated using the kubectl edit command.
It is important to note that users can only update fields within the spec structure; fields in the status and metadata structures are read-only.
Delete Inspection Tasks
Deleting an inspection task is similar to deleting other K8S resources. The inspection task can be deleted using the kubectl delete command.
It is important to note that, by design, inspectionjob corresponds one-to-one with inspection. Therefore, when an inspection is deleted, the corresponding inspectionjob will be automatically deleted.