Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom apps in the k8s-pod-recovery service
At startup, there might be pods that are left in unknown states. The k8s-pod-recovery service takes care of recovering these unknown pods in specific namespaces. To fix this for custom apps that are not part of starlingx, we modify the service to look into the /etc/k8s-post-recovery.d directory for conf files. Any app that needs to be recovered by this service will have to create a conf file e.g the app-1 will create /etc/k8s-post-recovery.d/APP_1.conf which will contain the following: namespace=app-1-namespace Closes-Bug: 1917781 Signed-off-by: Mihnea Saracin <[email protected]> Change-Id: I8febdb685d506cff3c34946163612cafdab3e3a8
- Loading branch information