Initial commit
This commit is contained in:
30
README.md
Normal file
30
README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# CMP-LAB
|
||||
## Setup
|
||||
```bash
|
||||
sh ./install_helm.sh
|
||||
sh ./install_repos.sh
|
||||
```
|
||||
|
||||
### Longhorn (storage)
|
||||
```bash
|
||||
helm install longhorn longhorn/longhorn --namespace longhorn-system --create-namespace
|
||||
kubectl patch storageclass standard -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'
|
||||
```
|
||||
|
||||
### MetalLB (loadbalancer)
|
||||
```bash
|
||||
kubectl apply -f ./deployments/metallb-prep.yml
|
||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/namespace.yaml
|
||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.12.1/manifests/metallb.yaml
|
||||
```
|
||||
|
||||
### Traefik (ingress)
|
||||
```bash
|
||||
kubectl apply -f ./deployments/traefik-prep.yml
|
||||
helm install traefik traefik/traefik --namespace=traefik --values=./values-files/traefik-values.yaml --create-namespace
|
||||
```
|
||||
|
||||
### Nginx
|
||||
```bash
|
||||
kubectl apply -f ./deployments/nginx.yml
|
||||
```
|
||||
Reference in New Issue
Block a user