Skip to content

Commit

Permalink
feat: add kubeadm config for metrics addresses (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlieb authored Mar 15, 2024
1 parent 3cb2e48 commit 1e5450e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions utils/cloud-config.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ write_files:
apiServer:
certSANs:
- PUBLIC_IP
extraArgs:
authorization-mode: "Node,RBAC"
controllerManager:
extraArgs:
bind-address: "0.0.0.0"
scheduler:
extraArgs:
bind-address: "0.0.0.0"
etcd:
local:
extraArgs:
listen-metrics-urls: "0.0.0.0"
networking:
podSubnet: 10.244.0.0/16
controllerManager:
Expand All @@ -63,6 +75,10 @@ write_files:
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
cgroupDriver: systemd
---
apiVersion: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
metricsBindAddress: "0.0.0.0:10249"
- path: /etc/kubernetes/pki/ca.crt
permission: 0600
content: |
Expand Down

0 comments on commit 1e5450e

Please sign in to comment.