-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from sunilarjun/add-v0.12
Add v0.12 Documentation
- Loading branch information
Showing
60 changed files
with
2,942 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: cluster-api | ||
title: Cluster API | ||
version: v0.12 | ||
display_version: '0.12' | ||
start_page: en:index.adoc | ||
asciidoc: | ||
attributes: | ||
product_name: SUSE® Rancher Prime Cluster API | ||
nav: | ||
- modules/en/v0.12-sidebars.adoc |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions
26
versions/v0.12/modules/en/images/rancher-logo-cow-blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions
57
versions/v0.12/modules/en/pages/developer-guide/development.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
= Development setup | ||
:sidebar_position: 3 | ||
|
||
== Prerequisites: | ||
|
||
* https://kind.sigs.k8s.io/[kind] | ||
* https://helm.sh/[helm] | ||
* https://tilt.dev/[tilt] | ||
|
||
== Create a local development environment | ||
|
||
. Clone the https://github.com/rancher/turtles[{product_name}] repository locally | ||
. Create *tilt-settings.yaml*: | ||
+ | ||
[source,yaml] | ||
---- | ||
{ | ||
"k8s_context": "k3d-rancher-test", | ||
"default_registry": "ghcr.io/turtles-dev", | ||
"debug": { | ||
"turtles": { | ||
"continue": true, | ||
"port": 40000 | ||
} | ||
} | ||
} | ||
---- | ||
+ | ||
. Open a terminal in the root of the {product_name} repository | ||
. Run the following: | ||
+ | ||
[source,bash] | ||
---- | ||
make dev-env | ||
# Or if you want to use a custom hostname for Rancher | ||
RANCHER_HOSTNAME=my.customhost.dev make dev-env | ||
---- | ||
+ | ||
. When tilt has started, open a new terminal and start ngrok or inlets | ||
+ | ||
[source,bash] | ||
---- | ||
kubectl port-forward --namespace cattle-system svc/rancher 10000:443 | ||
ngrok http https://localhost:10000 | ||
---- | ||
|
||
== What happens when you run `make dev-env`? | ||
|
||
. A https://kind.sigs.k8s.io/[kind] cluster is created with the following https://github.com/rancher/turtles/blob/main/scripts/kind-cluster-with-extramounts.yaml[configuration]. | ||
. xref:../developer-guide/install_capi_operator.adoc[Cluster API Operator] is installed using helm, which includes: | ||
** Core Cluster API controller | ||
** Kubeadm Bootstrap and Control Plane Providers | ||
** Docker Infrastructure Provider | ||
** Cert manager | ||
. `Rancher manager` is installed using helm. | ||
. `tilt up` is run to start the development environment. |
Oops, something went wrong.