crossplane-contrib / crossplane-contrib/function-patch-and-transform

Premature Kubectl Wait Return For Composite Resource Readiness

オープン
#82 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
46
フォーク
41
平均マージ
1日 10時間
マージ済み PR(30日)
3

説明

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
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go, kubernetes
領域
infrastructure
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。