Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/k3d-io/k3d-demo

Demo of k3d: Tool to run k3s (Kubernetes) in Docker
https://github.com/k3d-io/k3d-demo

demo k3d k3s kubernetes rancher

Last synced: about 5 hours ago
JSON representation

Demo of k3d: Tool to run k3s (Kubernetes) in Docker

Awesome Lists containing this project

README

        

# k3d-demo

## Requirements

- [`docker`](https://docs.docker.com/get-docker/)
- [`k3d >= v5.5.0`](https://k3d.io/stable/#installation)
- [`kubens`](https://github.com/ahmetb/kubectx) callable via the `kubens` binary
- [`chromium`](https://www.chromium.org/Home) callable via the `chromium` binary
- [`Helm 3`](https://helm.sh/docs/intro/install/)
- (optional) [`tilt`](https://docs.tilt.dev/install.html)
- (optional) [`drone`](https://docs.drone.io/cli/install/)

## Resources

-
-
- v4 Release Candidate:
- install e.g. via `wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | TAG=v5.0.0 bash`

## Run

- Preparation (attention: clears all docker settings!): `make prep`

### Full Lifecycle

- Demo: Full k3d lifecycle and usage with a Python App using hot-reloading of code: `make demo`

### Multi-Server Cluster

- Demo: Multi-Server Setup: `make demo-multiserver`

### Config File Support

- Demo: Creating a cluster from a config file: `make demo-configfile`

### App-Reloading with Tilt and a k3d-managed registry

- Demo: Using k3d with a managed registry and [Tilt](https://tilt.dev) for app-reloading: `make demo-tilt`

### Running k3d in CI

- Demo: Using k3d as a service in a Drone CI pipeline: `make demo-drone`