-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72781db
commit cc06838
Showing
4 changed files
with
54 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
# Addons | ||
# Overview | ||
|
||
This section provides examples for addons for self-managed clusters. | ||
|
||
# CNI | ||
|
||
By default, the CNI plugin is not installed for self-managed clusters. | ||
|
||
[Cluster API Addon Provider Helm (CAAPH)](https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm) | ||
can be used to install a CNI via a Helm Chart, which is installed by default in | ||
the KIND cluster created by `make tilt-cluster` | ||
|
||
## Cilium | ||
|
||
To install [Cilium](https://cilium.io/) on a self-managed cluster, | ||
simply apply the `cni: cilium` label on the `Cluster` resource. | ||
``` | ||
kubectl label cluster $CLUSTER_NAME cni=cilium` | ||
``` | ||
|
||
Cilium will be automatically installed via CAAPH into the labeled self-managed cluster. | ||
|
||
# CCM | ||
|
||
In order for the `InternalIP` and `ExternalIP` of the provisioned Nodes to be set correctly, | ||
the [linode-cloud-controller-manager (linode-ccm)](https://github.com/linode/linode-cloud-controller-manager) | ||
must be installed into provisioned clusters. | ||
|
||
At this time, CAAPH cannot install the linode-ccm so it must be manually generated and installed into | ||
a self-managed cluster. | ||
Please refer to the section on [generating a manifest for deployment](https://github.com/linode/linode-cloud-controller-manager?tab=readme-ov-file#generating-a-manifest-for-deployment). | ||
|
||
Once you have generated the `ccm-linode.yaml`, get the kubeconfig for the self-managed cluster | ||
via `clusterctl` and apply it: | ||
|
||
```bash | ||
clusterctl get kubeconfig $CLUSTER_NAME > $CLUSTER_NAME-kubeconfig.yaml | ||
kubectl apply -f ccm-linode.yaml --kubeconfig $CLUSTER_NAME-kubeconfig.yaml | ||
``` |
This file was deleted.
Oops, something went wrong.