Skip to content

Commit

Permalink
update provider name in documentation to linode-linode
Browse files Browse the repository at this point in the history
  • Loading branch information
eljohnson92 committed Apr 26, 2024
1 parent 1a10bbb commit 44f565f
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ release-manifests: $(KUSTOMIZE) $(RELEASE_DIR)

.PHONY: local-release
local-release:
RELEASE_DIR=infrastructure-linode/v0.0.0 $(MAKE) release
RELEASE_DIR=infrastructure-local-linode/v0.0.0 $(MAKE) release
$(MAKE) clean-release-git

## --------------------------------------
Expand Down
12 changes: 6 additions & 6 deletions docs/src/developers/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ For local development, templates should be generated via:
make local-release
```
This creates `infrastructure-linode/v0.0.0/` with all the cluster templates:
This creates `infrastructure-local-linode/v0.0.0/` with all the cluster templates:
```sh
infrastructure-linode/v0.0.0
infrastructure-local-linode/v0.0.0
├── cluster-template-clusterclass-kubeadm.yaml
├── cluster-template-etcd-backup-restore.yaml
├── cluster-template-k3s.yaml
Expand All @@ -169,7 +169,7 @@ This can then be used with `clusterctl` by adding the following to `~/.clusterct
```
providers:
- name: akamai-linode
- name: local-linode
url: ${HOME}/cluster-api-provider-linode/infrastructure-linode/v0.0.0/infrastructure-components.yaml
type: InfrastructureProvider
```
Expand All @@ -194,7 +194,7 @@ export LINODE_MACHINE_TYPE=g6-standard-2
You can also use `clusterctl generate` to see which variables need to be set:
```
clusterctl generate cluster $CLUSTER_NAME --infrastructure akamai-linode:v0.0.0 [--flavor <flavor>] --list-variables
clusterctl generate cluster $CLUSTER_NAME --infrastructure local-linode:v0.0.0 [--flavor <flavor>] --list-variables
```
~~~
Expand All @@ -209,7 +209,7 @@ you can deploy a workload cluster with the default flavor:
```sh
clusterctl generate cluster $CLUSTER_NAME \
--kubernetes-version v1.29.1 \
--infrastructure akamai-akamai-linode:v0.0.0 \
--infrastructure local-linode:v0.0.0 \
| kubectl apply -f -
```
Expand All @@ -229,7 +229,7 @@ management cluster has the [ClusterTopology feature gate set](https://cluster-ap
```sh
clusterctl generate cluster $CLUSTER_NAME \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode:v0.0.0 \
--infrastructure local-linode:v0.0.0 \
--flavor clusterclass-kubeadm \
| kubectl apply -f -
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To enable backups, use the addon flag during provisioning to select the etcd-bac
```sh
clusterctl generate cluster $CLUSTER_NAME \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor etcd-backup-restore \
| kubectl apply -f -
```
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/etcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export ETCDBR_IMAGE=docker.io/username/your-custom-image:version
export SSE_KEY=cdQdZ3PrKgm5vmqxeqwQCuAWJ7pPVyHg
clusterctl generate cluster $CLUSTER_NAME \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor etcd-backup-restore \
| kubectl apply -f -
```
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/cluster-autoscaler.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Autoscaler](https://www.github.com/kubernetes/autoscaler/tree/master/cluster-aut
```sh
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor cluster-autoscaler > test-cluster.yaml
```

Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/clusterclass-kubeadm.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
```bash
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor clusterclass-kubeadm > test-cluster.yaml
```
2. Apply cluster manifests
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
```bash
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode > test-cluster.yaml
--infrastructure linode-linode > test-cluster.yaml
```
2. Apply cluster yaml
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/dual-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
```bash
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor dual-stack > test-cluster.yaml
```
2. Apply cluster yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/etcd-backup-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
```bash
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor etcd-backup-restore > test-cluster.yaml
```
2. Apply cluster yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/etcd-disk.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ the `quota-backend-bytes` to `8589934592` (8 GiB) per recommendation from
```bash
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor etcd-disk > test-cluster.yaml
```
2. Apply cluster yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/k3s.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
```bash
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1+k3s2 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor k3s > test-k3s-cluster.yaml
```
2. Apply cluster yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/rke2.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ will not work for RKE2 versions >= v1.29.
```bash
clusterctl generate cluster test-cluster \
--kubernetes-version v1.29.1+rke2r1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor rke2 > test-rke2-cluster.yaml
```
2. Apply cluster yaml
Expand Down
4 changes: 2 additions & 2 deletions docs/src/topics/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ By default, clusters are provisioned within VPC. For Regions which do not have [
1. Add `linode` as an infrastructure provider in `~/.cluster-api/clusterctl.yaml`
```yaml
providers:
- name: akamai-linode
- name: linode-linode
url: https://github.com/linode/cluster-api-provider-linode/releases/latest/infrastructure-components.yaml
type: InfrastructureProvider
```
## Install CAPL on your management cluster
Install CAPL and enable the helm addon provider which is used by the majority of the CAPL flavors
```bash
clusterctl init --infrastructure akamai-linode --addon helm
clusterctl init --infrastructure linode-linode --addon helm
```

## Deploying your first cluster
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/health-checking.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using the `self-healing` flavor is the quickest way to get started:
```sh
clusterctl generate cluster $CLUSTER_NAME \
--kubernetes-version v1.29.1 \
--infrastructure akamai-linode \
--infrastructure linode-linode \
--flavor self-healing \
| kubectl apply -f -
```
Expand Down

0 comments on commit 44f565f

Please sign in to comment.