-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.kitchen.yml
62 lines (58 loc) · 1.31 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
driver:
name: vagrant
vagrantfiles:
- Vagrantfile.rb
provisioner:
name: nodes
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:
# - name: ubuntu-16.04
- name: centos/7
suites:
- name: master
run_list:
- recipe[kubeadm::master]
- recipe[kubeadm::dashboard]
- recipe[kubeadm::heapster]
driver:
vm_hostname: master.vagrant.test
network:
- ["private_network", {ip: "172.28.128.200"}]
customize:
memory: 2048
verifier:
inspec_tests:
- test/smoke/default
attributes:
- name: node01
run_list:
- recipe[kubeadm::node]
driver:
vm_hostname: node01.vagrant.test
network:
- ["private_network", {ip: "172.28.128.201"}]
customize:
memory: 1024
verifier:
inspec_tests:
- test/smoke/default
attributes:
- name: node02
run_list:
- recipe[kubeadm::node]
driver:
vm_hostname: node02.vagrant.test
network:
- ["private_network", {ip: "172.28.128.202"}]
customize:
memory: 1024
verifier:
inspec_tests:
- test/smoke/default
attributes: