From 899bbb1bfca30c77c1930bce0d57f17b64bd902e Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Fri, 20 Jan 2023 10:34:07 +1100 Subject: [PATCH] Try to fix files --- cluster.yaml | 11 +++++++++-- media/media.yaml | 6 +++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/cluster.yaml b/cluster.yaml index 94f5246..aef0301 100644 --- a/cluster.yaml +++ b/cluster.yaml @@ -10,6 +10,7 @@ bootstrapTokens: usages: - signing - authentication +--- kind: InitConfiguration localAPIEndpoint: advertiseAddress: 192.168.1.2 @@ -30,7 +31,6 @@ apiVersion: kubeadm.k8s.io/v1beta3 certificatesDir: /etc/kubernetes/pki clusterName: home-cluster controlPlaneEndpoint: 192.168.1.2:6443 -controllerManager: {} dns: {} etcd: external: @@ -48,4 +48,11 @@ networking: dnsDomain: cluster.local podSubnet: 10.244.0.0/16 serviceSubnet: 10.96.0.0/12 -scheduler: {} +scheduler: + extraArgs: + address: 0.0.0.0 + bind-address: 0.0.0.0 +controllerManager: + extraArgs: + address: 0.0.0.0 + bind-address: 0.0.0.0 diff --git a/media/media.yaml b/media/media.yaml index a376d82..d3b2141 100644 --- a/media/media.yaml +++ b/media/media.yaml @@ -595,7 +595,11 @@ spec: runAsUser: 0 privileged: true capabilities: - add: ["NET_ADMIN"] + add: + - NET_ADMIN + - CHOWN + - NET_RAW + - SETPCAP imagePullPolicy: IfNotPresent resources: requests: