crossplane-contrib / crossplane-contrib/function-patch-and-transform
Premature Kubectl Wait Return For Composite Resource Readiness
- Lingua principale
- Go
- Stelle
- 46
- Fork
- 41
- Merge medio
- 1g 10h
- PR unite (30g)
- 3
Descrizione
When waiting for a composite resource to assume the Ready state, kubectl wait may return prematurely. This could imply that the Ready state is briefly set and then revoked.
Example:
kubectl-v1.27.3 wait vault.sec.upbound.io configuration-vault --for=condition=Ready --timeout 5m
After kubectl wait returned, crossplane beta trace vault.sec.upbound.io configuration-vault shows that the resource is not yet ready.
```
NAME SYNCED READY STATUS
Vault/configuration-vault (default) True False Waiting: ...resource claim is waiting for composite resource to become Ready
└─ XVault/configuration-vault-mhtj5 True False Creating: Unready resources: xVaultAuth, xVaultPolicies, and xVaultSecrets
├─ XAuth/configuration-vault-mhtj5-g2cbg True False Creating: Unready resources: generic-endpoint, userpass-auth-backend
│ ├─ Backend/configuration-vault-auth-backend-userpass True True Available
│ └─ Endpoint/configuration-vault-auth-generic-endpoint True False Creating
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reproducing the kubectl-v1.27.3 wait command for the composite resource, then compare its return point with the crossplane beta trace output shown here. No source file or test is identified; done means establishing why the Ready condition is observed prematurely and adding coverage for the corrected wait behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go, kubernetes
- Ambito
- infrastructure
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100