Trigger a manual PKGI reconciliation
search cancel

Trigger a manual PKGI reconciliation

book

Article ID: 374431

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Management

Issue/Introduction

kapp-controller periodically triggers PackageInstall (PKGI) objects reconciliation every few minutes.

There may be cases where we don't want to wait for the automatic reconciliation but trigger a manual one.

Resolution

We can pause and unpause the PKGI reconciliation to trigger a new one.

Reference to how to pause/unpause it: Pause Lifecycle Management for an Auto-Managed Package

# kubectl patch packageinstall/<PACKAGE-NAME> -n tkg-system -p '{"spec":{"paused":true}}' --type=merge
# kubectl patch packageinstall/<PACKAGE-NAME> -n tkg-system -p '{"spec":{"paused":false}}' --type=merge