Skip to content

Commit c4a3065

Browse files
authored
refactor documents (#5088)
1 parent a606de0 commit c4a3065

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+482
-425
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@
1919

2020
Kubernetes-native declarative infrastructure for Azure.
2121

22-
## What is the Cluster API Provider Azure
22+
## What is the Cluster API Provider Azure (CAPZ)
2323

2424
The [Cluster API][cluster_api] brings declarative, Kubernetes-style APIs to cluster creation, configuration and management.
2525

26-
The API itself is shared across multiple cloud providers allowing for true Azure
27-
hybrid deployments of Kubernetes.
26+
The API itself is shared across multiple cloud providers allowing for true Azure hybrid deployments of Kubernetes.
27+
28+
CAPZ enables efficient management at scale of self-managed or managed (AKS) clusters on Azure. Furthermore, the CAPZ management cluster can be utilized with the automatically installed Azure Service Operator (ASO) installation dependency to manage any Azure infrastructure. For more information see the [roadmap high level vision](https://capz.sigs.k8s.io/roadmap#high-level-vision).
29+
30+
## Documentation
31+
32+
Please see our [Book](https://capz.sigs.k8s.io) for in-depth user documentation.
33+
34+
Additional docs can be found in the `/docs` directory, and the [index is here](https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/docs/README.md).
2835

2936
## Quick Start
3037

@@ -58,12 +65,6 @@ For more information on Kubernetes version support, see the [Cluster API book](h
5865

5966
------
6067

61-
## Documentation
62-
63-
Please see our [Book](https://capz.sigs.k8s.io) for in-depth user documentation.
64-
65-
Additional docs can be found in the `/docs` directory, and the [index is here](https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/docs/README.md).
66-
6768
## Getting involved and contributing
6869

6970
Are you interested in contributing to cluster-api-provider-azure? We, the

docs/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@
2323
## Troubleshooting
2424

2525
- [Troubleshooting guide](https://capz.sigs.k8s.io/topics/troubleshooting.html)
26+
27+
## Docs contributors
28+
29+
To run the link check linter, execute the following command from the root of the repository:
30+
31+
`find . -name '*.md' -not -path './node_modules/*' -exec markdown-link-check '{}' --config .markdownlinkcheck.json -q ';'`

docs/book/src/SUMMARY.md

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,51 @@
11
# Summary
22

33
[Introduction](./introduction.md)
4+
[Getting Started](./getting-started.md)
45
[Roadmap](./roadmap.md)
5-
- [Topics](./topics/topics.md)
6-
- [Getting Started](./topics/getting-started.md)
7-
- [Troubleshooting](./topics/troubleshooting.md)
8-
- [AAD Integration](./topics/aad-integration.md)
9-
- [Addons](./topics/addons.md)
10-
- [API Server Endpoint](./topics/api-server-endpoint.md)
6+
- [General Topics](./topics/topics.md)
117
- [Azure Service Operator](./topics/aso.md)
12-
- [Cloud Provider Config](./topics/cloud-provider-config.md)
138
- [ClusterClass](./topics/clusterclass.md)
14-
- [Control Plane Outbound Load Balancer](./topics/control-plane-outbound-lb.md)
15-
- [Custom Images](./topics/custom-images.md)
16-
- [Custom Private DNS Zone Name](./topics/custom-dns.md)
17-
- [Custom VM Extensions](./topics/custom-vm-extensions.md)
18-
- [Disks](./topics/disks.md)
19-
- [Data Disks](./topics/data-disks.md)
20-
- [OS Disk](./topics/os-disk.md)
21-
- [Disk Encryption](./topics/disk-encryption.md)
22-
- [Dual-Stack](./topics/dual-stack.md)
23-
- [Externally managed Azure infrastructure](./topics/externally-managed-azure-infrastructure.md)
24-
- [Failure Domains](./topics/failure-domains.md)
25-
- [Flatcar](./topics/flatcar.md)
26-
- [GPU-enabled Clusters](./topics/gpu.md)
27-
- [Confidential VMs](./topics/confidential-vms.md)
28-
- [Trusted Launch for VMs](./topics/trusted-launch-for-vms.md)
299
- [Identities](./topics/identities.md)
10+
- [AAD Integration](./topics/aad-integration.md)
3011
- [Identity use cases](./topics/identities-use-cases.md)
3112
- [Multi-tenancy](./topics/multitenancy.md)
3213
- [Workload Identity](./topics/workload-identity.md)
33-
- [IPv6](./topics/ipv6.md)
34-
- [Machine Pools (VMSS)](./topics/machinepools.md)
35-
- [Managed Clusters (AKS)](./topics/managedcluster.md)
36-
- [Node Outbound Connection](./topics/node-outbound-connection.md)
37-
- [Spot Virtual Machines](./topics/spot-vms.md)
38-
- [SSH Access to nodes](./topics/ssh-access.md)
39-
- [Virtual Networks](./topics/custom-vnet.md)
40-
- [VM Identity](./topics/vm-identity.md)
41-
- [Windows](./topics/windows.md)
42-
- [WebAssembly / WASI Pods](./topics/wasi.md)
14+
- [Managed Clusters (AKS)](./managed/managed.md)
15+
- [Adopting Clusters](./managed/adopting-clusters.md)
16+
- [ASO Managed Clusters (AKS)](./managed/asomanagedcluster.md)
17+
- [Managed Clusters (AKS)](./managed/managedcluster.md)
18+
- [Managed Clusters - BYO VMSS Nodes](./managed/managedcluster-join-vmss.md)
19+
- [Troubleshooting](./managed/troubleshooting.md)
20+
- [Self-managed Clusters](./self-managed/self-managed.md)
21+
- [Addons](./self-managed/addons.md)
22+
- [API Server Endpoint](./self-managed/api-server-endpoint.md)
23+
- [Cloud Provider Config](./self-managed/cloud-provider-config.md)
24+
- [Confidential VMs](./self-managed/confidential-vms.md)
25+
- [Control Plane Outbound Load Balancer](./self-managed/control-plane-outbound-lb.md)
26+
- [Custom Images](./self-managed/custom-images.md)
27+
- [Custom Private DNS Zone Name](./self-managed/custom-dns.md)
28+
- [Custom VM Extensions](./self-managed/custom-vm-extensions.md)
29+
- [Disks](./self-managed/disks.md)
30+
- [Data Disks](./self-managed/data-disks.md)
31+
- [Disk Encryption](./self-managed/disk-encryption.md)
32+
- [OS Disk](./self-managed/os-disk.md)
33+
- [Dual-Stack](./self-managed/dual-stack.md)
34+
- [Externally managed Azure infrastructure](./self-managed/externally-managed-azure-infrastructure.md)
35+
- [Failure Domains](./self-managed/failure-domains.md)
36+
- [Flatcar](./self-managed/flatcar.md)
37+
- [GPU-enabled Clusters](./self-managed/gpu.md)
38+
- [IPv6](./self-managed/ipv6.md)
39+
- [Machine Pools (VMSS)](./self-managed/machinepools.md)
40+
- [Node Outbound Connection](./self-managed/node-outbound-connection.md)
41+
- [Spot Virtual Machines](./self-managed/spot-vms.md)
42+
- [SSH Access to nodes](./self-managed/ssh-access.md)
43+
- [Troubleshooting](./self-managed/troubleshooting.md)
44+
- [Trusted Launch for VMs](./self-managed/trusted-launch-for-vms.md)
45+
- [Virtual Networks](./self-managed/custom-vnet.md)
46+
- [VM Identity](./self-managed/vm-identity.md)
47+
- [WebAssembly / WASI Pods](./self-managed/wasi.md)
48+
- [Windows](./self-managed/windows.md)
4349
- [Development](./developers/development.md)
4450
- [Kubernetes Developers](./developers/kubernetes-developers.md)
4551
- [Releasing](./developers/releasing.md)

docs/book/src/developers/development.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Makefile targets and scripts are offered to work with go modules:
122122

123123
### Setting up the environment
124124

125-
Your must have the Azure credentials as outlined in the [getting started prerequisites](../topics/getting-started.md#Prerequisites) section.
125+
You must have the Azure credentials as outlined in the [getting started prerequisites](../getting-started.md#Prerequisites) section.
126126

127127
### Tilt Requirements
128128

@@ -163,7 +163,7 @@ kustomize_substitutions:
163163
AZURE_CLIENT_ID: <client-id>
164164
```
165165
166-
You should have these values saved from the [getting started prerequisites](../topics/getting-started.md#Prerequisites) section.
166+
You should have these values saved from the [getting started prerequisites](../getting-started.md#Prerequisites) section.
167167
168168
To build a kind cluster and start Tilt, just run:
169169
@@ -218,7 +218,7 @@ kustomize_substitutions:
218218
EOF
219219
```
220220

221-
Make sure to replace the credentials with the values from the [getting started prerequisites](../topics/getting-started.md#Prerequisites) section.
221+
Make sure to replace the credentials with the values from the [getting started prerequisites](../getting-started.md#Prerequisites) section.
222222

223223
> `$REGISTRY` should be in the format `docker.io/<dockerhub-username>`
224224
@@ -245,7 +245,7 @@ To delete the cluster:
245245
make delete-workload-cluster
246246
```
247247

248-
> Check out the [troubleshooting guide](../topics/troubleshooting.md) for common errors you might run into.
248+
> Check out the [self-managed](../self-managed/troubleshooting.md) and [managed](../managed/troubleshooting.md) troubleshooting guides for common errors you might run into.
249249
250250
#### Viewing Telemetry
251251

@@ -414,7 +414,7 @@ Create the cluster:
414414
make create-cluster
415415
```
416416

417-
> Check out the [troubleshooting](../topics/troubleshooting.md) guide for common errors you might run into.
417+
> Check out the [self-managed](../self-managed/troubleshooting.md) and [managed](../managed/troubleshooting.md) troubleshooting guides for common errors you might run into
418418
419419
### Instrumenting Telemetry
420420
Telemetry is the key to operational transparency. We strive to provide insight into the internal behavior of the
@@ -571,7 +571,7 @@ You can optionally set the following variables:
571571
| `KUBERNETES_VERSION` | Desired Kubernetes version to test. You can pass in a definitive released version, e.g., "v1.24.0". If you want to use pre-released CI bits of a particular release you may use the "latest-" prefix, e.g., "latest-1.24"; you may use the very latest built CI bits from the kubernetes/kubernetes master branch by passing in "latest". If you provide a `KUBERNETES_VERSION` environment variable, you may not also use `CI_VERSION` (below). Use only one configuration variable to declare the version of Kubernetes to test. |
572572
| `CI_VERSION` | Provide a custom CI version of Kubernetes (e.g., `v1.25.0-alpha.0.597+aa49dffc7f24dc`). If not specified, this will be determined from the KUBERNETES_VERSION above if it is an unreleased version. If you provide a `CI_VERSION` environment variable, you may not also use `KUBERNETES_VERSION` (above). |
573573
| `TEST_CCM` | Build a cluster that uses custom versions of the Azure cloud-provider cloud-controller-manager and node-controller-manager images |
574-
| `EXP_MACHINE_POOL` | Use [Machine Pool](../topics/machinepools.md) for worker machines. |
574+
| `EXP_MACHINE_POOL` | Use [Machine Pool](../self-managed/machinepools.md) for worker machines. |
575575
| `TEST_WINDOWS` | Build a cluster that has Windows worker nodes. |
576576
| `REGISTRY` | Registry to push any custom k8s images or cloud provider images built. |
577577
| `CLUSTER_TEMPLATE` | Use a custom cluster template. It can be a path to a template under templates/, a path on the host or a link. If the value is not set, the script will choose the appropriate cluster template based on existing environment variables. |

docs/book/src/developers/releasing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Note: this step requires access to the Netlify site. If you don't have access, p
156156
157157
#### Minor/Major Releases
158158
159-
1. Follow the communications process for [pre-releases](#pre-releases)
159+
1. Follow the communications process for [patch-releases](#patch-releases)
160160
2. An announcement email is sent to `[email protected]` and `[email protected]` with the subject `[ANNOUNCE] cluster-api-provider-azure <version> has been released`
161161
162162
[semver]: https://semver.org/#semantic-versioning-200

docs/book/src/topics/getting-started.md renamed to docs/book/src/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ An Azure Service Principal is needed for deploying Azure resources. The below in
4545
```
4646

4747
5. Create an Azure Service Principal by running the following command or skip this step and use a previously created Azure Service Principal.
48-
NOTE: the "owner" role is required to be able to create role assignments for [system-assigned managed identity](vm-identity.md).
48+
NOTE: the "owner" role is required to be able to create role assignments for system-assigned managed identity.
4949

5050
```bash
5151
az ad sp create-for-rbac --role contributor --scopes="/subscriptions/${AZURE_SUBSCRIPTION_ID}"
@@ -84,15 +84,15 @@ For example, if your password is `foo'blah$`, you should do `export AZURE_CLIENT
8484

8585
<h1> Warning </h1>
8686

87-
The capability to set credentials using environment variables is now deprecated and will be removed in future releases, the recommended approach is to use `AzureClusterIdentity` as explained [here](multitenancy.md)
87+
The capability to set credentials using environment variables is now deprecated and will be removed in future releases, the recommended approach is to use `AzureClusterIdentity` as explained [here](./topics/multitenancy.md)
8888

8989
</aside>
9090

9191

9292
### Building your first cluster
9393
Check out the [Cluster API Quick Start](https://cluster-api.sigs.k8s.io/user/quick-start.html) to create your first Kubernetes cluster on Azure using Cluster API. Make sure to select the "Azure" tabs.
9494

95-
If you are looking to install additional ASO CRDs, set `ADDITIONAL_ASO_CRDS` to the list of CRDs you want to install. Refer to adding additional CRDs for Azure Service Operator [here](aso.md#Using-aso-for-non-capz-resources).
95+
If you are looking to install additional ASO CRDs, set `ADDITIONAL_ASO_CRDS` to the list of CRDs you want to install. Refer to adding additional CRDs for Azure Service Operator [here](./topics/aso.md#Using-aso-for-non-capz-resources).
9696

9797
<h1> Warning </h1>
9898

0 commit comments

Comments
 (0)