mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-05 20:45:41 +00:00
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:
12
projects/kubernetes/ssh.sh
Executable file
12
projects/kubernetes/ssh.sh
Executable 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 \
|
||||
"$@"
|
||||
Reference in New Issue
Block a user