You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
5.0 KiB

7 years ago
  1. ![Kubernetes Logo](https://s28.postimg.org/lf3q4ocpp/k8s.png)
  2. ## Deploy a production ready kubernetes cluster
  3. If you have questions, join us on the [kubernetes slack](https://slack.k8s.io), channel **#kargo**.
  4. - Can be deployed on **AWS, GCE, Azure, OpenStack or Baremetal**
  5. - **High available** cluster
  6. - **Composable** (Choice of the network plugin for instance)
  7. - Support most popular **Linux distributions**
  8. - **Continuous integration tests**
  9. To deploy the cluster you can use :
  10. [**kargo-cli**](https://github.com/kubespray/kargo-cli) <br>
  11. **Ansible** usual commands and [**inventory builder**](https://github.com/kubernetes-incubator/kargo/blob/master/contrib/inventory_builder/inventory.py) <br>
  12. **vagrant** by simply running `vagrant up` (for tests purposes) <br>
  13. * [Requirements](#requirements)
  14. * [Kargo vs ...](docs/comparisons.md)
  15. * [Getting started](docs/getting-started.md)
  16. * [Ansible inventory and tags](docs/ansible.md)
  17. * [Deployment data variables](docs/vars.md)
  18. * [DNS stack](docs/dns-stack.md)
  19. * [HA mode](docs/ha-mode.md)
  20. * [Network plugins](#network-plugins)
  21. * [Vagrant install](docs/vagrant.md)
  22. * [CoreOS bootstrap](docs/coreos.md)
  23. * [Downloaded artifacts](docs/downloads.md)
  24. * [Cloud providers](docs/cloud.md)
  25. * [OpenStack](docs/openstack.md)
  26. * [AWS](docs/aws.md)
  27. * [Azure](docs/azure.md)
  28. * [Large deployments](docs/large-deployments.md)
  29. * [Upgrades basics](docs/upgrades.md)
  30. * [Roadmap](docs/roadmap.md)
  31. Supported Linux distributions
  32. ===============
  33. * **Container Linux by CoreOS**
  34. * **Debian** Jessie
  35. * **Ubuntu** 16.04
  36. * **CentOS/RHEL** 7
  37. Note: Upstart/SysV init based OS types are not supported.
  38. Versions of supported components
  39. --------------------------------
  40. [kubernetes](https://github.com/kubernetes/kubernetes/releases) v1.5.1 <br>
  41. [etcd](https://github.com/coreos/etcd/releases) v3.0.6 <br>
  42. [flanneld](https://github.com/coreos/flannel/releases) v0.6.2 <br>
  43. [calicoctl](https://github.com/projectcalico/calico-docker/releases) v0.23.0 <br>
  44. [canal](https://github.com/projectcalico/canal) (given calico/flannel versions) <br>
  45. [weave](http://weave.works/) v1.8.2 <br>
  46. [docker](https://www.docker.com/) v1.12.5 <br>
  47. [rkt](https://coreos.com/rkt/docs/latest/) v1.21.0 <br>
  48. Note: rkt support as docker alternative is limited to control plane (etcd and
  49. kubelet). Docker is still used for Kubernetes cluster workloads and network
  50. plugins' related OS services. Also note, only one of the supported network
  51. plugins can be deployed for a given single cluster.
  52. Requirements
  53. --------------
  54. * **Ansible v2.2 (or newer) and python-netaddr is installed on the machine
  55. that will run Ansible commands**
  56. * **Jinja 2.8 (or newer) is required to run the Ansible Playbooks**
  57. * The target servers must have **access to the Internet** in order to pull docker images.
  58. * The target servers are configured to allow **IPv4 forwarding**.
  59. * **Your ssh key must be copied** to all the servers part of your inventory.
  60. * The **firewalls are not managed**, you'll need to implement your own rules the way you used to.
  61. in order to avoid any issue during deployment you should disable your firewall.
  62. ## Network plugins
  63. You can choose between 4 network plugins. (default: `calico`)
  64. * [**flannel**](docs/flannel.md): gre/vxlan (layer 2) networking.
  65. * [**calico**](docs/calico.md): bgp (layer 3) networking.
  66. * [**canal**](https://github.com/projectcalico/canal): a composition of calico and flannel plugins.
  67. * **weave**: Weave is a lightweight container overlay network that doesn't require an external K/V database cluster. <br>
  68. (Please refer to `weave` [troubleshooting documentation](http://docs.weave.works/weave/latest_release/troubleshooting.html)).
  69. The choice is defined with the variable `kube_network_plugin`. There is also an
  70. option to leverage built-in cloud provider networking instead.
  71. See also [Network checker](docs/netcheck.md).
  72. ## Community docs and resources
  73. - [kubernetes.io/docs/getting-started-guides/kargo/](https://kubernetes.io/docs/getting-started-guides/kargo/)
  74. - [kargo, monitoring and logging](https://github.com/gregbkr/kubernetes-kargo-logging-monitoring) by @gregbkr
  75. - [Deploy Kubernetes w/ Ansible & Terraform](https://rsmitty.github.io/Terraform-Ansible-Kubernetes/) by @rsmitty
  76. - [Deploy a Kubernets Cluster with Kargo (video)](https://www.youtube.com/watch?v=N9q51JgbWu8)
  77. ## Tools and projects on top of Kargo
  78. - [Digital Rebar](https://github.com/digitalrebar/digitalrebar)
  79. - [Kargo-cli](https://github.com/kubespray/kargo-cli)
  80. - [Fuel-ccp-installer](https://github.com/openstack/fuel-ccp-installer)
  81. - [Terraform Contrib](https://github.com/kubernetes-incubator/kargo/tree/master/contrib/terraform)
  82. ## CI Tests
  83. ![Gitlab Logo](https://s27.postimg.org/wmtaig1wz/gitlabci.png)
  84. [![Build graphs](https://gitlab.com/kargo-ci/kubernetes-incubator__kargo/badges/master/build.svg)](https://gitlab.com/kargo-ci/kubernetes-incubator__kargo/pipelines) </br>
  85. CI/end-to-end tests sponsored by Google (GCE), DigitalOcean, [teuto.net](https://teuto.net/) (openstack).
  86. See the [test matrix](docs/test_cases.md) for details.