This module is part of Tarmak and should currently be considered alpha.
Tarmak
This is the top-level class for the tarmak project. It's not including any component. It's just setting global variables for the cluster
- path to installation directory for components
- Type:
String
- Default:
'/opt'
- path to the binary directory for components
- Type:
String
- Default:
'/opt/bin'
- a DNS compatible name for the cluster
- Type:
String
- Default:
$tarmak::params::cluster_name
- absoulute path to systemctl binary
- Type:
String
- Default:
$tarmak::params::systemctl_path
- which role to build
- Type:
Enum['etcd','master','worker', nil]
- Default:
nil
- Kubernetes version to install
- Type:
String
- Default:
$tarmak::params::kubernetes_version
- Type:
String
- Default:
'kubernetes'
- Type:
String
- Default:
'kubernetes'
- Type:
Integer
- Default:
837
- Type:
Integer
- Default:
837
- Type:
String
- Default:
'k8s'
- Type:
String
- Default:
'/etc/kubernetes/ssl'
- Type:
String
- Default:
'/etc/kubernetes'
- Type:
Integer[1,65535]
- Default:
6443
- Type:
Integer[1,65535]
- Default:
8080
- Type:
String
- Default:
'10.234.0.0/16'
- Type:
String
- Default:
nil
- Type:
String
- Default:
'api'
- Type:
Array[Enum['AlwaysAllow', 'ABAC', 'RBAC']]
- Default:
[]
- Type:
String
- Default:
$tarmak::params::dns_root
- Type:
String
- Default:
$tarmak::params::hostname
- Type:
Array[String]
- Default:
[]
- Type:
Integer[0,1]
- Default:
1
- Type:
String
- Default:
'etcd'
- Type:
String
- Default:
'etcd'
- Type:
Integer
- Default:
873
- Type:
Integer
- Default:
873
- Type:
String
- Default:
'/etc/etcd'
- Type:
String
- Default:
'/etc/etcd/ssl'
- Type:
Integer
- Default:
3
- Type:
String
- Default:
$tarmak::params::etcd_advertise_client_network
- Type:
Integer[1,65535]
- Default:
2359
- Type:
Integer[1,65535]
- Default:
2360
- Type:
String
- Default:
'etcd-overlay'
- Type:
String
- Default:
'3.2.17'
- Type:
Integer[1,65535]
- Default:
2379
- Type:
Integer[1,65535]
- Default:
2380
- Type:
String
- Default:
'etcd-k8s'
- Type:
String
- Default:
'3.2.17'
- Type:
Integer[1,65535]
- Default:
2369
- Type:
Integer[1,65535]
- Default:
2370
- Type:
String
- Default:
'etcd-k8s'
- Type:
String
- Default:
'3.2.17'
- Type:
Enum['aws', '']
- Default:
''
- Type:
String
- Default:
$tarmak::params::helper_path
- Type:
String
- Default:
'/etc/systemd/system'
include ::tarmak
class{'tarmak':
kubernetes_version => '1.5.4'
}
- Type:
Any
- Default:
true
- Type:
Any
- Default:
true
Defines parameters for other classes to reuse
- Type:
String
- Default:
$tarmak::params::dns_root
- Type:
String
- Default:
$tarmak::params::cluster_name
- Type:
String
- Default:
$tarmak::params::etcd_advertise_client_network
- Type:
String
- Default:
nil
- Type:
String
- Default:
$tarmak::params::kubernetes_version
- Type:
Array[Enum['AlwaysAllow', 'ABAC', 'RBAC']]
- Default:
[]