Sebastian Mark
9b8adc3958
update project an application definition based an this (mostly useless) changelog entry: > make the chart use maps instead of lists Usefull hints on the new structure can be found in then git diff: https://github.com/argoproj/argo-helm/compare/argo-events-2.4.4...argocd-apps-2.0.0 or in the new valuesContent: https://artifacthub.io/packages/helm/argo/argocd-apps?modal=values |
||
---|---|---|
_templates | ||
bin | ||
manifests | ||
.gitignore | ||
.renovaterc.json | ||
argocd-init.yml | ||
logo.png | ||
pb_install.yml | ||
README.md |
Kubernetes Baseline
- ArgoCD
- NGINX Ingress Controller
- cert-manager
- selfsigned issuer
- LetsEncrypt issuers (Prod and Staging)
- zabbix-proxy
- loki
- keel
- reloader
Installation (k3s + baseline)
ansible-playbook -i <host|ip>, pb_install.yml
Installation (baseline only)
make sure kubectl is configure to reach the destination cluster, then:
kubectl apply -f argocd-init.yml
Notes
ArgoCD
To retrieve the initial admin password use
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
To change the password follow Argocd account update password.
Linode
PROXY protocol needs to be enabled for ingress-nginx to see the clients IP in ingress log.
Add the PROXY protocol annotation to the ingress-nginx service:
annotations:
service.beta.kubernetes.io/linode-loadbalancer-proxy-protocol: v2
Update the ingress-nginx ConfigMap to make nginx expect PROXY protocol data:
data:
use-proxy-protocol: "true"
cert-manager
However, when you have the PROXY protocol enabled, the external load balancer does modify the traffic, prepending the PROXY line before each TCP connection. If you connect directly to the web server internally, bypassing the external load balancer, then it will receive traffic without the PROXY line.
This is particularly a problem when using cert-manager for provisioning SSL certificates.
After enabling the PROXY protocol cert-manager is unable to perform a self check ("propagation check failed", "failed to perform self check GET request").
hairpin-proxy adds PROXY protocol support for internal-to-LoadBalancer traffic for Kubernetes Ingress users, specifically for cert-manager self-checks (no further configuration needed).