Hey @Rasitha Mudugama Hewage ,
It sounds like you're looking to set up Kubernetes on your existing Azure Local cluster and connect it with the Arc Resource Bridge. Here’s a step-by-step guideline to help you get started:
Step-by-Step Guide to Configure Kubernetes on Azure Local with Arc Resource Bridge
- Prerequisites:
- Ensure you have an Azure account with an active subscription.
- Your Azure Local cluster should be set up and running.
- Make sure you have the latest Azure CLI version installed on your machine.
- Install the AKS Arc Support Module:
- Before you start, it's a good idea to install and run the AKS Arc support module to diagnose any potential issues that might arise during your configuration.
- Create the API Server and Connect to Your AKS Cluster:
- You can use the Azure CLI to connect to your AKS cluster. Run the following:
az connectedk8s proxy --name <YourAKSClusterName> --resource-group <YourResourceGroup> --file .\aks-arc-kube-config - This command will create a proxy connection to your Kubernetes cluster. Keep this terminal open while you verify your connection in another terminal.
- You can use the Azure CLI to connect to your AKS cluster. Run the following:
- Verify the Connection to Your Cluster:
- In a new terminal, execute the following command to check your cluster nodes:
kubectl get node -A --kubeconfig .\aks-arc-kube-config - Ensure that the nodes appear and their statuses are listed as Ready.
- In a new terminal, execute the following command to check your cluster nodes:
- Deploying Applications:
- Once connected, you can start deploying applications on your AKS cluster. You may want to create Kubernetes deployment YAML files or use Helm for managing your applications.
- Set Up Ingress:
- For managing external access to your services, consider setting up an ingress controller. Refer to Ingress for AKS for setup instructions.
- Monitor and Troubleshoot:
- If you encounter issues, consult the troubleshooting guide for common issues with AKS on Azure Local.
Useful Links for References:
- AKS on Azure Local
- AKS Arc Support Module Installation
- Deploy and Manage Kubernetes Clusters
- Ingress Controller Overview for AKS
- Azure Kubernetes Service (AKS) on Azure Stack Hub
Feel free to ask if you have any questions or if there's anything else you need help with!