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
See [here](https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/templates/cluster-template-aks-aso.yaml) for a full AKS example using all the new resources.
116
+
115
117
The main element of the new API is `spec.resources` in each new resource, which defines arbitrary, literal ASO
116
118
resources inline to be managed by CAPZ. These inline ASO resource definitions take the place of almost all
117
119
other configuration currently defined by CAPZ. e.g. Instead of a CAPZ-specific `spec.location` field on the
@@ -120,15 +122,12 @@ resource defined in an AzureASOManagedControlPlane's `spec.resources`. This patt
120
122
full, any ASO-supported version of a resource type in any of these new CAPZ resources.
121
123
122
124
The obvious tradeoff with this new style of API is that CAPZ resource definitions can become more verbose for
123
-
basic use cases. To address this, CAPZ will still offer flavor templates that use this API with all of the
125
+
basic use cases. To address this, CAPZ still offers flavor templates that use this API with all of the
124
126
boilerplate predefined to serve as a starting point for customization.
125
127
126
128
The overall theme of this API is to leverage ASO as much as possible for representing Azure resources in the
127
129
Kubernetes API, thereby making CAPZ the thinnest possible translation layer between ASO and Cluster API.
128
130
129
-
This experiment will help inform CAPZ whether this pattern may be a candidate for a potential v2 API. If
130
-
you're interested in trying this out, stay tuned! This functionality is available, but under heavy
131
-
construction and not yet in a usable state, behind the `ASOAPI` feature flag (set by the `EXP_ASO_API`
132
-
environment variable).
133
-
134
-
Feedback is welcome!
131
+
This experiment will help inform CAPZ whether this pattern may be a candidate for a potential v2 API. This
132
+
functionality is available behind the `ASOAPI` feature flag (set by the `EXP_ASO_API` environment variable).
0 commit comments