README.md v 3

This commit is contained in:
Smaine Kahlouch 2015-10-04 21:38:34 +02:00
parent a37273b422
commit 606267b7df

View file

@ -68,14 +68,16 @@ Kubernetes
### Network Overlay ### Network Overlay
You can choose between 2 network overlays. Only one must be chosen. You can choose between 2 network overlays. Only one must be chosen.
**flannel**: gre/vxlan (layer 2) networking
**calico**: bgp (layer 3) networking. * **flannel**: gre/vxlan (layer 2) networking. ([official docs]('https://github.com/coreos/flannel'))
* **calico**: bgp (layer 3) networking. ([official docs]('http://docs.projectcalico.org/en/0.13/'))
The choice is defined with the variable '**overlay_network_plugin**' The choice is defined with the variable '**overlay_network_plugin**'
### Expose a service ### Expose a service
There are several loadbalancing solution. There are several loadbalancing solutions.
The main ones i found suitable for kubernetes are [Vulcand]('http://vulcand.io/') and [Haproxy]('http://www.haproxy.org/') The ones i found suitable for kubernetes are [Vulcand]('http://vulcand.io/') and [Haproxy]('http://www.haproxy.org/')
My cluster is working with haproxy and kubernetes services are configured with the loadbalancing type 'nodePort'. My cluster is working with haproxy and kubernetes services are configured with the loadbalancing type 'nodePort'.
eg: each node opens the same tcp port and forwards the traffic to the target pod wherever it is located. eg: each node opens the same tcp port and forwards the traffic to the target pod wherever it is located.
@ -141,6 +143,8 @@ kubectl exec busybox -- nslookup kubernetes.default
``` ```
You should get an answer from the configured dns server You should get an answer from the configured dns server
Congrats ! now you can go through [kubernetes basics]('http://kubernetes.io/v1.0/basicstutorials.html')
Known issues Known issues
------------- -------------
### Node reboot and Calico ### Node reboot and Calico