maj readme
This commit is contained in:
parent
34154426a1
commit
b96355e939
10
README.md
10
README.md
@ -46,6 +46,7 @@ kubectl apply -f kubernetes/devops.yml
|
||||
|
||||
- commandes utiles:
|
||||
```bash
|
||||
kubectl get nodes -o wide
|
||||
kubectl get svc
|
||||
kubectl get all
|
||||
```
|
||||
@ -57,10 +58,15 @@ kubectl get all
|
||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.7/config/manifests/metallb-native.yaml
|
||||
```
|
||||
|
||||
- Appliquer les derniers déploiments:
|
||||
- Appliquer les configs pour metallb:
|
||||
```bash
|
||||
kubectl apply -f kubernetes/ipaddresspool.yml
|
||||
kubectl apply -f kubernetes/l2advertisement.yml
|
||||
```
|
||||
|
||||
>> http://localhost/devops
|
||||
- Modifier son fichier /etc/hosts:
|
||||
```bash
|
||||
echo '10.0.0.50 k8s.exemple' | sudo tee -a /etc/hosts
|
||||
```
|
||||
|
||||
>> http://k8s-exemple
|
||||
|
||||
11
sudo
Normal file
11
sudo
Normal file
@ -0,0 +1,11 @@
|
||||
127.0.0.1 localhost k8s.exemple
|
||||
127.0.1.1 lenovo
|
||||
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
|
||||
10.0.0.50 k8s.exemple
|
||||
10.0.0.50 k8s.exemple /etc/hosts
|
||||
10.0.0.50 k8s.exemple /etc/hosts
|
||||
Loading…
x
Reference in New Issue
Block a user