Rolf Neugebauer
e374cb3543
demo: Update etcd demo to use linuxkit
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-14 11:57:24 -05:00
Rolf Neugebauer
8462e34d6e
demo: Update README
...
latest DfM has all the bits you need...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-14 11:57:24 -05:00
Rolf Neugebauer
d526707240
demo: Switch intro to use linuxkit
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-14 11:57:24 -05:00
Justin Cormack
72c3f9cfa2
More renames to LinuxKit
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-04-14 11:47:24 -05:00
Thomas Gazagnaire
94583013aa
miragesdk: simplify the build by using multi-stage Dockerfile
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-14 17:05:36 +02:00
Justin Cormack
ea39f0b87d
Merge pull request #1614 from riyazdf/ineffassign-bump
...
Bump go-compile with ineffassign
2017-04-14 07:30:10 -05:00
Jose Carlos Venegas Munoz
b485f729e8
clear-containers: Add script to launch base OS and kernel
...
This commit adds the script qemu.sh that will be used in a
docker container (created with Dockerfile).
This script will crate qemu instance to lauch a Clear Container
base OS with a kernel generated with moby.
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com >
2017-04-14 09:26:10 +00:00
Jose Carlos Venegas Munoz
f2569c0e75
clear-containers: Enable kernel security options used by moby
...
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com >
2017-04-14 09:26:10 +00:00
Jose Carlos Venegas Munoz
844f058689
clear-containers: enable PAGE POISONING ZERO
...
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com >
2017-04-14 09:26:04 +00:00
Jose Carlos Venegas Munoz
2b1fb70f35
projects: Add Clear Containers intial support
...
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com >
2017-04-14 09:23:37 +00:00
Riyaz Faizullabhoy
9609010ea8
Also update ymls
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-04-13 09:17:14 -07:00
Rolf Neugebauer
85d6492d5d
kernel: Use linuxkit images for compilingi/packaging the kernel
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
36749ea5c4
build: Switch using c-compile from linuxkit hub org
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-12 21:28:17 +01:00
Justin Cormack
c5c6c26b3f
Merge pull request #1610 from samoht/sdk-roadmp
...
miragesdk: update roadmap
2017-04-12 19:40:47 +01:00
Thomas Gazagnaire
1e83a9f9b4
miragesdk: update roadmap
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 17:47:42 +02:00
Rolf Neugebauer
a1ce71cd0a
Update YAML files with new metadata package
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-12 16:20:41 +01:00
Justin Cormack
45c2921c7c
Merge pull request #1606 from rneugeba/meta2
...
Improve/Fix metadata package and use it
2017-04-12 15:55:54 +01:00
Justin Cormack
c01d0e2777
Merge pull request #1587 from errordeveloper/kubernetes
...
Kubernetes with Weave CNI networking
2017-04-12 15:50:04 +01:00
Rolf Neugebauer
0cd867d315
demo: Update etcd YAML to new metadata package
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-12 15:42:48 +01:00
Thomas Gazagnaire
238879f2d4
miragesdk: add temporary auto-gen files
...
The capnp compiler is not yet available in alpine.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 16:29:49 +02:00
Thomas Gazagnaire
a0546bba88
miragesdk: use cap-n-proto instead of custom binary protocol for calf/priv API
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 16:29:49 +02:00
Ilya Dmitrichenko
385f1a6634
Use LinuxKit
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
2017-04-12 15:08:16 +01:00
Ilya Dmitrichenko
340e97ae53
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 >
2017-04-12 15:02:03 +01:00
Thomas Gazagnaire
0a18bf3a00
miragesdk: update to latest base init
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 15:56:29 +02:00
Justin Cormack
e4213f1582
Merge pull request #1602 from justincormack/slash-rshared
...
Make / rshared
2017-04-12 13:39:31 +01:00
Thomas Gazagnaire
2cc09805c9
Merge pull request #1543 from samoht/mac
...
miragesdk: do not generate a random mac
2017-04-12 14:29:19 +02:00
Justin Cormack
3c326bebdf
Make / rshared
...
Previously only `/var` was `rshared` but some people need to share
mounts in `/opt` etc so let us make everything `rshared` for now.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-04-12 13:10:46 +01:00
Rolf Neugebauer
b0629176ab
examples: Don't use a file section if you don't need it
...
Exception is ./moby.yaml where it serves as an example.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-12 12:26:30 +01:00
Rolf Neugebauer
a59e24b4fa
example: Don't use the full @sha25t version of images
...
The sha1 tag should be sufficient to uniquely identify the image
and the sha256 versions are just very long...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-12 12:24:02 +01:00
Thomas Gazagnaire
dc4ff8accd
miragesdk: update DHCP client example to use latest images
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 12:09:30 +02:00
Thomas Gazagnaire
2b0009ee06
miragesdk: be a bit less verbose in debug mode
...
It's not very interesting to see the forwarded stdout/stderr messages as
they will end-up being printed anyway.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 12:08:32 +02:00
Thomas Gazagnaire
b18d50b5e4
miragesdk: rebase init pkg to catch up with upstream changes
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 12:06:50 +02:00
Thomas Gazagnaire
396ffabc41
miragesdk: tune down some debug code
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 11:04:33 +02:00
Thomas Gazagnaire
df9833ed68
miragesdk: add missing Sdk.Net files
...
Probably my inconscient which refused to show the world these hacks.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
abe96b0447
miragesdk: use the interface's MAC address instead of using a random one
...
The priv container populate the `/mac` key on startup, that the calf can
then read.
Also add more fine-grained control over read/write delete capabilities attached
to the routes, e.g. the calf can read /mac but not write to it.
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
0d7e584e32
miragesdk: remove dead-code and code repetition
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
95d362ab7e
miragesdk: clean error handling for Sdk.Ctl.Client
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 11:04:16 +02:00
Thomas Gazagnaire
703657a54f
miragesdk: update Dockerfiles
...
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org >
2017-04-12 11:04:16 +02:00
Justin Cormack
f47bc385c6
Merge pull request #1588 from rneugeba/meta-up
...
demo: Switch etcd to use metadata
2017-04-11 20:08:16 +01:00
Rolf Neugebauer
049993fc3d
demo: Switch etcd to use metadata
...
Also add more services.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-04-11 19:10:32 +01:00
Justin Cormack
25f8036bc4
Merge pull request #1585 from errordeveloper/kubernetes
...
Basic multi-node Kubernetes cluster
2017-04-11 16:17:31 +01:00
Ilya Dmitrichenko
52ba02b9c8
Basic multi-node support
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
2017-04-11 15:42:57 +01:00
Justin Cormack
2c7628c101
Support dhcpcd in one shot mode as well
...
This is needed for cloud environments that want to get their metadata in
the onboot phase over the network.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-04-11 14:58:57 +01:00
Ilya Dmitrichenko
89b8021f62
Create /var/lib/kubelet at runtime, after /var is mounted
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
2017-04-11 13:59:38 +01:00
Ilya Dmitrichenko
7bcca5cf7f
Sync with examples/doecker.yml
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
2017-04-11 13:59:37 +01:00
Ilya Dmitrichenko
73a29022ce
Cache Kubernetes images, update image names, add boot-master.sh
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
2017-04-11 13:59:30 +01:00
Justin Cormack
64933fa292
Merge pull request #1572 from errordeveloper/kubernetes
...
Working single-node Kubernetes setup
2017-04-11 09:56:35 +01:00
Ilya Dmitrichenko
85b54d5717
Fix shared mounts – working single-node Kubernetes setup
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
2017-04-11 09:43:07 +01:00
Riyaz Faizullabhoy
5f90faeafa
init: update main moby example and tests
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2017-04-10 11:59:23 -07:00
Ilya Dmitrichenko
91c4278c77
Use new modular init containers, flatten kubelet image
...
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
2017-04-10 17:43:12 +01:00