X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fcluster%2Ftemplates%2Fkubeadmcontrolplane.yaml;h=3342c7305b4bedbef8f236e8ad4387102ad009c4;hb=53692156832a326a5d1123e3284a3f8737ed395f;hp=37fdb0f5350c5f6e33fdcc42432c5361a037c5bd;hpb=365f1880f94e332be99ac4516866c9e03cd9d91f;p=icn.git diff --git a/deploy/cluster/templates/kubeadmcontrolplane.yaml b/deploy/cluster/templates/kubeadmcontrolplane.yaml index 37fdb0f..3342c73 100644 --- a/deploy/cluster/templates/kubeadmcontrolplane.yaml +++ b/deploy/cluster/templates/kubeadmcontrolplane.yaml @@ -22,6 +22,9 @@ spec: nodeRegistration: kubeletExtraArgs: node-labels: metal3.io/uuid={{ "{{" }} ds.meta_data.uuid {{ "}}" }} + cpu-manager-policy: static + topology-manager-policy: best-effort + kube-reserved: cpu=200m,memory=512Mi name: '{{ "{{" }} ds.meta_data.name {{ "}}" }}' preKubeadmCommands: {{- if .Values.networks }} @@ -33,7 +36,7 @@ spec: - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - - add-apt-repository "deb https://apt.kubernetes.io/ kubernetes-xenial main" - - apt update -y + - apt-get update -y - apt-get install -y ca-certificates {{- if .Values.keepalived }} - apt-get install -y keepalived