-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
La doc part 09 à 11 et changements config workers
- Loading branch information
1 parent
ecd5f09
commit 304f8fa
Showing
10 changed files
with
466 additions
and
22 deletions.
There are no files selected for viewing
36 changes: 23 additions & 13 deletions
36
09-bootstrapping-kubernetes-workers/cni/net.d/10-bridge.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
{ | ||
"cniVersion": "0.4.0", | ||
"name": "bridge", | ||
"type": "bridge", | ||
"bridge": "cnio0", | ||
"isGateway": true, | ||
"ipMasq": true, | ||
"ipam": { | ||
"type": "host-local", | ||
"ranges": [ | ||
[{"subnet": "10.1.0.0/16"}] | ||
], | ||
"routes": [{"dst": "0.0.0.0/0"}] | ||
} | ||
"cniVersion": "1.0.0", | ||
"name": "bridge", | ||
"plugins": [ | ||
{ | ||
"type": "bridge", | ||
"bridge": "cnio0", | ||
"isGateway": true, | ||
"ipMasq": true, | ||
"ipam": { | ||
"type": "host-local", | ||
"ranges": [ | ||
[{"subnet": "10.200.0.0/24"}] | ||
], | ||
"routes": [{"dst": "0.0.0.0/0"}] | ||
} | ||
}, | ||
{ | ||
"type": "loopback" | ||
} | ||
] | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
network: | ||
ethernets: | ||
ens33: | ||
dhcp4: no | ||
addresses: [192.168.10.29/24] | ||
gateway4: 192.168.10.2 | ||
nameservers: | ||
addresses: [1.1.1.1, 8.8.8.8] | ||
routes: | ||
- to: 10.200.1.0/24 | ||
via: 192.168.10.27 | ||
version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
network: | ||
ethernets: | ||
ens33: | ||
dhcp4: no | ||
addresses: [192.168.10.27/24] | ||
gateway4: 192.168.10.2 | ||
nameservers: | ||
addresses: [1.1.1.1, 8.8.8.8] | ||
routes: | ||
- to: 10.200.0.0/24 | ||
via: 192.168.10.29 | ||
version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ip route add 10.200.1.0/24 via 192.168.10.27 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ip route add 10.200.0.0/24 via 192.168.10.29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# kube-the-hard-way | ||
Everything in the title SIUUUUUUUUUUUUUU | ||
|
||
# Documentation | ||
[documentation.md](documentation.md) |
Oops, something went wrong.