Skip to content

Commit

Permalink
address review comments, add vpc note
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Apr 24, 2024
1 parent 46b199b commit 49b5a5a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller/linodemachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const (
ConditionPreflightAdditionalDisksCreated clusterv1.ConditionType = "PreflightAdditionalDisksCreated"
ConditionPreflightConfigured clusterv1.ConditionType = "PreflightConfigured"
ConditionPreflightBootTriggered clusterv1.ConditionType = "PreflightBootTriggered"
ConditionPreflightNBConfigured clusterv1.ConditionType = "PreflightNBConfigured"
ConditionPreflightNetworking clusterv1.ConditionType = "PreflightNetworking"
ConditionPreflightReady clusterv1.ConditionType = "PreflightReady"
)

Expand Down
5 changes: 4 additions & 1 deletion docs/src/developers/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ clusterctl generate cluster $CLUSTER_NAME \
| kubectl apply -f -
```
This will provision the cluster with the CNI defaulted to [cilium](../topics/addons.md#cilium)
This will provision the cluster within VPC with the CNI defaulted to [cilium](../topics/addons.md#cilium)
and the [linode-ccm](../topics/addons.md#ccm) installed.
##### Using ClusterClass (alpha)
Expand Down Expand Up @@ -245,6 +245,9 @@ To delete the cluster, simply run:
```sh
kubectl delete cluster $CLUSTER_NAME
```
```admonish warning
VPCs are not deleted when a cluster is deleted using kubectl. One can run `kubectl delete linodevpc <vpcname>` to cleanup VPC once cluster is deleted.
```
```admonish question title=""
For any issues, please refer to the [troubleshooting guide](../topics/troubleshooting.md).
Expand Down
3 changes: 3 additions & 0 deletions docs/src/topics/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export LINODE_MACHINE_TYPE=g6-standard-2
For Regions and Images that do not yet support Akamai's cloud-init datasource CAPL will automatically use a stackscript shim
to provision the node. If you are using a custom image ensure the [cloud_init](https://www.linode.com/docs/api/images/#image-create) flag is set correctly on it
```
```admonish warning
By default, clusters are provisioned within VPC. For Regions which do not have [VPC support](https://www.linode.com/docs/products/networking/vpc/#availability) yet, use the VPCLess[TODO] flavor to have clusters provisioned.
```

## Register linode as an infrastructure provider
1. Add `linode` as an infrastructure provider in `~/.cluster-api/clusterctl.yaml`
Expand Down

0 comments on commit 49b5a5a

Please sign in to comment.