ArgoCD installation and authentication¶
ArgoCD is a declarative, GitOps continuous delivery tool for Kubernetes.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md]
Installation¶
ArgoCD is typically installed into a dedicated namespace within a Kubernetes cluster.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md] The standard installation process involves creating a namespace and then applying the official installation manifests.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md]
The installation creates several core components, including the API Server, the Repository Server, and the Application Controller.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md] These resources work together to synchronize and monitor the state of applications defined in Git.
Initial Access¶
By default, the ArgoCD API server is not exposed with an external IP or ingress; it is running on a ClusterIP service.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md] To interact with the UI or API, users must typically use port-forwarding to access the service locally via localhost.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md]
The initial password for the admin user is stored as a secret within the cluster named argocd-initial-admin-secret.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md] To log in for the first time, this password must be retrieved, for example, by decoding the secret using kubectl.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md] It is highly recommended to delete this secret after the initial password is updated.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md]
Authentication¶
Authentication can be performed using the [[ArgoCD CLI]].^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md] The standard command requires the address of the ArgoCD server and the username.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md] Users are prompted for their password securely via the command line interface rather than passing it as a plain text argument.^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md]
Sources¶
^[400-devops-06-kubernetes-k8s-ithelp-day20-readme.md]