2017-05-26 09:25:29 +00:00
|
|
|
---
|
2019-08-22 13:52:34 +00:00
|
|
|
## Controls Files.
|
2017-05-26 09:25:29 +00:00
|
|
|
# These are YAML files that hold all the details for running checks.
|
|
|
|
#
|
|
|
|
## Uncomment to use different control file paths.
|
2017-06-19 21:03:46 +00:00
|
|
|
# masterControls: ./cfg/master.yaml
|
|
|
|
# nodeControls: ./cfg/node.yaml
|
|
|
|
# federatedControls: ./cfg/federated.yaml
|
2017-05-26 09:25:29 +00:00
|
|
|
|
2017-08-30 17:36:00 +00:00
|
|
|
master:
|
2017-08-31 13:45:16 +00:00
|
|
|
components:
|
|
|
|
- apiserver
|
|
|
|
- scheduler
|
|
|
|
- controllermanager
|
2019-08-22 13:52:34 +00:00
|
|
|
- etcd
|
2017-08-31 13:45:16 +00:00
|
|
|
- flanneld
|
2017-08-31 16:39:40 +00:00
|
|
|
# kubernetes is a component to cover the config file /etc/kubernetes/config that is referred to in the benchmark
|
2017-08-31 13:45:16 +00:00
|
|
|
- kubernetes
|
|
|
|
|
|
|
|
kubernetes:
|
|
|
|
defaultconf: /etc/kubernetes/config
|
|
|
|
|
|
|
|
apiserver:
|
|
|
|
bins:
|
2017-08-30 17:36:00 +00:00
|
|
|
- "kube-apiserver"
|
|
|
|
- "hyperkube apiserver"
|
2019-03-07 11:18:06 +00:00
|
|
|
- "hyperkube kube-apiserver"
|
2017-08-30 17:36:00 +00:00
|
|
|
- "apiserver"
|
2017-08-31 13:45:16 +00:00
|
|
|
confs:
|
2019-05-17 13:21:42 +00:00
|
|
|
- /etc/kubernetes/manifests/kube-apiserver.yaml
|
|
|
|
- /etc/kubernetes/manifests/kube-apiserver.manifest
|
|
|
|
defaultconf: /etc/kubernetes/manifests/kube-apiserver.yaml
|
2017-08-31 13:45:16 +00:00
|
|
|
|
|
|
|
scheduler:
|
|
|
|
bins:
|
2017-08-30 17:36:00 +00:00
|
|
|
- "kube-scheduler"
|
|
|
|
- "hyperkube scheduler"
|
2019-03-07 11:18:06 +00:00
|
|
|
- "hyperkube kube-scheduler"
|
2017-08-30 17:36:00 +00:00
|
|
|
- "scheduler"
|
2019-05-17 13:21:42 +00:00
|
|
|
confs:
|
|
|
|
- /etc/kubernetes/manifests/kube-scheduler.yaml
|
|
|
|
- /etc/kubernetes/manifests/kube-scheduler.manifest
|
|
|
|
defaultconf: /etc/kubernetes/manifests/kube-scheduler.yaml
|
2017-08-31 13:45:16 +00:00
|
|
|
|
|
|
|
controllermanager:
|
|
|
|
bins:
|
2017-08-30 17:36:00 +00:00
|
|
|
- "kube-controller-manager"
|
2019-06-28 15:58:23 +00:00
|
|
|
- "kube-controller"
|
2017-08-30 17:36:00 +00:00
|
|
|
- "hyperkube controller-manager"
|
2019-03-07 11:18:06 +00:00
|
|
|
- "hyperkube kube-controller-manager"
|
2017-08-30 17:36:00 +00:00
|
|
|
- "controller-manager"
|
2017-08-31 13:45:16 +00:00
|
|
|
confs:
|
2019-05-17 13:21:42 +00:00
|
|
|
- /etc/kubernetes/manifests/kube-controller-manager.yaml
|
|
|
|
- /etc/kubernetes/manifests/kube-controller-manager.manifest
|
|
|
|
defaultconf: /etc/kubernetes/manifests/kube-controller-manager.yaml
|
2017-08-31 13:45:16 +00:00
|
|
|
|
|
|
|
etcd:
|
|
|
|
optional: true
|
|
|
|
bins:
|
|
|
|
- "etcd"
|
|
|
|
confs:
|
2019-05-17 13:21:42 +00:00
|
|
|
- /etc/kubernetes/manifests/etcd.yaml
|
|
|
|
- /etc/kubernetes/manifests/etcd.manifest
|
2017-08-30 17:36:00 +00:00
|
|
|
- /etc/etcd/etcd.conf
|
2019-05-17 13:21:42 +00:00
|
|
|
defaultconf: /etc/kubernetes/manifests/etcd.yaml
|
2017-08-31 13:45:16 +00:00
|
|
|
|
|
|
|
flanneld:
|
|
|
|
optional: true
|
|
|
|
bins:
|
|
|
|
- flanneld
|
|
|
|
defaultconf: /etc/sysconfig/flanneld
|
|
|
|
|
2017-08-30 17:36:00 +00:00
|
|
|
node:
|
2017-08-31 13:45:16 +00:00
|
|
|
components:
|
|
|
|
- kubelet
|
|
|
|
- proxy
|
2017-08-31 16:39:40 +00:00
|
|
|
# kubernetes is a component to cover the config file /etc/kubernetes/config that is referred to in the benchmark
|
|
|
|
- kubernetes
|
|
|
|
|
|
|
|
kubernetes:
|
2019-08-22 13:52:34 +00:00
|
|
|
defaultconf: "/etc/kubernetes/config"
|
2017-08-31 13:45:16 +00:00
|
|
|
|
|
|
|
kubelet:
|
2019-07-10 09:43:15 +00:00
|
|
|
cafile:
|
|
|
|
- "/etc/kubernetes/pki/ca.crt"
|
2019-08-22 13:52:34 +00:00
|
|
|
- "/etc/kubernetes/certs/ca.crt"
|
2019-08-28 08:27:56 +00:00
|
|
|
- "/etc/kubernetes/cert/ca.pem"
|
|
|
|
svc:
|
|
|
|
# These paths must also be included
|
|
|
|
# in the 'confs' property below
|
2019-08-22 13:52:34 +00:00
|
|
|
- "/etc/systemd/system/kubelet.service.d/10-kubeadm.conf"
|
|
|
|
- "/etc/systemd/system/kubelet.service"
|
2019-08-28 08:27:56 +00:00
|
|
|
- "/lib/systemd/system/kubelet.service"
|
2017-08-31 13:45:16 +00:00
|
|
|
bins:
|
2017-08-30 17:36:00 +00:00
|
|
|
- "hyperkube kubelet"
|
|
|
|
- "kubelet"
|
2019-08-22 13:52:34 +00:00
|
|
|
kubeconfig:
|
|
|
|
- "/etc/kubernetes/kubelet.conf"
|
|
|
|
- "/var/lib/kubelet/kubeconfig"
|
2019-08-28 08:27:56 +00:00
|
|
|
- "/etc/kubernetes/kubelet-kubeconfig"
|
2019-05-13 17:20:57 +00:00
|
|
|
confs:
|
|
|
|
- "/var/lib/kubelet/config.yaml"
|
|
|
|
- "/etc/kubernetes/kubelet/kubelet-config.json"
|
2019-06-04 14:14:43 +00:00
|
|
|
- "/home/kubernetes/kubelet-config.yaml"
|
2019-08-22 13:52:34 +00:00
|
|
|
- "/etc/default/kubelet"
|
2019-08-28 08:27:56 +00:00
|
|
|
## Due to the fact that the kubelet might be configured
|
|
|
|
## without a kubelet-config file, we use a work-around
|
|
|
|
## of pointing to the systemd service file (which can also
|
|
|
|
## hold kubelet configuration).
|
|
|
|
## Note: The following paths must match the one under 'svc'
|
|
|
|
- "/etc/systemd/system/kubelet.service.d/10-kubeadm.conf"
|
|
|
|
- "/etc/systemd/system/kubelet.service"
|
|
|
|
- "/lib/systemd/system/kubelet.service"
|
2019-02-27 22:08:57 +00:00
|
|
|
defaultconf: "/var/lib/kubelet/config.yaml"
|
2019-02-27 21:28:02 +00:00
|
|
|
defaultsvc: "/etc/systemd/system/kubelet.service.d/10-kubeadm.conf"
|
2019-02-27 22:08:57 +00:00
|
|
|
defaultkubeconfig: "/etc/kubernetes/kubelet.conf"
|
2019-07-10 09:43:15 +00:00
|
|
|
defaultcafile: "/etc/kubernetes/pki/ca.crt"
|
2017-10-15 12:39:29 +00:00
|
|
|
|
2017-08-31 13:45:16 +00:00
|
|
|
proxy:
|
2019-10-08 10:53:39 +00:00
|
|
|
optional: true
|
2017-08-31 13:45:16 +00:00
|
|
|
bins:
|
2017-08-30 17:36:00 +00:00
|
|
|
- "kube-proxy"
|
|
|
|
- "hyperkube proxy"
|
2019-08-28 15:53:48 +00:00
|
|
|
- "hyperkube kube-proxy"
|
2017-08-30 17:36:00 +00:00
|
|
|
- "proxy"
|
2017-08-31 13:45:16 +00:00
|
|
|
confs:
|
2017-08-30 17:36:00 +00:00
|
|
|
- /etc/kubernetes/proxy
|
|
|
|
- /etc/kubernetes/addons/kube-proxy-daemonset.yaml
|
2019-08-28 08:27:56 +00:00
|
|
|
kubeconfig:
|
|
|
|
- /etc/kubernetes/kubelet-kubeconfig
|
|
|
|
svc:
|
|
|
|
- "/lib/systemd/system/kube-proxy.service"
|
2019-05-13 17:20:57 +00:00
|
|
|
defaultconf: /etc/kubernetes/addons/kube-proxy-daemonset.yaml
|
2019-02-27 22:08:57 +00:00
|
|
|
defaultkubeconfig: "/etc/kubernetes/proxy.conf"
|
2017-07-13 00:24:09 +00:00
|
|
|
|
2017-08-30 17:36:00 +00:00
|
|
|
federated:
|
2017-08-31 13:45:16 +00:00
|
|
|
components:
|
|
|
|
- fedapiserver
|
|
|
|
- fedcontrollermanager
|
|
|
|
|
|
|
|
fedapiserver:
|
|
|
|
bins:
|
2017-08-30 17:36:00 +00:00
|
|
|
- "hyperkube federation-apiserver"
|
|
|
|
- "kube-federation-apiserver"
|
|
|
|
- "federation-apiserver"
|
2017-08-31 13:45:16 +00:00
|
|
|
|
|
|
|
fedcontrollermanager:
|
|
|
|
bins:
|
2017-08-30 17:36:00 +00:00
|
|
|
- "hyperkube federation-controller-manager"
|
|
|
|
- "kube-federation-controller-manager"
|
|
|
|
- "federation-controller-manager"
|