No description
Find a file
Sebastian Mark faa20d7f6e feat(k0s): update volume configuration for openebs
- mount k0s-run-udev to /run/udev for openebs
- remove note about openebs from README.md

🤖
2024-09-04 14:08:28 +02:00
_templates REFACTOR: merge templates into one 2022-04-17 19:00:24 +02:00
bin Revert "feat: add renovate-bot cronjob" 2023-07-29 17:44:54 +02:00
manifests break: switch from k3s to k0s (in docker) 2024-09-04 14:08:23 +02:00
.gitignore FEAT: get kubeconfig after k3s installation 2022-05-01 20:04:05 +02:00
.renovaterc.json break: switch from k3s to k0s (in docker) 2024-09-04 14:08:23 +02:00
docker-compose.yml feat(k0s): update volume configuration for openebs 2024-09-04 14:08:28 +02:00
k0s-config.yaml break: switch from k3s to k0s (in docker) 2024-09-04 14:08:23 +02:00
logo.png FEAT: add logo 2021-11-30 14:49:29 +01:00
README.md feat(k0s): update volume configuration for openebs 2024-09-04 14:08:28 +02:00

k0s Kubernetes + Baseline

Run (k0s + baseline)

docker compose up

Get kubeconfig

docker compose exec -it k0s k0s kubeconfig admin

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).