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
Ian Campbell
27f8cb7283
Update yml
...
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-12 11:16:46 +01:00
Ian Campbell
466e5db203
kubernetes: Add /etc/os-release to host and bind to kubelet image.
...
Adding a `PRETTY_NAME` to this causes it to appear in the node information:
$ kubectl --namespace=kube-system get -o wide nodes
NAME STATUS ROLES AGE VERSION EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
linuxkit-b6e09efea36e Ready master 29m v1.8.0 <none> LinuxKit Kubernetes Project 4.9.53-linuxkit containerd://1.0.0-beta.1
Previously it would be `Unknown`.
A later yaml passed to `moby build` can override this by simply duplicating
the path.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-12 11:15:50 +01:00
Ian Campbell
26d93d613c
kubernetes: use copy --from=image-ref
...
I hadn't realised this was possible, it means we don't need the dummy `FROM ...
AS docker`.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-12 11:09:10 +01:00
Rolf Neugebauer
8173300f76
Update YAML files to new kernels
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2017-10-11 13:12:49 +01:00
Ian Campbell
4df5d394e8
Bump yml
...
Done as follows:
find -name build.yml | xargs dirname | while read d ; do
t=$(linuxkit pkg show-tag $d)
./scripts/update-component-sha.sh --image ${t%:*} ${t#*:}
done
git commit -s test pkg tools blueprints examples projects/kubernetes projects/swarmd docs linuxkit.yml Makefile src
This explicitly excludes projects/* which I did not know whether to update.
Then:
git reset --hard
for i in init runc containerd ca-certificates sysctl dhcpcd getty rngd ; do
o=$(git grep -h "\(image:\|-\) *linuxkit/$i:[0-9a-f]\{40\}" origin/master:linuxkit.yml | awk '// { print $2 }')
n=$(linuxkit pkg show-tag pkg/$i)
./scripts/update-component-sha.sh "$o" "$n"
done
git commit --amend projects
This updates any projects which were using components with the same hash as the
top-level linuxkit.yml.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-10 13:23:45 +01:00
Ian Campbell
a237b51511
Bump alpine base across the board.
...
By running:
./scripts/update-component-sha.sh --image linuxkit/alpine ad35b6ddbc70faa07e59a9d7dee7707c08122e8d
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-10 09:55:45 +01:00
Ian Campbell
13d11f49ba
Rename "tag*" Makefile targets to "build*"
...
This better matches the `linuxkit pkg build` nomenclature.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-09 16:48:48 +01:00
Ian Campbell
298ef8520d
Convert some of projects/kubernetes/* to linuxkit pkg build
...
This just covers those using pkg/package.mk.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-09 16:40:00 +01:00
Justin Cormack
d0882b9674
Merge pull request #2571 from ijc/linuxkit-pkg
...
Implement package build, push and show-tag in linuxkit tool
2017-10-09 13:59:02 +01:00
Nick Jones
d73092adca
Update metadata image references
...
Signed-off-by: Nick Jones <nick@dischord.org >
2017-10-09 12:27:00 +01:00
Ian Campbell
4cdc90e221
Build fields default to false, rename accordingly
...
Added some test cases for the boolean fields because I kept getting confused.
Signed-off-by: Ian Campbell <ijc@docker.com >
2017-10-06 17:43:38 +01:00