k8s for all
This commit is contained in:
12
base/sys/kubernetes.sls
Normal file
12
base/sys/kubernetes.sls
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
# This formula works with no-pillars but here are some example configurations.
|
||||||
|
|
||||||
|
kubernetes:
|
||||||
|
pkg:
|
||||||
|
use_upstream_repo: True
|
||||||
|
repo:
|
||||||
|
humanname: kubernetes
|
||||||
|
gpgcheck: 1
|
||||||
@@ -8,11 +8,6 @@ mine_functions:
|
|||||||
- chaos-role
|
- chaos-role
|
||||||
disk.usage: []
|
disk.usage: []
|
||||||
grains.items: []
|
grains.items: []
|
||||||
network.ip_addrs: [eth0]
|
|
||||||
#networkplus.internal_ip_addrs: []
|
|
||||||
internal_ip_addrs:
|
|
||||||
mine_function: network.ip_addrs
|
|
||||||
cidr: 192.168.0.0/16
|
|
||||||
ip_list:
|
ip_list:
|
||||||
- mine_function: grains.get
|
- mine_function: grains.get
|
||||||
- ip_interfaces
|
- ip_interfaces
|
||||||
|
|||||||
7
top.sls
7
top.sls
@@ -19,7 +19,12 @@ base:
|
|||||||
'G@osarch:armhf and not G@fqdn:tumor.chaos':
|
'G@osarch:armhf and not G@fqdn:tumor.chaos':
|
||||||
- match: compound
|
- match: compound
|
||||||
- base.log.rsyslog.client
|
- base.log.rsyslog.client
|
||||||
|
'pine*':
|
||||||
|
- base.sys.kubernetes
|
||||||
|
'kubeadm*':
|
||||||
|
- base.sys.kubernetes
|
||||||
|
'lenny*':
|
||||||
|
- base.sys.kubernetes
|
||||||
#'pine03*':
|
#'pine03*':
|
||||||
# - prometheus.prometheus
|
# - prometheus.prometheus
|
||||||
#'ebin*':
|
#'ebin*':
|
||||||
|
|||||||
Reference in New Issue
Block a user