-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy pathk8s-cluster.pentestrc
65 lines (61 loc) · 1.22 KB
/
k8s-cluster.pentestrc
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
63
64
65
# -*- mode: yaml -*-
targets:
- k8s-master:
base: debian-9.0
- k8s-node1:
base: debian-9.0
- k8s-node2:
base: debian-9.0
k8s-master:
autostart: true
networks:
- private_network:
adapter: 2
ip: 192.168.57.100
chef:
version: 14.12.9
recipes:
- hostname
- pentest-env::k8s_master
json:
set_fqdn: k8s-master.pentest.env
pentest-env:
k8s:
master_ip: 192.168.57.100
ip_range: 192.168.57.0/24
k8s-node1:
autostart: true
networks:
- private_network:
adapter: 2
type: dhcp
ip: 192.168.57.0/24
chef:
version: 14.12.9
recipes:
- hostname
- pentest-env::k8s_node
json:
set_fqdn: k8s-node1.pentest.env
pentest-env:
k8s:
master_ip: 192.168.57.100
ip_range: 192.168.57.0/24
k8s-node2:
autostart: true
networks:
- private_network:
adapter: 2
type: dhcp
ip: 192.168.57.0/24
chef:
version: 14.12.9
recipes:
- hostname
- pentest-env::k8s_node
json:
set_fqdn: k8s-node2.pentest.env
pentest-env:
k8s:
master_ip: 192.168.57.100
ip_range: 192.168.57.0/24