Flux CD
Hard
Troubleshooting
A HelmRelease sets spec.upgrade.strategy.name: RetryOnFailure and no retryInterval. What happens after an upgrade fails?
Select your answer:
Show answer and explanation
Answer: It retries the upgrade every 5m without a rollback
Explanation
RetryOnFailure retries failed upgrades at retryInterval, which defaults to 5m, and applies no remediation, so the failed revision stays in place. Rolling back between attempts is what the default RemediateOnFailure strategy does with upgrade.remediation. retryInterval cannot be set with RemediateOnFailure.
More hard Flux CD questions
- A HelmRelease named podinfo in namespace apps sets targetNamespace: web and no releaseName. Which Helm release name does helm-controller use?
- What does the annotation kustomize.toolkit.fluxcd.io/ssa: IfNotPresent do on an object in a Flux source?
- A change to an immutable field makes Flux's apply of a Job fail. Which annotation on the Job tells Flux to delete and recreate it?
- A GitRepository has no ref field, and the repository's default branch is main. What does Flux check out?
- kustomize-controller can't tell when a custom resource from a third-party operator is healthy. How do you teach it?
- You want to delete a Flux Kustomization but keep the workloads it created running. Which field do you set first?