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
5657738f
Commit
5657738f
authored
7 years ago
by
Spencer Smith
Browse files
Options
Downloads
Patches
Plain Diff
mount os-release to ensure the node's OS is what's seen in k8s api
parent
2b88f10b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/node/templates/kubelet-container.j2
+1
-0
1 addition, 0 deletions
roles/kubernetes/node/templates/kubelet-container.j2
with
1 addition
and
0 deletions
roles/kubernetes/node/templates/kubelet-container.j2
+
1
−
0
View file @
5657738f
...
...
@@ -25,6 +25,7 @@
-v
/var/lib/cni:/var/lib/cni:shared
\
-v
/var/run:/var/run:rw
\
-v
{{
kube_config_dir
}}
:
{{
kube_config_dir
}}
:ro
\
-v
/etc/os-release:/etc/os-release
\
{{
hyperkube_image_repo
}}
:
{{
hyperkube_image_tag
}}
\
./hyperkube kubelet
\
"
$@
"
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