Skip to content

Commit

Permalink
Added new search feature
Browse files Browse the repository at this point in the history
Git demo commit

Update cluster.yml

Update scale.yml
  • Loading branch information
Saptak authored and saptakalkar committed Feb 18, 2019
1 parent e91c04f commit 453cc53
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 171 deletions.
154 changes: 0 additions & 154 deletions Vagrantfile

This file was deleted.

4 changes: 1 addition & 3 deletions ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ pipelining=True
#ssh_args = -F ./ssh-bastion.conf -o ControlMaster=auto -o ControlPersist=30m
#control_path = ~/.ssh/ansible-%%r@%%h:%%p
[defaults]
host_key_checking=False
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp
stdout_callback = skippy
stdout_callback = smart
library = ./library
callback_whitelist = profile_tasks
roles_path = roles:$VIRTUAL_ENV/usr/local/share/kubespray/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles
7 changes: 1 addition & 6 deletions cluster.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
- hosts: localhost
gather_facts: False
roles:
- { role: kubespray-defaults}
- { role: bastion-ssh-config, tags: ["localhost", "bastion"]}

- hosts: k8s-cluster:etcd:calico-rr
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
Expand All @@ -20,7 +15,7 @@
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
vars:
ansible_ssh_pipelining: true
gather_facts: true
gather_facts: false

- hosts: k8s-cluster:etcd:calico-rr
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
Expand Down
11 changes: 3 additions & 8 deletions scale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@
##Bootstrap any new workers
- hosts: kube-node
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
gather_facts: false
gather_facts: true
vars:
ansible_ssh_pipelining: false
ansible_ssh_pipelining: true
roles:
- { role: kubespray-defaults}
- { role: bootstrap-os, tags: bootstrap-os}

##We still have to gather facts about our masters and etcd nodes
- hosts: k8s-cluster:etcd:calico-rr
any_errors_fatal: "{{ any_errors_fatal | default(true) }}"
vars:
ansible_ssh_pipelining: true
gather_facts: true


##Target only workers to get kubelet installed and checking in on any new nodes
- hosts: kube-node
Expand Down

0 comments on commit 453cc53

Please sign in to comment.