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
62dd3d2a
Commit
62dd3d2a
authored
7 years ago
by
Matthew Mosesohn
Browse files
Options
Downloads
Patches
Plain Diff
Add missing group var default values to kubespray-defaults
parent
dc6a17e0
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
inventory/group_vars/k8s-cluster.yml
+0
-3
0 additions, 3 deletions
inventory/group_vars/k8s-cluster.yml
roles/kubespray-defaults/defaults/main.yaml
+24
-0
24 additions, 0 deletions
roles/kubespray-defaults/defaults/main.yaml
with
24 additions
and
3 deletions
inventory/group_vars/k8s-cluster.yml
+
0
−
3
View file @
62dd3d2a
...
...
@@ -8,9 +8,6 @@ kube_script_dir: "{{ bin_dir }}/kubernetes-scripts"
kube_manifest_dir
:
"
{{
kube_config_dir
}}/manifests"
system_namespace
:
kube-system
# Logging directory (sysvinit systems)
kube_log_dir
:
"
/var/log/kubernetes"
# This is where all the cert scripts and certs will be located
kube_cert_dir
:
"
{{
kube_config_dir
}}/ssl"
...
...
This diff is collapsed.
Click to expand it.
roles/kubespray-defaults/defaults/main.yaml
+
24
−
0
View file @
62dd3d2a
...
...
@@ -154,6 +154,10 @@ kubectl_localhost: false
# K8s image pull policy (imagePullPolicy)
k8s_image_pull_policy
:
IfNotPresent
# Kubernetes dashboard
# RBAC required. see docs/getting-started.md for access details.
dashboard_enabled
:
true
# Addons which can be enabled
efk_enabled
:
false
helm_enabled
:
false
...
...
@@ -193,6 +197,26 @@ vault_config_dir: "{{ vault_base_dir }}/config"
vault_roles_dir
:
"
{{
vault_base_dir
}}/roles"
vault_secrets_dir
:
"
{{
vault_base_dir
}}/secrets"
## Running on top of openstack vms with cinder enabled may lead to unschedulable pods due to NoVolumeZoneConflict restriction in kube-scheduler.
## See https://github.com/kubernetes-incubator/kubespray/issues/2141
## Set this variable to true to get rid of this issue
volume_cross_zone_attachment
:
false
# weave's network password for encryption
# if null then no network encryption
# you can use --extra-vars to pass the password in command line
weave_password
:
EnterPasswordHere
# Weave uses consensus mode by default
# Enabling seed mode allow to dynamically add or remove hosts
# https://www.weave.works/docs/net/latest/ipam/
weave_mode_seed
:
false
# This two variable are automatically changed by the weave's role in group_vars/k8s-cluster.yml.
# Do not manually change these values
weave_seed
:
uninitialized
weave_peers
:
uninitialized
## Set no_proxy to all assigned cluster IPs and hostnames
no_proxy
:
>-
{%- if loadbalancer_apiserver is defined -%}
...
...
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