Skip to content

Commit

Permalink
Enable garbage collection
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Kvapil <[email protected]>
  • Loading branch information
kvaps committed Aug 7, 2024
1 parent d4d38c8 commit f47df4a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions internal/kubeadm/uploadconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,15 @@ func getKubeletConfigmapContent(kubeletConfiguration KubeletConfiguration) ([]by
CacheUnauthorizedTTL: zeroDuration,
},
},
CgroupDriver: kubeletConfiguration.TenantControlPlaneCgroupDriver,
ClusterDNS: kubeletConfiguration.TenantControlPlaneDNSServiceIPs,
ClusterDomain: kubeletConfiguration.TenantControlPlaneDomain,
CPUManagerReconcilePeriod: zeroDuration,
EvictionHard: map[string]string{
"imagefs.available": "0%",
"nodefs.available": "0%",
"nodefs.inodesFree": "0%",
},
CgroupDriver: kubeletConfiguration.TenantControlPlaneCgroupDriver,
ClusterDNS: kubeletConfiguration.TenantControlPlaneDNSServiceIPs,
ClusterDomain: kubeletConfiguration.TenantControlPlaneDomain,
CPUManagerReconcilePeriod: zeroDuration,
EvictionPressureTransitionPeriod: zeroDuration,
FileCheckFrequency: zeroDuration,
HealthzBindAddress: "127.0.0.1",
HealthzPort: pointer.To(int32(10248)),
HTTPCheckFrequency: zeroDuration,
ImageGCHighThresholdPercent: pointer.To(int32(100)),
NodeStatusUpdateFrequency: zeroDuration,
NodeStatusReportFrequency: zeroDuration,
RotateCertificates: true,
Expand Down

0 comments on commit f47df4a

Please sign in to comment.