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
Reading through the book for the first time, I took the opportunity to
look at it with fresh eyes and find things that were missing or needed
an update.
This addresses various grammer, spelling, and linking issues found
throughout the book. There are some mdlint updates that were included
where they were very obvious, but that was not the scope of this effort.
If we want to go with full mdlinting, then that should be its own PR and
also include a job to make sure it's enforced.
Signed-off-by: Sean McGinnis <[email protected]>
@@ -79,15 +79,15 @@ provider name, e.g. `vsphere:v0.7.0-alpha.0`.
79
79
80
80
#### Target namespace
81
81
82
-
The `clusterctl init` command by default installs each provider in the default target namespace defined by each provider, e.g. `capi-system` for the Cluster API core provider.
82
+
The `clusterctl init` command by default installs each provider in the default target namespace defined by each provider, e.g. `capi-system` for the Cluster API core provider.
83
83
84
84
See the provider documentation for more details.
85
85
86
86
<asideclass="note">
87
87
88
88
<h1> Is it possible to change the target namespace ? </h1>
89
89
90
-
You can specify the target namespace by using the `--target-namespace` flag.
90
+
You can specify the target namespace by using the `--target-namespace` flag.
91
91
92
92
Please, note that the `--target-namespace` flag applies to all the providers to be installed during a `clusterctl init` operation.
93
93
@@ -104,7 +104,7 @@ same target namespace.
104
104
105
105
#### Watching namespace
106
106
107
-
The `clusterctl init` command by default installs each provider configured for watching objects in all namespaces.
107
+
The `clusterctl init` command by default installs each provider configured for watching objects in all namespaces.
108
108
109
109
<asideclass="note">
110
110
@@ -128,7 +128,7 @@ same namespace.
128
128
## Provider repositories
129
129
130
130
To access provider specific information, such as the components YAML to be used for installing a provider,
131
-
`clusterctl init` accesses the **provider repositories**, that are well-known places where the release assets for
131
+
`clusterctl init` accesses the **provider repositories**, that are well-known places where the release assets for
132
132
a provider are published.
133
133
134
134
See [clusterctl configuration](../configuration.md) for more info about provider repository configurations.
@@ -138,18 +138,18 @@ See [clusterctl configuration](../configuration.md) for more info about provider
138
138
<h1> Is it possible to override files read from a provider repository? </h1>
139
139
140
140
If, for any reasons, the user wants to replace the assets available on a provider repository with a locally available asset,
141
-
the user is required to save the file under `$HOME/.cluster-api/overrides/<provider-label>/<version>/<file-name.yaml>`.
141
+
the user is required to save the file under `$HOME/.cluster-api/overrides/<provider-label>/<version>/<file-name.yaml>`.
Once these overrides are specified, `clusterctl` will use them instead of
85
90
getting the values from the default or specified providers.
86
91
87
92
One example usage of the overrides layer is that it allows you to deploy
88
93
clusters with custom templates that may not be available from the official
89
94
provider repositories.
90
-
For example, you can now do
95
+
For example, you can now do:
96
+
91
97
```bash
92
98
clusterctl config cluster mycluster --flavor dev --infrastructure aws:v0.5.0 -v5
93
99
```
94
100
95
101
The `-v5` provides verbose logging which will confirm the usage of the
96
102
override file.
103
+
97
104
```bash
98
105
Using Override="cluster-template-dev.yaml" Provider="infrastructure-aws" Version="v0.5.0"
99
106
```
100
107
101
108
Another example, if you would like to deploy a custom version of CAPA, you can
102
109
make changes to `infrastructure-components.yaml` in the overrides folder and
103
110
run,
111
+
104
112
```bash
105
113
clusterctl init --infrastructure aws:v0.5.0 -v5
106
114
...
107
115
Using Override="infrastructure-components.yaml" Provider="infrastructure-aws" Version="v0.5.0"
108
116
...
109
117
```
110
118
111
-
112
119
If you prefer to have the overrides directory at a different location (e.g.
113
120
`/Users/foobar/workspace/dev-releases`) you can specify the overrides
114
121
directory in the clusterctl config file as
@@ -177,9 +184,8 @@ The value string is a possibly signed sequence of decimal numbers, each with opt
177
184
178
185
If no value is specified or the format is invalid, the default value of 10 minutes will be used.
179
186
180
-
181
187
## Debugging/Logging
182
188
183
189
To have more verbose logs you can use the `-v` flag when running the `clusterctl` and set the level of the logging verbose with a positive integer number, ie. `-v 3`.
184
190
185
-
If you do not want to use the flag every time you issue a command you can set the environment variable `CLUSTERCTL_LOG_LEVEL` or set the variable in the `clusterctl` config file which is located by default at `$HOME/.cluster-api/clusterctl.yaml`.
191
+
If you do not want to use the flag every time you issue a command you can set the environment variable `CLUSTERCTL_LOG_LEVEL` or set the variable in the `clusterctl` config file located by default at `$HOME/.cluster-api/clusterctl.yaml`.
0 commit comments