Skip to content
Snippets Groups Projects
Commit 606267b7 authored by Smaine Kahlouch's avatar Smaine Kahlouch
Browse files

README.md v 3

parent a37273b4
No related branches found
No related tags found
No related merge requests found
...@@ -68,14 +68,16 @@ Kubernetes ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment