Sign inSign up

nedix/k8sage

By nedix

Updated about 7 hours ago

Kubernetes with Argo CD inside a container.

Image
1

10K+

nedix/k8sage repository overview

k8sage a.k.a. k3s-argocd-container

Kubernetes with Argo CD using containers. Enables running infrastructure code locally for developers.

Usage

1. Configure the applications.yaml file
wget -O applications.yaml https://github.com/nedix/k3s-argocd-container/applications.yaml.example
2. Start the container
docker 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/k8sage
3. Access the Kubernetes API

Copy 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

4. Access the Argo CD GUI

Tag summary

Content type

Image

Digest

sha256:db7959802

Size

146 MB

Last updated

about 7 hours ago

docker pull nedix/k8sage