2022-10-12 09:25:48 +02:00
|
|
|
# ArgoCD lab
|
|
|
|
|
|
|
|
This lab sets up the following components:
|
2022-10-16 17:39:43 +02:00
|
|
|
- A [kind](https://kind.sigs.k8s.io) cluster
|
|
|
|
- [ingress-nginx](https://github.com/kubernetes/ingress-nginx)
|
|
|
|
- [ArgoCD](https://argo-cd.readthedocs.io)
|
|
|
|
- ArgoCD application to deploy [kyverno](https://kyverno.io)
|
|
|
|
- ArgoCD application to deploy [kyverno-policies](https://artifacthub.io/packages/helm/kyverno/kyverno-policies)
|
|
|
|
- ArgoCD application to deploy [policy-reporter](https://kyverno.github.io/policy-reporter)
|
2022-10-16 19:34:58 +02:00
|
|
|
- ArgoCD application to deploy [metrics-server](https://github.com/kubernetes-sigs/metrics-server)
|
|
|
|
- ArgoCD application to deploy [kube-prometheus-stack](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)
|
2022-11-07 09:24:59 +01:00
|
|
|
- ArgoCD application to deploy [loki-stack](https://github.com/grafana/helm-charts/tree/main/charts/loki-stack)
|
2022-10-16 17:39:43 +02:00
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
Run the command below to install the lab:
|
|
|
|
|
|
|
|
```console
|
|
|
|
./kind-argo.sh
|
|
|
|
```
|
2022-10-12 09:25:48 +02:00
|
|
|
|
|
|
|
## Accessing ArgoCD
|
|
|
|
|
|
|
|
ArgoCD should be available at http://localhost/argocd.
|
|
|
|
|
|
|
|
Login credentials:
|
|
|
|
- User name: `admin`
|
|
|
|
- Password: `kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d`
|
2022-10-16 17:39:43 +02:00
|
|
|
|
|
|
|
## Accessing policy-reporter
|
|
|
|
|
|
|
|
policy-reporter should be available at http://localhost/policy-reporter.
|
2022-10-16 19:34:58 +02:00
|
|
|
|
|
|
|
## Accessing prometheus
|
|
|
|
|
|
|
|
prometheus should be available at http://localhost/prometheus.
|
|
|
|
|
|
|
|
## Accessing alertmanager
|
|
|
|
|
|
|
|
alertmanager should be available at http://localhost/alertmanager.
|
|
|
|
|
|
|
|
## Accessing grafana
|
|
|
|
|
|
|
|
grafana should be available at http://localhost/grafana.
|
|
|
|
|
|
|
|
Login credentials:
|
|
|
|
- User name: `admin`
|
|
|
|
- Password: `admin`
|