-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[book] Add advanced section to document using kustomize + yaml templates #3373
Comments
/kind documentation |
/milestone v0.3.x |
/milestone v0.4.0 |
@vincepri: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
/lifecycle frozen |
I can take this issue. I have some existing content on using /assign |
@scottslowe Are you still working on this issue? |
@vincepri Yes, I am. There's a lot here, so I've been trying to figure out just how much to include/exclude. For example, should I include information on customizing the |
Can you provide an example? |
For example, without customizing the NameReference transformer then the use of the namePrefix and nameSuffix directives won't work properly; the This blog post I wrote has some additional information: https://blog.scottlowe.org/2020/03/17/kustomize-transformer-configuration-cluster-api-v1alpha3/ |
I think that we can present this by use cases/ complexity:
This has the advantage that we can start by few use cases and then add more in incrementa follow ups |
For some users, clusterctl is not flexible enough to configure clusters past the quickstart experience. Many of the providers provide example "flavor" templates as references. However, for more advanced users that need greater control over the cluster configuration, the templates need to be curated to fit their use case (eg. add custom images, modify cloud provider args, etc.)
In the future, a templating solution might be integrated into clusterctl and fill the gap between the day 0 experience and the flexibility required by advanced users.
In the meantime, we should consider adding an advanced section in the documentation about using kustomize and templates, possibly with a note about the future templating engine in clusterctl. Currently, the Cluster API book only covers clusterctl as UX for cluster API which might make users think that applying yaml templates without using clusterctl config is not supported anymore (and the only other option is the overrides directory which is intended for developers, not users).
See also kubernetes-sigs/cluster-api-provider-azure#776
The text was updated successfully, but these errors were encountered: