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
Fixes#966
Description of changes:
Add docs for ACK Controller conditions
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Copy file name to clipboardExpand all lines: docs/content/docs/user-docs/resource-crud.md
+77-1Lines changed: 77 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,83 @@ kubectl delete -f bucket.yaml
73
73
kubectl get bucket/$BUCKET_NAME
74
74
```
75
75
76
+
77
+
## Understanding ACK Controller Conditons
78
+
79
+
80
+
ACK controllers use conditions to indicate the state of custom resources and their corresponding AWS service resources. These conditions are exposed in the `Status.Conditions` collection of each custom resource.
81
+
82
+
### Condition Types
83
+
84
+
#### ACK.Adopted
85
+
86
+
Indicates that an adopted resource custom resource has been successfully reconciled and the target has been created.
87
+
88
+
***True**: Resource has been successfully adopted
89
+
***False**: Resource adoption failed
90
+
***Unknown**: Resource adoption status cannot be determined
91
+
92
+
#### ACK.ResourceSynced
93
+
94
+
Indicates whether the state of the resource in the backend AWS service is in sync with the ACK service controller.
95
+
96
+
***True**: Resource is fully synced
97
+
***False**: Resource is out of sync
98
+
***Unknown**: Sync status cannot be determined
99
+
100
+
#### ACK.Terminal
101
+
102
+
Indicates that the custom resource Spec needs to be updated before any further sync can occur.
103
+
104
+
***True**: Resource is in terminal state
105
+
***False**: Resource is not in terminal state
106
+
***Unknown**: Terminal state cannot be determined
107
+
108
+
Possible Causes:
109
+
* Invalid arguments in input YAML
110
+
* Resource creation failed in AWS
111
+
112
+
#### ACK.Recoverable
113
+
114
+
Indicates errors that may be resolved without updating the custom resource spec.
115
+
116
+
***True**: Error is recoverable
117
+
***False**: Error is not recoverable
118
+
***Unknown**: Recovery status cannot be determined
0 commit comments