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
Add doc for how to move a cluster #630
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc 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 |
Build failed.
|
recheck |
Build failed.
|
@hidekazuna @sbueringer take a look? The CI is not stable now (theopenlab/openlab#581) but this is doc only change... |
well.. I think it's still helpful to give an end to end sample .. |
recheck |
Build succeeded.
|
@jichenjc Please update using |
5aef02b
to
2b3fa31
Compare
@hidekazuna updated, thanks~ |
Build failed.
|
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.
Let's use "OpenStack", not "openstack".
docs/configuration.md
Outdated
@@ -84,6 +84,8 @@ The following variables are set. | |||
|
|||
Note: Only the [external cloud provider](./external-cloud-provider.md) supports [Application Credentials](https://docs.openstack.org/keystone/latest/user/application_credentials.html). | |||
|
|||
Note: you need set `clusterctl.cluster.x-k8s.io/move` label for the secret created from `OPENSTACK_CLOUD_YAML_B64` in order to successfully move objects from bootstrap cluster to target cluster. See [bug 626](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/issues/626) for further information. |
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.
need to set
docs/mover.md
Outdated
|
||
<!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
|
||
This documenation describe how to move `cluster-api` related objects from `bootstrap` cluster to `target` cluster. check [clusterctl move](https://cluster-api.sigs.k8s.io/clusterctl/commands/move.html) for further info. |
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 documentation describes how to move Cluster API
related objects from bootstrap
cluster to target
cluster. Check clusterctl move for further info.
docs/mover.md
Outdated
|
||
# Install openstack providers into target cluster | ||
|
||
You need install openstack cluster api providers into `target` cluster first. |
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.
You need to install OpenStack Cluster API provider into target
cluster first.
docs/mover.md
Outdated
clusterctl config cluster [name] --kubernetes-version [version] | kubectl apply -f - | ||
``` | ||
|
||
# Move objects in `bootstrap` cluster into `target` cluster. |
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.
Move objects from bootstrap
cluster into target
cluster
docs/mover.md
Outdated
|
||
# Pre-condition | ||
|
||
bootstrap cluster |
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.
Bootstrap cluster
docs/mover.md
Outdated
local-path-storage local-path-provisioner-bd4bb6b75-ft7wh 1/1 Running 0 40m | ||
``` | ||
|
||
target cluster (using external cloud manager) |
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.
Target cluster (Below is an example of external cloud provider)
docs/mover.md
Outdated
kube-system openstack-cloud-controller-manager-z9jtc 1/1 Running 1 4m9s | ||
``` | ||
|
||
# Install openstack providers into target cluster |
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.
Install OpenStack Cluster API provider into target cluster
2b3fa31
to
ded6fa1
Compare
@hidekazuna update. thanks |
Build failed.
|
recheck |
Build failed.
|
/lgtm |
What this PR does / why we need it:
Add a doc on how to move a cluster
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: