Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable higher core oversubscription for Pods per Core #525

Open
williamcaban opened this issue May 10, 2021 · 0 comments
Open

Enable higher core oversubscription for Pods per Core #525

williamcaban opened this issue May 10, 2021 · 0 comments

Comments

@williamcaban
Copy link

For DU profiles consider setting the podsPerCore: 0 so there is no restrictions on the number of Pods per physical Core (default to 20) and allowing platform workload to have better oversubscription on resource utilization.

Also, since each node by default gets a /23, increasing the node level limit to 500 (default 250) will also help with dense configurations.

apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
  name: max-pods-500 
spec:
  machineConfigPoolSelector:
    matchLabels:
      custom-kubelet: max-pods-500 
  kubeletConfig:
    # unlimited Pods per core
    podsPerCore: 0
    # max Pods per Node (max must be less than node CIDR)
    # For /23, the max IP available are 2^(32-23)-2 = 510
    maxPods: 500 

Then apply it to the master role for it to be enabled for the SNO

oc label machineconfigpool master custom-kubelet=max-pods-500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant