mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-16 02:30:03 -03:30
Add markdown CI (#5380)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b1fbead531
commit
a9b67d586b
@@ -1,9 +1,8 @@
|
||||
Flannel
|
||||
==============
|
||||
# Flannel
|
||||
|
||||
* Flannel configuration file should have been created there
|
||||
|
||||
```
|
||||
```ShellSession
|
||||
cat /run/flannel/subnet.env
|
||||
FLANNEL_NETWORK=10.233.0.0/18
|
||||
FLANNEL_SUBNET=10.233.16.1/24
|
||||
@@ -13,7 +12,7 @@ FLANNEL_IPMASQ=false
|
||||
|
||||
* Check if the network interface has been created
|
||||
|
||||
```
|
||||
```ShellSession
|
||||
ip a show dev flannel.1
|
||||
4: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN group default
|
||||
link/ether e2:f3:a7:0f:bf:cb brd ff:ff:ff:ff:ff:ff
|
||||
@@ -25,7 +24,7 @@ ip a show dev flannel.1
|
||||
|
||||
* Try to run a container and check its ip address
|
||||
|
||||
```
|
||||
```ShellSession
|
||||
kubectl run test --image=busybox --command -- tail -f /dev/null
|
||||
replicationcontroller "test" created
|
||||
|
||||
@@ -33,7 +32,7 @@ kubectl describe po test-34ozs | grep ^IP
|
||||
IP: 10.233.16.2
|
||||
```
|
||||
|
||||
```
|
||||
```ShellSession
|
||||
kubectl exec test-34ozs -- ip a show dev eth0
|
||||
8: eth0@if9: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1450 qdisc noqueue
|
||||
link/ether 02:42:0a:e9:2b:03 brd ff:ff:ff:ff:ff:ff
|
||||
|
||||
Reference in New Issue
Block a user