pull/5201/head
陈谭军 2019-09-25 19:04:00 +08:00 committed by Kubernetes Prow Robot
parent 9db61c45ed
commit 2fc02ed456
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
- name: Include OS-specific variables. - name: Include OS-specific variables.
include_vars: "{{ ansible_os_family }}.yml" include_vars: "{{ ansible_os_family }}.yml"
# Instal xfs package # Install xfs package
- name: install xfs Debian - name: install xfs Debian
apt: name=xfsprogs state=present apt: name=xfsprogs state=present
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"

View File

@ -221,7 +221,7 @@ persistent_volumes_enabled: false
# nvidia_accelerator_enabled: true # nvidia_accelerator_enabled: true
## Nvidia GPU driver install. Install will by done by a (init) pod running as a daemonset. ## Nvidia GPU driver install. Install will by done by a (init) pod running as a daemonset.
## Important: if you use Ubuntu then you should set in all.yml 'docker_storage_options: -s overlay2' ## Important: if you use Ubuntu then you should set in all.yml 'docker_storage_options: -s overlay2'
## Array with nvida_gpu_nodes, leave empty or comment if you dont't want to install drivers. ## Array with nvida_gpu_nodes, leave empty or comment if you don't want to install drivers.
## Labels and taints won't be set to nodes if they are not in the array. ## Labels and taints won't be set to nodes if they are not in the array.
# nvidia_gpu_nodes: # nvidia_gpu_nodes:
# - kube-gpu-001 # - kube-gpu-001

View File

@ -61,7 +61,7 @@ if ! [ -e "$SSLDIR/tiller.pem" ]; then
gen_key_and_cert "tiller" "/CN=tiller-server" gen_key_and_cert "tiller" "/CN=tiller-server"
fi fi
#Generate cert and key for Helm client if they dont exist #Generate cert and key for Helm client if they don't exist
if ! [ -e "$SSLDIR/helm.pem" ]; then if ! [ -e "$SSLDIR/helm.pem" ]; then
gen_key_and_cert "helm" "/CN=helm-client" gen_key_and_cert "helm" "/CN=helm-client"
fi fi

View File

@ -35,7 +35,7 @@
- name: Stop if unsupported version of Kubernetes - name: Stop if unsupported version of Kubernetes
assert: assert:
that: kube_version is version(kube_version_min_required, '>=') that: kube_version is version(kube_version_min_required, '>=')
msg: "The current release of Kubespray only support newer vesion of Kubernetes than {{ kube_version_min_required }} - You are trying to apply {{ kube_version }}" msg: "The current release of Kubespray only support newer version of Kubernetes than {{ kube_version_min_required }} - You are trying to apply {{ kube_version }}"
ignore_errors: "{{ ignore_assert_errors }}" ignore_errors: "{{ ignore_assert_errors }}"
# simplify this items-list when https://github.com/ansible/ansible/issues/15753 is resolved # simplify this items-list when https://github.com/ansible/ansible/issues/15753 is resolved