-
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
🌱 Simplify CAPD quick start #3514
🌱 Simplify CAPD quick start #3514
Conversation
Thoughts about renaming the artifacts to |
TBH I don't think this is necessary. The fact that CAPD is for development only is already well documented and the fact the current implementation is limited to a single machine is a hard stop-gap for any production use case. In the end, no name/-dev prefix will prevent a user to do crazy things if he really wants, and, given that IMO we already did a good job in advising people about CAPD limitations, I'm OK with the current name. |
Is the |
yes. all the CAPD templates are going to be part of the release; currently, there is only one |
Let's name it at least |
Sure, but this requires --flavor when doing clusterctl config file (I'm going to document it) |
Could we add support in the metadata file / internal for the default template to look at? Is the template file getting copied into the |
This is tricky, because the template name is generated by the yaml processor and currently this does not get in input any of metadata/provider config
yes! |
LGTM pending squash, thanks for doing this and applying the requested changes! The documentation looks even better now with |
8c2ac9f
to
296206b
Compare
/hold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is awesome @fabriziopandini !
i have not tested this workflow, but as i have recently broken my test stand i will do so on monday. i left a couple comments inline.
296206b
to
d73af39
Compare
/milestone v0.3.9 |
/assign |
updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey Fabrizio, i've tried to duplicate these instructions but i keep running into a few issues.
for reference, i am using Fedora 31, Docker 19.03, Go 1.13.14 and Kind 0.8.1.
i cleaned my environment (removed all old capi stuff), and rebuilt clusterctl and the capi images, these are some of the issues i see:
- clusterctl is looking for a template file named
cluster-template.yaml
but the one provided iscluster-template-deployment.yaml
. fix was to rename my local file, this might be intended but we should mention in the docs if so. - the kind management cluster is having issues pulling my local created images for the capi components. fix was to load all the images into the kind management cluster (with
kind load docker-image
) and then update the various infrastructure manifests to change theimagePullPolicy: Always
toIfNotPresent
. - the initial control plane machine deploys fine but it seems like additional control plane machines are never created and the workers are stuck in pending state.
not sure if i've messed something up locally, but i tried to follow the instructions from a clean environment.
test/infrastructure/docker/templates/cluster-template-development.yaml
Outdated
Show resolved
Hide resolved
/milestone v0.3.10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/milestone v0.3.9
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri, wfernandes The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
I verified creating a cluster with this PR last Friday. Thank you, @fabriziopandini! /lgtm |
/hold |
/retest |
/milestone v0.3.10 |
/hold cancel |
I see the instruction to set |
Ignore previous question: the setting is still there on a different page. |
I guess this code is not yet released, how do I use it to test. A trivial question maybe, but I am struggling at the exact steps, managed to get through the imagePull error by changing 'ALways' to 'ifNotPresent'. However am getting the following while creating workload cluster: root@master-1:~# kubectl apply -f capi-quickstart.yaml |
@nistiwar I was able to reproduce this myself. This happens because the current storage version of the CRDs being stored is v1alpha4. We may need to update the |
@nistiwar I ended up creating the issue referenced above and will submit a PR shortly. Thanks for surfacing this issue! |
What this PR does / why we need it:
This PR simplifies the quick start with the docker provider; this impacts also the clusterctl DX, and more specifically
Which issue(s) this PR fixes:
Fixes #