fcos-kubelet: Add rpc-statd dependency
To mount nfs volumes with the embedded volume pkg [0], rpc-statd is required and should be started by mount.nfs. When running kubelet in a chroot this fails. With atomic containers it used to work. [0] https://github.com/kubernetes/kubernetes/tree/master/pkg/volume/nfs story: 2005201 task: 39403 Change-Id: Ib64efe7ecbe9a24e86fa9d9a35a4d90c0e8bbf2e Signed-off-by: Spyros Trigazis <strigazi@gmail.com>
This commit is contained in:
parent
01629398c6
commit
1ea8db948c
@ -172,6 +172,8 @@ EOF
|
||||
cat > /etc/systemd/system/kubelet.service <<EOF
|
||||
[Unit]
|
||||
Description=Kubelet via Hyperkube (System Container)
|
||||
Wants=rpc-statd.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/sysconfig/heat-params
|
||||
EnvironmentFile=/etc/kubernetes/config
|
||||
|
@ -65,6 +65,8 @@ if [ "$(echo $USE_PODMAN | tr '[:upper:]' '[:lower:]')" == "true" ]; then
|
||||
cat > /etc/systemd/system/kubelet.service <<EOF
|
||||
[Unit]
|
||||
Description=Kubelet via Hyperkube (System Container)
|
||||
Wants=rpc-statd.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/sysconfig/heat-params
|
||||
EnvironmentFile=/etc/kubernetes/config
|
||||
|
10
releasenotes/notes/kubelet-nfs-b51e572adfb56378.yaml
Normal file
10
releasenotes/notes/kubelet-nfs-b51e572adfb56378.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
For fcos-kubelet, add rpc-statd dependency.
|
||||
To mount nfs volumes with the embedded volume
|
||||
pkg [0], rpc-statd is required and should be
|
||||
started by mount.nfs. When running kubelet
|
||||
in a chroot this fails. With atomic containers
|
||||
it used to work.
|
||||
[0] https://github.com/kubernetes/kubernetes/tree/master/pkg/volume/nfs
|
Loading…
Reference in New Issue
Block a user