Use these steps to troubleshoot various issues that can occur when using Kf Routes.
Object is stuck deleting.
Run the following command to get the resource information, then check for the causes listed below:
kubectl get routes.kf.dev -n SPACE_NAME ROUTE_NAME -o yaml
The kf
CLI can help check for some of the issues:
kf doctor --space SPACE_NAME route/ROUTE_NAME
Possible Cause | Solution |
---|---|
Deletion timestamp is in the future. |
With clock skew the |
Finalizers exist on the object. |
Finalizers are present on the object, they must be removed by the controller that set them before the object is deleted. If you want to force a deletion without waiting for the finalizers, edit
the object to remove them from the Warning: Removing finalizers without allowing the controllers to complete may cause errors, security issues, data loss, or orphaned resources. |
Dependent objects may exist. |
The object may be waiting on dependents to be deleted before it deleted. See the Kubernetes garbage collection guide to learn more. Have an administrator check all objects in the namespace and cluster to see if one of them is blocking deletion. If you need to remove the object without waiting for dependents, use
|