Skip to content

Commit

Permalink
Merge pull request #3094 from tzneal/remove-qps-limits-for-1.27
Browse files Browse the repository at this point in the history
k8s 1.27: remove defaults for kube-api-burst and kube-api-qps
  • Loading branch information
etungsten authored May 9, 2023
2 parents 778737c + db109df commit 9cd5929
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/kubernetes-1.27/kubelet-config
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@ eventRecordQPS: {{settings.kubernetes.event-qps}}
{{#if settings.kubernetes.event-burst includeZero=true}}
eventBurst: {{settings.kubernetes.event-burst}}
{{/if}}
kubeAPIQPS: {{default 10 settings.kubernetes.kube-api-qps}}
kubeAPIBurst: {{default 20 settings.kubernetes.kube-api-burst}}
{{#if settings.kubernetes.kube-api-qps includeZero=true}}
kubeAPIQPS: {{settings.kubernetes.kube-api-qps}}
{{/if}}
{{#if settings.kubernetes.kube-api-burst includeZero=true}}
kubeAPIBurst: {{settings.kubernetes.kube-api-burst}}
{{/if}}
kubeReserved:
cpu: "{{kube_reserve_cpu settings.kubernetes.kube-reserved.cpu}}"
{{#if settings.kubernetes.kube-reserved.memory}}
Expand Down

0 comments on commit 9cd5929

Please sign in to comment.