Ian Campbell
6659aa0815
kubernetes: refactor final metadata construction to common location
...
Shared between the master and node cases.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-15 10:30:04 +00:00
Ian Campbell
d88a1e591d
Bump runc yml
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-15 09:34:06 +00:00
Rolf Neugebauer
879ea03277
Merge pull request #2703 from guillaumerose/multi
...
metadata: handle json with more than 2 levels
2017-11-14 13:39:27 +00:00
Guillaume Rose
74167a5dd1
metadata: update image
...
Signed-off-by: Guillaume Rose <guillaume.rose@docker.com >
2017-11-13 15:54:48 +01:00
Justin Cormack
1040a9b9ab
Merge pull request #2706 from rn/no-cma
...
Kernel update to 4.13.12/4.9.61/4.4.97 + disable CMA on arm64
2017-11-13 12:26:38 +01:00
David Scott
eb7eff8ad7
kubernetes: allow yaml to be provided via metadata
...
Previously the network policy yaml had to be hard-coded in the image.
This patch allows the policy to be added via the metadata directories:
- /var/config/cni/etc/net.d/
- /var/config/kube-system.init/
Signed-off-by: David Scott <dave.scott@docker.com >
2017-11-11 12:04:36 +00:00
Ian Campbell
e7327db49f
kubernetes: bump yaml
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-10 14:51:23 +00:00
Ian Campbell
c08c77e3c8
kubernetes: bump to cri-containerd master
...
This includes a bump to use containerd v1.0.0-beta.3.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-10 14:50:11 +00:00
Ian Campbell
cf01aa4c8d
kubernetes: Add a simple bridged option for KUBE_NETWORK
...
This has no kube object(s) but just arranges for the CNI configuration to be
written in the right place. The CNI bridge, loopback etc binaries are already
included since they are in the reference set.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-10 14:50:11 +00:00
Ian Campbell
ed0e79aa9d
kubernetes: Refactor network provider selection
...
KUBE_NETWORK now specifies a yml which is passed to the Moby tool, which can
introduce files into /etc/kubeadm/kube-system.init/ or do other things as it
likes.
In the case of weave this just adds the weave yaml to that directory. To avoid
too much confusion between weave.yml (Moby tool input) and `weave.yaml` (the
kubernetes `ServiceAccount`, `DeamonsSet` etc object specs) name the latter
`kube-weave.yaml`.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-10 14:50:11 +00:00
Ian Campbell
22cdd22184
kubernetes: Only build the relevant image for the platform
...
Building both BIOS and EFI variants is a waste of time in most cases, instead
just build whichever one is relevant to the platform (which currently means EFI
on Darwin and BIOS everywhere else).
At the same time make it possible to pass "KUBE_FORMATS" (a space separated
list of targets) to the build e.g. `make KUBE_FORMATS="iso-efi iso-bios"` will
preserve the behaviour prior to this patch.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-10 14:50:11 +00:00
Ian Campbell
425553d390
kubernetes: better tolerate bad contents of /etc/kubeadm/kube-system.init/
...
Specifically ignore present-but-empty files entirely and ignore (but log)
failure to apply any one file.
Ignoring an empty file is useful because it means you can clobber a file which
might be referenced from an images binds without needing to override those
binds (since that generally means duplicating the whole lot which is annoying).
Ignoring any failures to apply means the rest gets applied and the rest of the
script (including untaint and the stamp file creation) still happen, resulting
in a system where the admin just has to address the failures rather than the
remaining updates. We touch a file to indicate failure generally plus one to
indicate the specific yaml which failed to apply.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-10 14:50:11 +00:00
Rolf Neugebauer
e1a12cd67d
Update YAML files to new kernel versions
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-11-10 14:20:25 +00:00
Ian Campbell
a5f4da2ebb
Bump yml for containerd v1.0.0-beta.3
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-09 10:16:33 +00:00
pgayvallet
179c82e0cb
Move kubelet.sh.conf sourcing before exit checks
...
Signed-off-by: pgayvallet <pierre.gayvallet@gmail.com >
2017-11-06 17:32:59 +01:00
pgayvallet
ba8e01bf13
Add capability to not start kubelet depending on either a configuration file or an environment variable.
...
Signed-off-by: pgayvallet <pierre.gayvallet@gmail.com >
2017-11-06 15:08:22 +01:00
w9n
7b16f41540
Kubernetes: Autoinit and persistent state by default
...
Signed-off-by: Robin Winkelewski <w9ncontact@gmail.com >
2017-11-05 13:15:50 +01:00
Rolf Neugebauer
4866a1c4d6
Update YAML files with latest kernels
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-11-03 15:11:07 +00:00
Rolf Neugebauer
0ab77ee843
Update YAMLs with getty/ip/sshd packages
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-11-03 15:11:06 +00:00
Ian Campbell
a30481dcfb
kubernetes: s/NETWORK/KUBE_&/ in Makefile for consistency
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-02 10:51:14 +00:00
Ian Campbell
f2d94ab7f3
kubernetes: Bump hashes.
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-02 10:12:35 +00:00
Ian Campbell
678c5b9b7b
kubernetes: bump to k8s 1.8.2 and weave 2.0.5
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-02 10:00:34 +00:00
Ian Campbell
fb6f7eef9d
kubernetes: Bump to Docker 17.10-ce
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-01 15:21:53 +00:00
Ian Campbell
8511e626fd
kubernetes: bump cri-containerd yml to hash containing v1.0.0-alpha.1
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-01 10:24:29 +00:00
Ian Campbell
56ff03da2d
kubernetes: bump to cri-containerd v1.0.0-alpha.1
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-01 10:21:24 +00:00
Ian Campbell
06943bb005
kubernetes: Add socat to cri-containerd package.
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-11-01 10:20:12 +00:00
Theo Koulouris
10fc7997af
okernel: made image building container use '--no-cache' option
...
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com >
2017-10-30 15:25:59 +00:00
Theo Koulouris
611d3cb6fd
okernel: cleaned-up kernel config
...
Signed-off-by: Theo Koulouris <theo.koulouris@hpe.com >
2017-10-30 10:42:58 +00:00
Rolf Neugebauer
a8b9693878
Update YAML files to latest kernels
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-10-28 22:08:20 +01:00
Ian Campbell
b170f62832
Updates for kube+swarmd projects rebuilt with new alpine
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-24 11:49:13 +01:00
Ian Campbell
d194639faf
Updates for pkg/* which are rebuilt with new alpine
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-24 11:05:58 +01:00
Ian Campbell
6c7b1c0251
Bump all packages to newest alpine.
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-24 10:11:24 +01:00
Ian Campbell
c7c06541a7
Merge pull request #2629 from rn/kup
...
Kernel updates
2017-10-23 15:24:55 +01:00
Ian Campbell
a571ae62e1
kubernetes: bump image cache hash.
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-23 10:23:02 +01:00
Ian Campbell
76d655ebe4
kuberenetes: Bump image cache to v1.8.1
...
I forgot to do this in #2626 .
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-23 10:08:15 +01:00
Rolf Neugebauer
456f8f737d
Update YAML files to latest kernels
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-10-22 19:49:15 +01:00
Rolf Neugebauer
0df77e4858
Merge pull request #2612 from rn/rpi3
...
Initial Raspberry Pi 3 support
2017-10-21 13:31:26 +02:00
Rolf Neugebauer
1a58f16465
Update YAML files to latest kernels
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-10-20 20:22:03 +01:00
Ian Campbell
2dc52c6d04
kubernetes: Bump yaml
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-20 15:03:06 +01:00
Ian Campbell
b93389b239
kubernetes: Update to v1.8.1
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-20 15:01:06 +01:00
Rolf Neugebauer
e80c411ffe
Merge pull request #2619 from codergr/master
...
Update README.md to include link towards Kubernetes project
2017-10-20 15:02:31 +02:00
Sotiris Salloumis
f7677e7178
Update README.md
...
Addition of a link to the Kubernetes project
Signed-off-by: Sotiris Salloumis <sotiris.salloumis@gmail.com >
2017-10-20 04:54:53 -04:00
Nick Jones
2ccce690fa
Update metadata image ref
...
Signed-off-by: Nick Jones <nick@dischord.org >
2017-10-19 11:56:52 +01:00
Sotiris Salloumis
5d54dcc6fc
Update README.md
2017-10-18 15:12:42 +02:00
Avi Deitcher
da42ced2db
Move mounted file from /var/html to /etc/html
...
Signed-off-by: Avi Deitcher <avi@deitcher.net >
2017-10-18 10:58:38 +03:00
Ian Campbell
5e6a78821b
Update yaml and reenable linuxkit.packages.containerd test
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-12 17:29:19 +01:00
Ian Campbell
29fc12607f
Update various other go base pkgs to newer alpine (go1.9)
...
These are those which set $GOPATH but don't use go-compile.sh.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-12 16:50:47 +01:00
Ian Campbell
1d030172bf
Merge pull request #2600 from ijc/containerd-v1.0.0-beta.2
...
Bump to containerd v1.0.0-beta.2
2017-10-12 16:19:01 +01:00
Ian Campbell
504b5388bd
kubernetes: Mount /etc/os-release into docker cotainer too
...
This makes `docker info` show the same OS as `kubectl get -o wide nodes`.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-12 14:14:46 +01:00
Ian Campbell
510802a245
Update yml
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-12 13:04:16 +01:00