Understand aapctl manifest application order
After you generate manifests, apply them to your cluster using ArgoCD, Flux, or a manual staged process.
aapctl is a Technology Preview feature. Technology Preview features provide early access to upcoming product innovations, enabling you to test functionality and provide feedback during the development process. Technology Preview features are not fully supported under Red Hat production SLA and may not be functionally complete. Red Hat does not recommend using Technology Preview features in production. For more information, see Technology Preview Features Support Scope in the Additional resources section.
Understand ordering dependencies
In live mode, aapctl waits for each Operator Lifecycle Manager (OLM) operator to become ready before creating resources that depend on it. For example, aapctl waits for the automation orchestrator operator before creating the custom resource.
Running oc apply -f manifests.yaml does not enforce this ordering. If you apply all manifests at once, dependent resources may fail because their operators are not ready yet.
To handle this, apply the manifests in stages:
| Stage | Resources | Wait condition |
|---|---|---|
| 1 | Namespaces | Namespaces exist |
| 2 | OperatorGroups and Subscriptions | Operators are ready and custom resource definitions (CRDs) are registered |
| 3 | Secrets and custom resources | Deployment completes |
Apply aapctl manifests with ArgoCD
Use ArgoCD sync waves to enforce the stage ordering when you apply aapctl manifests to a cluster.
About this task
aapctl is a Technology Preview feature. Technology Preview features provide early access to upcoming product innovations, enabling you to test functionality and provide feedback during the development process. Technology Preview features are not fully supported under Red Hat production SLA and may not be functionally complete. Red Hat does not recommend using Technology Preview features in production. For more information on the support scope for Technology Preview features, see Technology Preview Features Support Scope.
Procedure
Apply aapctl manifests manually
If you do not use ArgoCD or Flux, apply the manifests in stages with manual waits between each stage.
About this task
aapctl is a Technology Preview feature. Technology Preview features provide early access to upcoming product innovations, enabling you to test functionality and provide feedback during the development process. Technology Preview features are not fully supported under Red Hat production SLA and may not be functionally complete. Red Hat does not recommend using Technology Preview features in production. For more information on the support scope for Technology Preview features, see Technology Preview Features Support Scope.