Installation of Argo CD – Microsoft Community Hub by info.odysseyx@gmail.com October 17, 2024 written by info.odysseyx@gmail.com October 17, 2024 0 comment 11 views 11 Argo CD installation Argo CD is a declarative GitOps continuous delivery tool for Kubernetes. You can use a Kubernetes manifest to define the desired state of your application and automatically synchronize it with your cluster. Argo CD also provides a web UI and CLI to monitor and manage your deployment. To install Argo CD on Azure, you need the following prerequisites: – Azure subscription and active Azure account – Azure Kubernetes Service (AKS) cluster with two or more nodes and RBAC enabled. – Azure CLI and kubectl command line tools installed on your local machine. – Helm package manager installed on your local computer. The installation steps are as follows: Create an AKS cluster with the following settings: Log in to the subscription in which your AKS cluster was created using the command below. Az Account Sets – Subscriptions Install ArgoCD within the cluster A Kubernetes namespace provides scope for pods, services, and deployments within a cluster. This prevents users working within one namespace from seeing content in other namespaces. In a Kubernetes cluster, namespaces help partition resources and isolate workloads to act as virtual clusters within a physical cluster. This allows multiple teams or projects to operate independently. Install the Argo CD within the cluster. Create a namespace for Argo CD. kubectl creates the namespace argocd. Install Argo CD into the created namespace. kubectl apply -n argocd -f [URL] URL à https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml Argo CD resource has been created. To check Pod status, use the following command: kubectl get pod -n argocd Argo CD monitors Git repositories for changes. Argo CD automatically updates GitOps tools when changes are detected. These changes are reflected in your Kubernetes cluster. To log in to the Argo CD platform, follow these steps: Search for secrets. kubectl get secret -n argocd A secret is an object that stores sensitive information, such as the credentials that a Pod uses to access a service. kubectl edit secret argocd-initial-admin-secret -n argocd Find your password in the argocd-initial-admin-secret file. Decrypt your password echo | base64 -d Base64 is an encoding and decoding technology used to convert binary data to ASCII text format and vice versa. Use your administrator password to access the Argo CD UI. Search for service information. kubectl gets svc -n argocd A service is an abstraction that represents a logical set of pods and policies for accessing them. Each pod has a unique IP address that is not exposed outside the cluster without services. Edit the Argo CD Server service: kubectl edit svc argocd-server -n argocd Cluster IP: Used for communication between pods within the same Kubernetes cluster. NodePort and LoadBalancer services: Used for communication between applications within the cluster and external clients outside the cluster. Save your changes and run the service command again. kubectl gets svc -n argocd NodePort has changed. Get the NodePort IP address. kubectl get node -o wide NodePort Retrieves external IP address. IP address: 171.177.146.175 port number: 31419 If you don’t have access to 171.177.146.175:31419, allow the port in your Azure security group. Go to VMSS → Instance → Networking → Add Inbound Rule → Add Port. Please refer to the site https://argo-cd.readthedocs.io/en/stable/getting_started/ For more information Source link Share 0 FacebookTwitterPinterestEmail info.odysseyx@gmail.com previous post Coming in November: AI-3022: Implement AI Skills in Azure AI Search next post Find Executive Assistant Opportunities at Ugraya Agro Farms in Valsad, Vapi, and Ratnagiri Now You may also like Bots now dominate the web and this is a copy of a problem February 5, 2025 Bots now dominate the web and this is a copy of a problem February 5, 2025 Bots now dominate the web, and this is a problem February 4, 2025 DIPSEC and HI-STECS GLOBAL AI Race February 4, 2025 DEPSEC SUCCESS TICTOKE CAN RUNNING TO PUPPENSE TO RESTITE January 29, 2025 China’s AI Application DEPSEC Technology Spreads on the market January 28, 2025 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.