2
2
permalink : /api/workload.codeflare.dev/v1beta2/
3
3
title : AppWrapper API
4
4
classes : wide
5
+ description : Generated API reference documentation for workload.codeflare.dev/v1beta2.
5
6
---
6
7
7
8
8
- Generated API reference documentation for <no value >.
9
-
10
9
## Resource Types
11
10
11
+ - [ AppWrapper] ( #workload-codeflare-dev-v1beta2-AppWrapper )
12
+ - [ AppWrapperComponent] ( #workload-codeflare-dev-v1beta2-AppWrapperComponent )
13
+ - [ AppWrapperComponentStatus] ( #workload-codeflare-dev-v1beta2-AppWrapperComponentStatus )
14
+ - [ AppWrapperCondition] ( #workload-codeflare-dev-v1beta2-AppWrapperCondition )
15
+ - [ AppWrapperList] ( #workload-codeflare-dev-v1beta2-AppWrapperList )
16
+ - [ AppWrapperPhase] ( #workload-codeflare-dev-v1beta2-AppWrapperPhase )
17
+ - [ AppWrapperPodSet] ( #workload-codeflare-dev-v1beta2-AppWrapperPodSet )
18
+ - [ AppWrapperPodSetInfo] ( #workload-codeflare-dev-v1beta2-AppWrapperPodSetInfo )
19
+ - [ AppWrapperSpec] ( #workload-codeflare-dev-v1beta2-AppWrapperSpec )
20
+ - [ AppWrapperStatus] ( #workload-codeflare-dev-v1beta2-AppWrapperStatus )
12
21
13
22
14
23
## ` AppWrapper ` {#workload-codeflare-dev-v1beta2-AppWrapper}
@@ -69,7 +78,7 @@ arbitrary metadata about the Component to customize its treatment by the AppWrap
69
78
<a href =" #workload-codeflare-dev-v1beta2-AppWrapperPodSet " ><code >[ ] AppWrapperPodSet</code ></a >
70
79
</td >
71
80
<td >
72
- <p >PodSets contained in the Component</p >
81
+ <p >DeclaredPodSets for the Component (optional for known PodCreating GVKs) </p >
73
82
</td >
74
83
</tr >
75
84
<tr ><td ><code >podSetInfos</code ><br />
@@ -89,6 +98,64 @@ arbitrary metadata about the Component to customize its treatment by the AppWrap
89
98
</tbody >
90
99
</table >
91
100
101
+ ## ` AppWrapperComponentStatus ` {#workload-codeflare-dev-v1beta2-AppWrapperComponentStatus}
102
+
103
+
104
+ ** Appears in:**
105
+
106
+ - [ AppWrapperStatus] ( #workload-codeflare-dev-v1beta2-AppWrapperStatus )
107
+
108
+
109
+ <p >AppWrapperComponentStatus tracks the status of a single managed Component</p >
110
+
111
+
112
+ <table class =" table " >
113
+ <thead ><tr ><th width =" 30% " >Field</th ><th >Description</th ></tr ></thead >
114
+ <tbody >
115
+
116
+
117
+ <tr ><td ><code >name</code > <B >[Required]</B ><br />
118
+ <code >string</code >
119
+ </td >
120
+ <td >
121
+ <p >Name is the name of the Component</p >
122
+ </td >
123
+ </tr >
124
+ <tr ><td ><code >kind</code > <B >[Required]</B ><br />
125
+ <code >string</code >
126
+ </td >
127
+ <td >
128
+ <p >Kind is the Kind of the Component</p >
129
+ </td >
130
+ </tr >
131
+ <tr ><td ><code >apiVersion</code > <B >[Required]</B ><br />
132
+ <code >string</code >
133
+ </td >
134
+ <td >
135
+ <p >APIVersion is the APIVersion of the Component</p >
136
+ </td >
137
+ </tr >
138
+ <tr ><td ><code >podSets</code > <B >[Required]</B ><br />
139
+ <a href =" #workload-codeflare-dev-v1beta2-AppWrapperPodSet " ><code >[ ] AppWrapperPodSet</code ></a >
140
+ </td >
141
+ <td >
142
+ <p >PodSets is the validated PodSets for the Component (either from AppWrapperComponent.DeclaredPodSets or inferred by the controller)</p >
143
+ </td >
144
+ </tr >
145
+ <tr ><td ><code >conditions</code ><br />
146
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#condition-v1-meta " ><code >[ ] k8s.io/apimachinery/pkg/apis/meta/v1.Condition</code ></a >
147
+ </td >
148
+ <td >
149
+ <p >Conditions hold the latest available observations of the Component's current state.</p >
150
+ <p >The type of the condition could be:</p >
151
+ <ul >
152
+ <li >ResourcesDeployed: The component is deployed on the cluster</li >
153
+ </ul >
154
+ </td >
155
+ </tr >
156
+ </tbody >
157
+ </table >
158
+
92
159
## ` AppWrapperPhase ` {#workload-codeflare-dev-v1beta2-AppWrapperPhase}
93
160
94
161
(Alias of ` string ` )
@@ -110,6 +177,8 @@ arbitrary metadata about the Component to customize its treatment by the AppWrap
110
177
111
178
- [ AppWrapperComponent] ( #workload-codeflare-dev-v1beta2-AppWrapperComponent )
112
179
180
+ - [ AppWrapperComponentStatus] ( #workload-codeflare-dev-v1beta2-AppWrapperComponentStatus )
181
+
113
182
114
183
<p >AppWrapperPodSet describes an homogeneous set of pods</p >
115
184
@@ -133,6 +202,14 @@ arbitrary metadata about the Component to customize its treatment by the AppWrap
133
202
<p >Path is the path Component.Template to the PodTemplateSpec for this PodSet</p >
134
203
</td >
135
204
</tr >
205
+ <tr ><td ><code >annotations</code ><br />
206
+ <code >map[ string] string</code >
207
+ </td >
208
+ <td >
209
+ <p >Annotations is an unstructured key value map that may be used to store and retrieve
210
+ arbitrary metadata about the PodSet to customize its treatment by the AppWrapper controller.</p >
211
+ </td >
212
+ </tr >
136
213
</tbody >
137
214
</table >
138
215
@@ -180,6 +257,13 @@ arbitrary metadata about the Component to customize its treatment by the AppWrap
180
257
<p >Tolerations to be added to the PodSpecTemplate</p >
181
258
</td >
182
259
</tr >
260
+ <tr ><td ><code >schedulingGates</code ><br />
261
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#podschedulinggate-v1-core " ><code >[ ] k8s.io/api/core/v1.PodSchedulingGate</code ></a >
262
+ </td >
263
+ <td >
264
+ <p >SchedulingGates to be added to the PodSpecTemplate</p >
265
+ </td >
266
+ </tr >
183
267
</tbody >
184
268
</table >
185
269
@@ -213,6 +297,13 @@ arbitrary metadata about the Component to customize its treatment by the AppWrap
213
297
<p >Suspend suspends the AppWrapper when set to true</p >
214
298
</td >
215
299
</tr >
300
+ <tr ><td ><code >managedBy</code > <B >[Required]</B ><br />
301
+ <code >string</code >
302
+ </td >
303
+ <td >
304
+ <p >ManagedBy is used to indicate the controller or entity that manages the AppWrapper.</p >
305
+ </td >
306
+ </tr >
216
307
</tbody >
217
308
</table >
218
309
@@ -261,5 +352,13 @@ arbitrary metadata about the Component to customize its treatment by the AppWrap
261
352
</ul >
262
353
</td >
263
354
</tr >
355
+ <tr ><td ><code >componentStatus</code > <B >[Required]</B ><br />
356
+ <a href =" #workload-codeflare-dev-v1beta2-AppWrapperComponentStatus " ><code >[ ] AppWrapperComponentStatus</code ></a >
357
+ </td >
358
+ <td >
359
+ <p >ComponentStatus parallels the Components array in the Spec and tracks the actually deployed resources</p >
360
+ </td >
361
+ </tr >
264
362
</tbody >
265
363
</table >
364
+
0 commit comments