blob: f030f0d2a1a1e054a2b2f878977b845313997a99 [file] [log] [blame]
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02001
2classes:
3- system.linux.system.single
4- system.openssh.server.team.lab
5- system.openssh.server.team.tcpcloud
6- system.openssh.server.team.mcp_qa
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02007- cluster.virtual-mcp11-k8s-calico.kubernetes
Tomáš Kukrál5f4e5742017-04-27 15:43:58 +02008- cluster.overwrite
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +02009parameters:
10 _param:
11 # infra service addresses
12 infra_config_hostname: cfg01
Tomáš Kukrálf9efedf2017-04-28 12:57:37 +020013 infra_config_address: 172.16.10.100
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020014 infra_config_deploy_address: 192.168.10.100
15
16 cluster_domain: virtual-mcp11-k8s-calico.local
17 cluster_name: virtual-mcp11-k8s-calico
18 #cluster_public_host: ""
19 linux:
20 network:
21 host:
22 cfg01:
23 address: ${_param:infra_config_address}
24 names:
25 - ${_param:infra_config_hostname}
26 - ${_param:infra_config_hostname}.${_param:cluster_domain}
Tomáš Kukrál8c25ac92017-04-27 22:46:12 +020027 cfg:
28 address: ${_param:infra_config_address}
29 names:
30 - cfg
31 - cfg.${_param:cluster_domain}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020032 interface:
33 ens4:
34 enabled: true
35 type: eth
36 proto: static
37 address: ${_param:single_address}
38 netmask: 255.255.255.0
Tomáš Kukrálf9efedf2017-04-28 12:57:37 +020039 route:
40 kubernetes_services:
41 address: 10.254.0.0
42 netmask: 255.255.0.0
43 gateway: ${_param:single_address}
Simon Pasquier3f9d3fc2017-04-26 10:47:10 +020044 system:
45 name: ${_param:infra_config_hostname}
46 domain: ${_param:cluster_domain}
Tomáš Kukrálf9efedf2017-04-28 12:57:37 +020047 rc:
48 local: |
49 #!/bin/sh -e
50 #
51 # rc.local
52 #
53 ######### This file is managed by Salt! ##########
54 # This script is executed at the end of each multiuser runlevel.
55 # Make sure that the script will "exit 0" on success or any other
56 # value on error.
57 #
58 ip r a 10.254.0.0/16 dev ens4
59 exit 0