You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a simple ResourceGraph (below) and not thinking much about i set the spec.template.containers[0].env to equal to '[]' in the definition. The controller never reconciled b/c it kept finding and issue with the value of 'env' (desired '[]' vs. observed null).
Observed Behavior:
The controller never reconciled and the Instance never made it past IN_PROGRESS although all objects were created successfully.
Watching the object:
NAME STATE SYNCED AGE
simpleapp.kro.run/simple-1 IN_PROGRESS False 2m58s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/simple-1 1/1 1 1 2m55s
[2] + done~/local/google-cloud-sdk/bin/kubectl.1.30 get simpleapp,deploy -n rg-instance
[2] 30970
NAME STATE SYNCED AGE
simpleapp.kro.run/simple-1 IN_PROGRESS False 3m1s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/simple-1 1/1 1 1 2m58s
After removing 'env: []' from ResourceGraph the Instance reconciled in seconds:
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/simple-1 1/1 1 1 3s
[2] + done ~/local/google-cloud-sdk/bin/kubectl.1.30 get simpleapp,deploy -n rg-instance
[2] 34541
NAME STATE SYNCED AGE
simpleapp.kro.run/simple-1 ACTIVE True 9s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/simple-1 1/1 1 1 6s
Expected Behavior:
I did not expect that such a small thing would put the controller in this state.
Reproduction Steps (Please include ResourceGraphDefinition and Instances files):
Versions:
kro version: 0.2.1
Kubernetes Version (kubectl version):
Client Version: v1.30.8
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.6+k3s1
Manny2014
changed the title
Never ending reconciliation on a Deployment due to env expected to be '[]' vs None
Never ending reconciliation on a Deployment due to env expected to be '[]' vs null
Feb 11, 2025
Description
I've created a simple ResourceGraph (below) and not thinking much about i set the spec.template.containers[0].env to equal to '[]' in the definition. The controller never reconciled b/c it kept finding and issue with the value of 'env' (desired '[]' vs. observed null).
Observed Behavior:
The controller never reconciled and the Instance never made it past IN_PROGRESS although all objects were created successfully.
Watching the object:
After removing 'env: []' from ResourceGraph the Instance reconciled in seconds:
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/simple-1 1/1 1 1 3s
[2] + done ~/local/google-cloud-sdk/bin/kubectl.1.30 get simpleapp,deploy -n rg-instance
[2] 34541
NAME STATE SYNCED AGE
simpleapp.kro.run/simple-1 ACTIVE True 9s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/simple-1 1/1 1 1 6s
Expected Behavior:
I did not expect that such a small thing would put the controller in this state.
Reproduction Steps (Please include
ResourceGraphDefinition
andInstances
files):Versions:
kubectl version
):Client Version: v1.30.8
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.6+k3s1
Involved Controllers:
Error Logs (if applicable)**:
Which option describes the most your issue?
No response
The text was updated successfully, but these errors were encountered: