28 lines
1002 B
Markdown
28 lines
1002 B
Markdown
# kindOnVM
|
|
|
|
EN: This project aims to simplify the creation of a Kubernetes cluster with one node and three workers using kind and docker.
|
|
|
|
ES: Este proyecto pretende simplificar la creacion de un cluster kubernetes con un nodo y 3 workers usando kind y docker.
|
|
## Requisites
|
|
## Install
|
|
```shell
|
|
./start_cluster.sh
|
|
```
|
|
## Project details
|
|
### LoadBalancer
|
|
```shell
|
|
git clone https://github.com/kubernetes-sigs/cloud-provider-kind.git
|
|
docker compose -f manifests/kind-cloud-provider up -d
|
|
|
|
$ kubectl label node kind-control-plane node.kubernetes.io/exclude-from-external-load-balancers-
|
|
node/kind-control-plane unlabeled
|
|
```
|
|
[Source](https://github.com/kubernetes-sigs/cloud-provider-kind)
|
|
|
|
### Ingress
|
|
Download https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml and change NodePort with LoadBalancer.
|
|
|
|
[Source](https://kind.sigs.k8s.io/docs/user/ingress/)
|
|
|
|
### Expose LoadBalancer
|
|
You can use [kind-exposer](https://github.com/aleskxyz/kind-exposer) |