Kubernetes with Weave CNI networking

For the time being I've decided to exploit shared mounts to make
`/opt/cni` and `/etc/cni` work as expected. We need these directories
to appear writable on the host, and allow Weave Net pod to bind-mount
out them in order to install plugin binaries, and allow for vanilla
CNI plugins to be also accessible to kubelet.

Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
Ilya Dmitrichenko
2017-04-11 17:37:56 +01:00
parent f603d37638
commit 340e97ae53
14 changed files with 208 additions and 137 deletions

12
projects/kubernetes/ssh.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash -eux
docker run \
-ti \
-v ~/.ssh/:/root/.ssh \
jdeathe/centos-ssh \
ssh \
-o Compression=yes \
-o LogLevel=FATAL \
-o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \
-o IdentitiesOnly=yes \
"$@"