Personal playground with k8s
- docker
- kubectl
- k3d
- argo (client)
- k3d: Little helper to run Rancher Lab's k3s in Docker
- Argo Workflows: examples
- localstack: A fully functional local AWS cloud stack
- Github Actions
- argo-minikube-github-action
cd argo/
make create_cluster
make switch_context
make create_namespace
make setup_argo_controller
make setup_localstack
make submit WF_FILENAME=hello-world.yaml
make submit WF_FILENAME=https://raw.githubusercontent.com/argoproj/argo/a24bc944822c9f5eed92c0b5b07284d7992908fa/examples/dag-coinflip.yaml
cd ingress/
make create_cluster
make download_images
make import_images
make apply
# To run localstack's web UI, use the image with all dependencies: `localstack-full`.
make test
make upload_to_s3
Useful for local development without restarting the whole cluster.
cd k3d-volume/
make create_cluster
make apply
make logs
# change src code in src/hello-loop/py
make restart_container_v2
make logs
# You will see the code is properly updated in the logs
The examples seek to be:
As simple as possible to illustrate the functionality Self-contained (ie limited to one .yaml file) Non-conflicting (eg resource names are unique) Clear (eg resource names are verbose and unambiguous)