copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2021-03-22 |
kubernetes, iks |
containers |
{:DomainName: data-hd-keyref="APPDomain"} {:DomainName: data-hd-keyref="DomainName"} {:android: data-hd-operatingsystem="android"} {:api: .ph data-hd-interface='api'} {:apikey: data-credential-placeholder='apikey'} {:app_key: data-hd-keyref="app_key"} {:app_name: data-hd-keyref="app_name"} {:app_secret: data-hd-keyref="app_secret"} {:app_url: data-hd-keyref="app_url"} {:authenticated-content: .authenticated-content} {:beta: .beta} {:c#: data-hd-programlang="c#"} {:cli: .ph data-hd-interface='cli'} {:codeblock: .codeblock} {:curl: .ph data-hd-programlang='curl'} {:deprecated: .deprecated} {:dotnet-standard: .ph data-hd-programlang='dotnet-standard'} {:download: .download} {:external: target="_blank" .external} {:faq: data-hd-content-type='faq'} {:fuzzybunny: .ph data-hd-programlang='fuzzybunny'} {:generic: data-hd-operatingsystem="generic"} {:generic: data-hd-programlang="generic"} {:gif: data-image-type='gif'} {:go: .ph data-hd-programlang='go'} {:help: data-hd-content-type='help'} {:hide-dashboard: .hide-dashboard} {:hide-in-docs: .hide-in-docs} {:important: .important} {:ios: data-hd-operatingsystem="ios"} {:java: .ph data-hd-programlang='java'} {:java: data-hd-programlang="java"} {:javascript: .ph data-hd-programlang='javascript'} {:javascript: data-hd-programlang="javascript"} {:new_window: target="_blank"} {:note .note} {:note: .note} {:objectc data-hd-programlang="objectc"} {:org_name: data-hd-keyref="org_name"} {:php: data-hd-programlang="php"} {:pre: .pre} {:preview: .preview} {:python: .ph data-hd-programlang='python'} {:python: data-hd-programlang="python"} {:route: data-hd-keyref="route"} {:row-headers: .row-headers} {:ruby: .ph data-hd-programlang='ruby'} {:ruby: data-hd-programlang="ruby"} {:runtime: architecture="runtime"} {:runtimeIcon: .runtimeIcon} {:runtimeIconList: .runtimeIconList} {:runtimeLink: .runtimeLink} {:runtimeTitle: .runtimeTitle} {:screen: .screen} {:script: data-hd-video='script'} {:service: architecture="service"} {:service_instance_name: data-hd-keyref="service_instance_name"} {:service_name: data-hd-keyref="service_name"} {:shortdesc: .shortdesc} {:space_name: data-hd-keyref="space_name"} {:step: data-tutorial-type='step'} {:subsection: outputclass="subsection"} {:support: data-reuse='support'} {:swift: .ph data-hd-programlang='swift'} {:swift: data-hd-programlang="swift"} {:table: .aria-labeledby="caption"} {:term: .term} {:tip: .tip} {:tooling-url: data-tooling-url-placeholder='tooling-url'} {:troubleshoot: data-hd-content-type='troubleshoot'} {:tsCauses: .tsCauses} {:tsResolve: .tsResolve} {:tsSymptoms: .tsSymptoms} {:tutorial: data-hd-content-type='tutorial'} {:ui: .ph data-hd-interface='ui'} {:unity: .ph data-hd-programlang='unity'} {:url: data-credential-placeholder='url'} {:user_ID: data-hd-keyref="user_ID"} {:vbnet: .ph data-hd-programlang='vb.net'} {:video: .video}
{: #service-settings}
Review the default settings for Kubernetes components, such as the kube-apiserver
, kubelet
, kube-scheduler
, or kube-proxy
that {{site.data.keyword.containerlong}} sets when you create your cluster.
{: shortdesc}
{: #kube-apiserver}
Review the default settings for the kube-apiserver
master component in {{site.data.keyword.containerlong_notm}}.
{: shortdesc}
Category | Default settings |
---|---|
Default pod tolerations |
|
Privileged pods | allow-privileged=true |
Request headers |
|
Number of client requests |
|
Admission controllers |
|
Kube audit log config |
|
Feature gates | See Feature gates |
TLS cipher support | TLS version =< 1.2 (Kubernetes version 1.19 and earlier):
TLS version 1.3 (Kubernetes version 1.19 and later):
|
{: summary="The rows are read from left to right. The category is in the first column, with the description in the second column."} | |
{: caption="kube-apiserver settings" caption-side="top"} |
{: #kube-controller-manager}
Review the default settings for the kube-controller-manager
master component in {{site.data.keyword.containerlong_notm}}.
{: shortdesc}
Category | Default settings |
---|---|
Feature gates | See Feature gates |
Pod garbage collection threshold | terminated-pod-gc-threshold=12500 |
Horizontal pod autoscaling | horizontal-pod-autoscaler-use-rest-clients=true |
TLS cipher support | TLS version =< 1.2 (Kubernetes version 1.19 and earlier):
TLS version 1.3 (Kubernetes version 1.19 and later):
|
{: summary="The rows are read from left to right. The category is in the first column, with the description in the second column."} | |
{: caption="kube-controller-manager settings" caption-side="top"} |
{: #kubelet}
Review the default settings for the kubelet
worker node component in {{site.data.keyword.containerlong_notm}}.
{: shortdesc}
Category | Default settings |
---|---|
Feature gates | See Feature gates. In addition, CRIContainerLogRotation=true is set. |
Pod manifest path | pod-manifest-path=/etc/kubernetes/manifests |
File check frequency | file-check-frequency=5s |
Container logs |
|
Container runtime endpoint | container-runtime-endpoint=unix:///run/containerd/containerd.sock |
Kubernetes and system reserves |
|
CPU CFS quota | cpu-cfs-quota-period=20ms |
cgroups |
|
Pod eviction |
|
TLS cipher support | TLS version =< 1.2 (Kubernetes version 1.19 and earlier):
TLS version 1.3 (Kubernetes version 1.19 and later):
|
{: summary="The rows are read from left to right. The category is in the first column, with the description in the second column."} | |
{: caption="kubelet settings" caption-side="top"} |
{: #kube-scheduler}
Review the default settings for the kube-scheduler
worker node component in {{site.data.keyword.containerlong_notm}}.
{: shortdesc}
Category | Default settings |
---|---|
TLS cipher support | TLS version =< 1.2 (Kubernetes version 1.19 and earlier):
TLS version 1.3 (Kubernetes version 1.19 and later):
|
{: summary="The rows are read from left to right. The category is in the first column, with the description in the second column."} | |
{: caption="kube-scheduler settings" caption-side="top"} |
{: #kube-proxy}
Review the default settings for the kube-proxy
worker node component in {{site.data.keyword.containerlong_notm}}.
{: shortdesc}
Category | Default settings |
---|---|
Iptable settings |
|
Proxy mode | proxy-mode=iptables |
Feature gates | See Feature gates |
{: summary="The rows are read from left to right. The category is in the first column, with the description in the second column."} | |
{: caption="kube-proxy settings" caption-side="top"} |
{: #feature-gates}
Review the feature gates that are applied to all master and worker node components by default in {{site.data.keyword.containerlong_notm}} clusters. These feature gates differ from the ones that are set up in community distributions. The {{site.data.keyword.cloud_notm}} provider version enables Kubernetes APIs and features that are at beta. Kubernetes alpha features, which are subject to change, are disabled. {: shortdesc}
Kubernetes version | Default feature gates |
---|---|
1.20 |
|
1.19 |
|
1.18 |
|
1.17 |
|
1.16 |
|
1.15 |
|
1.14 |
|
{: caption="Overview of feature gates" caption-side="top"} | |
{: summary="The rows are read from left to right. The version is in the first column, with the default feature gates in the second column."} |