-
Notifications
You must be signed in to change notification settings - Fork 493
/
50-aws-k8s.toml
77 lines (61 loc) · 2.25 KB
/
50-aws-k8s.toml
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
66
67
68
69
70
71
72
73
74
75
76
77
[configuration-files.containerd-config-toml]
# No override to path
template-path = "/usr/share/templates/containerd-config-toml_aws-k8s"
# Kubernetes.
[services.kubernetes]
configuration-files = [
"kubelet-env",
"kubelet-config",
"kubelet-kubeconfig",
"kubelet-bootstrap-kubeconfig",
"kubelet-exec-start-conf",
"kubernetes-ca-crt",
"proxy-env",
]
restart-commands = [
"/usr/bin/systemctl daemon-reload",
"/usr/bin/systemctl try-restart kubelet.service"
]
[configuration-files.kubelet-env]
path = "/etc/kubernetes/kubelet/env"
template-path = "/usr/share/templates/kubelet-env"
[configuration-files.kubelet-config]
path = "/etc/kubernetes/kubelet/config"
template-path = "/usr/share/templates/kubelet-config"
[configuration-files.kubelet-kubeconfig]
path = "/etc/kubernetes/kubelet/kubeconfig"
template-path = "/usr/share/templates/kubelet-kubeconfig"
[configuration-files.kubelet-bootstrap-kubeconfig]
path = "/etc/kubernetes/kubelet/bootstrap-kubeconfig"
template-path = "/usr/share/templates/kubelet-bootstrap-kubeconfig"
[configuration-files.kubernetes-ca-crt]
path = "/etc/kubernetes/pki/ca.crt"
template-path = "/usr/share/templates/kubernetes-ca-crt"
[configuration-files.kubelet-exec-start-conf]
path = "/etc/systemd/system/kubelet.service.d/exec-start.conf"
template-path = "/usr/share/templates/kubelet-exec-start-conf"
[metadata.settings.kubernetes]
max-pods.setting-generator = "pluto max-pods"
cluster-dns-ip.setting-generator = "pluto cluster-dns-ip"
node-ip.setting-generator = "pluto node-ip"
affected-services = ["kubernetes"]
[metadata.settings.kubernetes.pod-infra-container-image]
setting-generator = "pluto pod-infra-container-image"
affected-services = ["kubernetes", "containerd"]
[settings.kubernetes]
cluster-domain = "cluster.local"
standalone-mode = false
authentication-mode = "aws"
server-tls-bootstrap = true
cloud-provider = "aws"
# Metrics
[settings.metrics]
service-checks = ["apiserver", "chronyd", "containerd", "host-containerd", "kubelet"]
[services.static-pods]
configuration-files = []
restart-commands = ["/usr/bin/static-pods"]
[metadata.settings.kubernetes.static-pods]
affected-services = ["static-pods"]
# Network
[metadata.settings.network]
affected-services = ["containerd", "kubernetes", "host-containerd", "host-containers"]