Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
e356b2de
Commit
e356b2de
authored
Jan 4, 2016
by
Smaine Kahlouch
Browse files
Options
Downloads
Patches
Plain Diff
Updated README
parent
2a08f7bc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+5
-14
5 additions, 14 deletions
README.md
with
5 additions
and
14 deletions
README.md
+
5
−
14
View file @
e356b2de
...
@@ -4,7 +4,8 @@ kubernetes-ansible
...
@@ -4,7 +4,8 @@ kubernetes-ansible
Install and configure a kubernetes cluster including network plugin.
Install and configure a kubernetes cluster including network plugin.
### Requirements
### Requirements
Tested on
**Debian Jessie**
and
**Ubuntu**
(14.10, 15.04, 15.10).
Tested on
**Debian Wheezy/Jessie**
and
**Ubuntu**
(14.10, 15.04, 15.10).
Should work on RedHat/Fedora/Centos plateforms (to be tested)
*
The target servers must have access to the Internet in order to pull docker imaqes.
*
The target servers must have access to the Internet in order to pull docker imaqes.
*
The firewalls are not managed, you'll need to implement your own rules the way you used to.
*
The firewalls are not managed, you'll need to implement your own rules the way you used to.
...
@@ -54,14 +55,6 @@ You can jump directly to "*Available apps, installation procedure*"
...
@@ -54,14 +55,6 @@ You can jump directly to "*Available apps, installation procedure*"
Ansible
Ansible
-------------------------
-------------------------
### Download binaries
A role allows to download required binaries. They will be stored in a directory defined by the variable
**'local_release_dir'**
(by default /tmp).
Please ensure that you have enough disk space there (about
**300M**
).
**Note**
: Whenever you'll need to change the version of a software, you'll have to erase the content of this directory.
### Variables
### Variables
The main variables to change are located in the directory
```inventory/group_vars/all.yml```
.
The main variables to change are located in the directory
```inventory/group_vars/all.yml```
.
...
@@ -117,8 +110,10 @@ kube-master
...
@@ -117,8 +110,10 @@ kube-master
-
hosts: k8s-cluster
-
hosts: k8s-cluster
roles:
roles:
-
{ role:
etcd, tags: etcd
}
-
{ role:
kubernetes/preinstall, tags: preinstall
}
-
{ role: docker, tags: docker }
-
{ role: docker, tags: docker }
-
{ role: kubernetes/node, tags: node }
-
{ role: etcd, tags: etcd }
-
{ role: dnsmasq, tags: dnsmasq }
-
{ role: dnsmasq, tags: dnsmasq }
-
{ role: network_plugin, tags: ['calico', 'flannel', 'network'] }
-
{ role: network_plugin, tags: ['calico', 'flannel', 'network'] }
...
@@ -126,10 +121,6 @@ kube-master
...
@@ -126,10 +121,6 @@ kube-master
roles:
roles:
-
{ role: kubernetes/master, tags: master }
-
{ role: kubernetes/master, tags: master }
-
hosts: kube-node
roles:
-
{ role: kubernetes/node, tags: node }
```
```
### Run
### Run
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment