Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
0c51352a
Unverified
Commit
0c51352a
authored
4 years ago
by
spaced
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove unused kubelet options (#5903)
parent
9b1980cf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml
+0
-4
0 additions, 4 deletions
inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml
roles/kubernetes/node/defaults/main.yml
+0
-8
0 additions, 8 deletions
roles/kubernetes/node/defaults/main.yml
with
0 additions
and
12 deletions
inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml
+
0
−
4
View file @
0c51352a
...
...
@@ -227,10 +227,6 @@ podsecuritypolicy_enabled: false
# Download kubectl onto the host that runs Ansible in {{ bin_dir }}
# kubectl_localhost: false
# Enable creation of QoS cgroup hierarchy, if true top level QoS and pod cgroups are created. (default true)
# kubelet_cgroups_per_qos: true
# A comma separated list of levels of node allocatable enforcement to be enforced by kubelet.
# Acceptable options are 'pods', 'system-reserved', 'kube-reserved' and ''. Default is "".
# kubelet_enforce_node_allocatable: pods
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes/node/defaults/main.yml
+
0
−
8
View file @
0c51352a
...
...
@@ -11,10 +11,6 @@ kubelet_bind_address: "{{ ip | default('0.0.0.0') }}"
# resolv.conf to base dns config
kube_resolv_conf
:
"
/etc/resolv.conf"
# These options reflect limitations of running kubelet in a container.
# Modify at your own risk
kubelet_enable_cri
:
true
kubelet_cgroups_per_qos
:
true
# Set to empty to avoid cgroup creation
kubelet_enforce_node_allocatable
:
"
\"\"
"
...
...
@@ -23,10 +19,6 @@ kubelet_runtime_cgroups: "/systemd/system.slice"
# Set kubelet cgroups
kubelet_kubelet_cgroups
:
"
/systemd/system.slice"
# Set false to enable sharing a pid namespace between containers in a pod.
# Note that PID namespace sharing requires docker >= 1.13.1.
kubelet_disable_shared_pid
:
true
### fail with swap on (default true)
kubelet_fail_swap_on
:
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment