Installing Argo CD
First lets install Argo CD in our cluster:
NAME: argocd
LAST DEPLOYED: [...]
NAMESPACE: argocd
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
[...]
For the purpose of this lab the Argo CD server UI has been exposed outside of the cluster using Kubernetes Service of Load Balancer
type. To get the URL from Argo CD service run the following command:
ArgoCD URL: https://acfac042a61e5467aace45fc66aee1bf-818695545.us-west-2.elb.amazonaws.com
The load balancer will take some time to provision so use this command to wait until ArgoCD responds:
curl: (6) Could not resolve host: acfac042a61e5467aace45fc66aee1bf-818695545.us-west-2.elb.amazonaws.com
Warning: Problem : timeout. Will retry in 15 seconds. 20 retries left.
[...]
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 788
Content-Security-Policy: frame-ancestors 'self';
Content-Type: text/html; charset=utf-8
X-Frame-Options: sameorigin
X-Xss-Protection: 1
The initial username is admin
and the password is auto-generated. You can get it by running the following command:
Log in to the Argo CD UI using the URL and credentials you just obtained. You will be presented with a screen that looks like this:
Argo CD also provides a powerful CLI tool called argocd
that can be used to manage applications.
For the purpose of this lab, argocd
CLI has been installed for you. You can learn more about installing the CLI tool by following the instructions.
In order to interact with Argo CD objects using CLI, we need to login to the Argo CD server by running the following commands:
'admin:login' logged in successfully
Context 'acfac042a61e5467aace45fc66aee1bf-818695545.us-west-2.elb.amazonaws.com' updated