Skip to content

Commit 942ce77

Browse files
authored
Merge pull request #54 from pgayvallet/nfs-support
allow mounting of nfs volumes in k8s
2 parents 87d035d + 083e66e commit 942ce77

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

pkg/kubelet/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ RUN apk add --no-cache --initdb -p /out \
9292
openssl \
9393
socat \
9494
util-linux \
95+
nfs-utils \
9596
&& true
9697

9798
RUN cp $GOPATH/src/github.com/kubernetes/kubernetes/_output/bin/kubelet /out/usr/bin/kubelet

pkg/kubelet/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ config:
3535
- /var/lib/cni/conf
3636
- /var/lib/cni/bin
3737
- /var/lib/kubelet-plugins
38+
- /var/lib/nfs/statd/sm
3839
mounts:
3940
- type: bind
4041
source: /var/lib/cni/bin

yml/kube.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ services:
4040
image: linuxkit/sshd:4f403fe5ae53dc3e45c8f6972dced9dddf900ae6
4141
cgroupsPath: systemreserved/sshd
4242
- name: kubelet
43-
image: linuxkit/kubelet:04731d9683fbcde3f3d51f138eb5f2b78a6743d1
43+
image: linuxkit/kubelet:32dd112401be77a3590a50caf0410aa0ce4d21a9
4444
cgroupsPath: podruntime/kubelet
4545
files:
4646
- path: etc/linuxkit.yml

0 commit comments

Comments
 (0)