Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dougsland/k8s-local-dev-1
k8s-local-dev creates Kubernetes local cluster for testing or development.
https://github.com/dougsland/k8s-local-dev-1
Last synced: 10 days ago
JSON representation
k8s-local-dev creates Kubernetes local cluster for testing or development.
- Host: GitHub
- URL: https://github.com/dougsland/k8s-local-dev-1
- Owner: dougsland
- License: apache-2.0
- Created: 2021-03-27T02:28:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-30T01:44:51.000Z (almost 4 years ago)
- Last Synced: 2024-12-19T13:29:33.597Z (22 days ago)
- Language: Shell
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# k8s-local-dev
**k8s-local-dev** creates Kubernetes local cluster for testing or development. It is based on [kind](https://kind.sigs.k8s.io/) and Container Network Interface (**CNI**) implementations.
```
$ ./k8s-local-dev
Usage: ./k8s-local-dev CNI_NAMEExample:
./k8s-local-dev cni-foobarSupported CNI:
antrea
calico
cilium
flannel
ovn-kubernetes
weavenetFor more info use:
./k8s-local-dev --help
```
All **CNI** and **script configurations** are in a [single file](https://github.com/K8sbykeshed/k8s-local-dev/blob/main/lib/config.sh)
However, users can overwrite the default value in the file manually or using dynamic approach, example:
```
$ ANTREA_VERSION=v0.12.0 ./k8s-local-dev
```
The command above will **overwrite the default version** from [config.sh](https://github.com/K8sbykeshed/k8s-local-dev/blob/main/lib/config.sh) and set the local cluster with ANTREA 0.12.0
Current variables used for deployment that users can overwrite:
| ENV Variable | Description |
|-------------------------|---------------------------------------------|
| FLANNEL_VERSION | Flannel version |
| ANTREA_VERSION | Antrea version |
| CILIUM_VERSION | Cilium version |
| CALICO_CLIENT_VERSION | Calico client version |
| CONTAINER_CMD_INTERFACE | [WIP] docker or podman (ATM not suppported) |
| KUBECTL_VERSION | kubectl version |
| KUBECTL_PLATFORM | kubectl platform |
| KIND_VERSION | kind version |
**See also**:
- [Cyclonus - Tools for understanding, measuring, and applying network policies effectively in kubernetes](https://github.com/mattfenwick/cyclonus)
- [k8sprototypes from Jay - kind](https://github.com/jayunit100/k8sprototypes/tree/master/kind)