Connect a Kubernetes Cluster
Create a Kubernetes Cluster Using kind
(Optional)
-
Create a cluster using
kind
.kind create cluster --name akuity-connected-cluster
You should see the following output:
Creating cluster "akuity-connected-cluster" ...
â Ensuring node image (kindest/node:v1.25.2) đŧ
â Preparing nodes đĻ đĻ đĻ đĻ
â Writing configuration đ
â Starting control-plane đšī¸
â Installing CNI đ
â Installing StorageClass đž
â Joining worker nodes đ
Set kubectl context to "kind-akuity-connected-cluster"
You can now use your cluster with:
kubectl cluster-info --context kind-akuity-connected-cluster
Thanks for using kind! đ -
Check that the cluster works by running
kubectl get nodes
.% kubectl get nodes
NAME STATUS ROLES AGE VERSION
akuity-connected-cluster-control-plane Ready control-plane 74s v1.25.2Fetching the nodes will demonstrate that
kubectl
can connect to the cluster and query the API server. The node should be in the "Ready" status.
After your new Argo CD instance is created successfully (
-
Navigate to
Argo CD âyour instance âClusters . -
Click
+ Connect a cluster to add a Kubernetes cluster. -
Input your
Cluster Name . -
Click
Connect Cluster . -
In the
Install Akuity Agent pop-up screen, clickCopy to Clipboard cautionBefore pasting the next command, make sure you're connected to the correct cluster.
-
Paste the copied command into your terminal and run it to apply the agent manifest.
Alternatively, you can download the agent manifest and apply it manually inside your cluster.
After installing the agent into your Kubernetes cluster, you should see the cluster listed in the Akuity dashboard with a green heart icon next to the cluster name.
Now that your Argo CD instance is connected to a Kubernetes cluster, move on to the next section to learn about enabling remote access to your instance.