maj readme
This commit is contained in:
parent
7557f29831
commit
f8a9027fb3
16
README.md
16
README.md
@ -1,6 +1,14 @@
|
||||
# Kind cluster
|
||||
|
||||
## Install Kind
|
||||
Kind permet de créer des cluster k8s facilement via des conteneurs docker
|
||||
|
||||
## Pré requis
|
||||
|
||||
- [Docker](https://docs.docker.com/engine/install/debian/)
|
||||
- [Kubectl](https://kubernetes.io/fr/docs/tasks/tools/install-kubectl/)
|
||||
- [Kind](https://kind.sigs.k8s.io/docs/user/quick-start/)
|
||||
|
||||
### Install Kind
|
||||
|
||||
```bash
|
||||
# For AMD64 / x86_64
|
||||
@ -11,7 +19,7 @@ chmod +x ./kind
|
||||
sudo mv ./kind /usr/local/bin/kind
|
||||
```
|
||||
|
||||
## Créer cluster
|
||||
## Créer cluster :hammer:
|
||||
|
||||
```bash
|
||||
cat <<EOF | kind create cluster --config=-
|
||||
@ -41,13 +49,13 @@ EOF
|
||||
> Note: 1 manager and 2 workers config
|
||||
>> https://kind.sigs.k8s.io/docs/user/configuration/
|
||||
|
||||
## Déployer app
|
||||
## Déployer app :rocket:
|
||||
|
||||
```bash
|
||||
kubectl apply -f pod-deployment.yml
|
||||
```
|
||||
|
||||
## Déployer ingress Nginx
|
||||
## Déployer ingress Nginx :crossed_flags:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user