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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
93cb5a5b
Commit
93cb5a5b
authored
8 years ago
by
Antoine Legrand
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1027 from hvnsweeting/master
Multiples doc fixes
parents
f4f730bd
d8f46c44
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/ansible.md
+1
-1
1 addition, 1 deletion
docs/ansible.md
docs/getting-started.md
+3
-2
3 additions, 2 deletions
docs/getting-started.md
inventory/group_vars/all.yml
+1
-1
1 addition, 1 deletion
inventory/group_vars/all.yml
with
5 additions
and
4 deletions
docs/ansible.md
+
1
−
1
View file @
93cb5a5b
...
@@ -8,7 +8,7 @@ The inventory is composed of 3 groups:
...
@@ -8,7 +8,7 @@ The inventory is composed of 3 groups:
*
**kube-node**
: list of kubernetes nodes where the pods will run.
*
**kube-node**
: list of kubernetes nodes where the pods will run.
*
**kube-master**
: list of servers where kubernetes master components (apiserver, scheduler, controller) will run.
*
**kube-master**
: list of servers where kubernetes master components (apiserver, scheduler, controller) will run.
*
**etcd**
: list of server to compose the etcd server.
y
ou should have at least 3 servers for failover purpose
s
.
*
**etcd**
: list of server
s
to compose the etcd server.
Y
ou should have at least 3 servers for failover purpose.
Note: do not modify the children of _k8s-cluster_, like putting
Note: do not modify the children of _k8s-cluster_, like putting
the _etcd_ group into the _k8s-cluster_, unless you are certain
the _etcd_ group into the _k8s-cluster_, unless you are certain
...
...
This diff is collapsed.
Click to expand it.
docs/getting-started.md
+
3
−
2
View file @
93cb5a5b
...
@@ -21,7 +21,7 @@ kargo deploy --aws -u centos -n calico
...
@@ -21,7 +21,7 @@ kargo deploy --aws -u centos -n calico
Building your own inventory
Building your own inventory
---------------------------
---------------------------
Ansible inventory can be stored in 3 formats: YAML, JSON, or
inifil
e. There is
Ansible inventory can be stored in 3 formats: YAML, JSON, or
INI-lik
e. There is
an example inventory located
an example inventory located
[
here
](
https://github.com/kubernetes-incubator/kargo/blob/master/inventory/inventory.example
)
.
[
here
](
https://github.com/kubernetes-incubator/kargo/blob/master/inventory/inventory.example
)
.
...
@@ -47,8 +47,9 @@ Starting custom deployment
...
@@ -47,8 +47,9 @@ Starting custom deployment
Once you have an inventory, you may want to customize deployment data vars
Once you have an inventory, you may want to customize deployment data vars
and start the deployment:
and start the deployment:
**
IMPORTANT: Edit my_inventory/groups_vars/
*.yaml to override data vars*
*
```
```
# Edit my_inventory/groups_vars/*.yaml to override data vars
ansible-playbook -i my_inventory/inventory.cfg cluster.yaml -b -v \
ansible-playbook -i my_inventory/inventory.cfg cluster.yaml -b -v \
--private-key=~/.ssh/private_key
--private-key=~/.ssh/private_key
```
```
...
...
This diff is collapsed.
Click to expand it.
inventory/group_vars/all.yml
+
1
−
1
View file @
93cb5a5b
...
@@ -8,7 +8,7 @@ bin_dir: /usr/local/bin
...
@@ -8,7 +8,7 @@ bin_dir: /usr/local/bin
# Those are where all the additional config stuff goes
# Those are where all the additional config stuff goes
# the kubernetes normally puts in /srv/kubernets.
# the kubernetes normally puts in /srv/kubernets.
# This puts them in a sane location and namespace.
# This puts them in a sane location and namespace.
# Edit
t
ing those values will almost surely break something.
# Editing those values will almost surely break something.
kube_config_dir
:
/etc/kubernetes
kube_config_dir
:
/etc/kubernetes
kube_script_dir
:
"
{{
bin_dir
}}/kubernetes-scripts"
kube_script_dir
:
"
{{
bin_dir
}}/kubernetes-scripts"
kube_manifest_dir
:
"
{{
kube_config_dir
}}/manifests"
kube_manifest_dir
:
"
{{
kube_config_dir
}}/manifests"
...
...
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