Skip to content

Commit

Permalink
Merge pull request #104 from scality/prepare-1.11
Browse files Browse the repository at this point in the history
Prepare Kubernetes 1.11
  • Loading branch information
NicolasT committed Jul 4, 2018
2 parents ffcd502 + c560c5f commit 53215f5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions group_vars/k8s-cluster/10-metal-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ helm_enabled: True
kube_basic_auth: True
kubeconfig_localhost: True

dns_mode: 'coredns'
kube_proxy_mode: 'ipvs'

# Request usage of the `overlay2` storage driver, even on pre-18.03 Docker
# installs.
# Whilst this is not guaranteed to work on 'old' kernels, we check whether we're
Expand Down
4 changes: 4 additions & 0 deletions metal-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
roles:
- role: check_os

- hosts: k8s-cluster
roles:
- role: prepare_os

- hosts: kube-node
tags:
- lvm-storage
Expand Down
Empty file.
1 change: 1 addition & 0 deletions roles/prepare_os/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dependencies: []
7 changes: 7 additions & 0 deletions roles/prepare_os/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- name: Install packages
yum:
name: '{{ item }}'
state: latest
with_items:
- ipvsadm
when: ansible_os_family == 'RedHat'

0 comments on commit 53215f5

Please sign in to comment.