k8sage a.k.a. k3s-argocd-container
Kubernetes with Argo CD using containers. Enables running infrastructure code locally for developers.
wget -O applications.yaml https://github.com/nedix/k3s-argocd-container/applications.yaml.exampledocker run \
--cgroupns host \
--mount "type=bind,source=${PWD}/applications.yaml,target=/etc/k8sage/repositories/config/applications.yaml" \
--name k8sage \
--privileged \
--rm \
-p 127.0.0.1:80:80 \
-p 127.0.0.1:443:443 \
-p 127.0.0.1:6443:6443 \
nedix/k8sageCopy Kubernetes config to your host
docker cp k8sage:/root/.kube/config "${PWD}/kubeconfig.yaml"Connect to 127.0.0.1:6443 for access to the API
- Navigate to http://127.0.0.1:80
- Optionally sign in with
admin:adminas the credentials