From 36149cf532e906e72eb1125ecabe1aed5aba140c Mon Sep 17 00:00:00 2001 From: Adrien Reslinger Date: Wed, 20 Oct 2021 17:10:43 +0200 Subject: [PATCH] Update template --- templates/kubeadm-config.yaml.j2 | 75 +++++++++++++++++++++++++++++++- 1 file changed, 74 insertions(+), 1 deletion(-) diff --git a/templates/kubeadm-config.yaml.j2 b/templates/kubeadm-config.yaml.j2 index e9d5596..0dcf866 100644 --- a/templates/kubeadm-config.yaml.j2 +++ b/templates/kubeadm-config.yaml.j2 @@ -147,10 +147,83 @@ ipvs: --- apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration -runtimeRequestTimeout: 5m +#authentication: +# anonymous: +# enabled: false +# webhook: +# cacheTTL: 2m0s +# enabled: true +# x509: +# clientCAFile: /etc/kubernetes/pki/ca.crt +#authorization: +# mode: Webhook +# webhook: +# cacheAuthorizedTTL: 5m0s +# cacheUnauthorizedTTL: 30s {% if ansible_service_mgr == "systemd" %} cgroupDriver: systemd {% endif %} +#cgroupsPerQOS: true +#clusterDNS: +#- 10.96.0.10 +#clusterDomain: cluster.local +#configMapAndSecretChangeDetectionStrategy: Watch +#containerLogMaxFiles: 5 +#containerLogMaxSize: 10Mi +#contentType: application/vnd.kubernetes.protobuf +#cpuCFSQuota: true +#cpuCFSQuotaPeriod: 100ms +#cpuManagerPolicy: none +#cpuManagerReconcilePeriod: 10s +#enableControllerAttachDetach: true +#enableDebuggingHandlers: true +#enforceNodeAllocatable: +#- pods +#eventBurst: 10 +#eventRecordQPS: 5 +#evictionHard: +# imagefs.available: 15% +# memory.available: 500Mi +# nodefs.available: 10% +# nodefs.inodesFree: 5% +#evictionPressureTransitionPeriod: 5m0s +#failSwapOn: true +#fileCheckFrequency: 20s +#hairpinMode: promiscuous-bridge +#healthzBindAddress: 127.0.0.1 +#healthzPort: 10248 +#httpCheckFrequency: 20s +#imageGCHighThresholdPercent: 85 +#imageGCLowThresholdPercent: 80 +#imageMinimumGCAge: 2m0s +#iptablesDropBit: 15 +#iptablesMasqueradeBit: 14 +#kubeAPIBurst: 10 +#kubeAPIQPS: 5 +#logging: {} +#makeIPTablesUtilChains: true +#maxOpenFiles: 1000000 +#maxPods: 110 +#memorySwap: {} +#nodeLeaseDurationSeconds: 40 +#nodeStatusReportFrequency: 1m0s +#nodeStatusUpdateFrequency: 10s +#oomScoreAdj: -999 +#podPidsLimit: -1 +#port: 10250 +#registryBurst: 10 +#registryPullQPS: 5 +#resolvConf: /etc/resolv.conf +#rotateCertificates: true +runtimeRequestTimeout: 5m +#serializeImagePulls: true +#shutdownGracePeriod: 0s +#shutdownGracePeriodCriticalPods: 0s +#staticPodPath: /etc/kubernetes/manifests +#streamingConnectionIdleTimeout: 4h0m0s +#syncFrequency: 1m0s +#topologyManagerPolicy: none +#volumeStatsAggPeriod: 1m0s {% if false %} readOnlyPort: 1