Commit Graph

58 Commits

Author SHA1 Message Date
Jimmy Jones
0521ebad41 Include easy-rsa in container to avoid it being downloaded at runtime 2016-04-15 21:36:54 +01:00
Lucas Käldström
4559a84d3b Build Kubernetes, etcd and flannel for arm64 and ppc64le 2016-04-14 07:29:10 +03:00
k8s-merge-robot
b8d000853e Merge pull request #21617 from luxas/hyperkube_for_arm
Automatic merge from submit-queue

Cross-build hyperkube and debian-iptables for ARM. Also add a flannel image

We have to be able to build complex docker images too on `amd64` hosts.
Right now we can't build Dockerfiles with `RUN` commands when building for other architectures e.g. ARM.

Resin has a tutorial about this here: https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/
But it's a bit clumsy syntax.

The other alternative would be running this command in a Makefile:
```
# This registers in the kernel that ARM binaries should be run by /usr/bin/qemu-{ARCH}-static
docker run --rm --privileged multiarch/qemu-user-static:register --reset
```
and 
```
ADD https://github.com/multiarch/qemu-user-static/releases/download/v2.5.0/x86_64_qemu-arm-static.tar.xz /usr/bin
```
Then the kernel will be able to differ ARM binaries from amd64. When it finds a ARM binary, it will invoke `/usr/bin/qemu-arm-static` first and lets `qemu` translate the ARM syscalls to amd64 ones.
Some code here: https://github.com/multiarch

WDYT is the best approach? If registering `binfmt_misc` in the kernels of the machines is OK, then I think we should go with that.
Otherwise, we'll have to wait for resin's patch to be merged into mainline qemu before we may use the code I have here now.

@fgrzadkowski @david-mcmahon @brendandburns @zmerlynn @ixdy @ihmccreery @thockin
2016-04-04 22:03:32 -07:00
Lucas Käldström
560268e036 Add a flannel image for arm and amd64. Cross-build debian-iptables for arm, arm64 and ppc64le. Build and push hyperkube for arm on every release 2016-04-04 23:33:32 +03:00
k8s-merge-robot
1521aa8a86 Merge pull request #23550 from luxas/fix_hyperkube_certs
Automatic merge from submit-queue

Fix so setup-files don't recreate/invalidate certificates that already exist

Fixes: #23197 and a lot of other DNS and dashboard issues

This is quite critical for `docker`-based users and should be considered as a **cherrypick-candidate** as it makes a lot of people wonder why Dashboard and/or DNS doesn't work. Example: https://github.com/kubernetes/dashboard/issues/374

Earlier when you shut your `docker.md` cluster down and started it again, all ServiceAccounts became invalidated by `setup-files` that happily ran once again and replaced all files. That made `apiserver` and `controller-manager` pick up the new certs (or there was a race condition, they _could_ have picked up the old certs too, but that's unlikely) and the old certs were put into `/var/run/secrets` because the ServiceAccount's Secrets were stored in etcd, which `setup-files` didn't touch.

@fgrzadkowski @huggsboson @thockin @mikedanese @vishh @pwittrock @eparis @bgrant0607
2016-04-01 14:47:17 -07:00
Lucas Käldström
858b9539d5 Fix so setup-files don't recreate/invalidate certificates that already exist 2016-04-01 21:23:58 +03:00
Jimmy Jones
b26f5016b2 Add git to hypekube image
Fixes #15855 - when using a docker multinode setup, this makes gitRepo volumes work
2016-03-23 23:00:01 +00:00
Manuel de Brito Fontes
a2b4bc0ae3 Allow running make in mac and change sed separator to allow custom paths in registry 2016-03-12 22:59:08 -03:00
Lucas Käldström
e9af6c34af Update the DNS template from cluster/addons/dns and combine into one file. Make DNS working on docker and docker-multinode 2016-02-25 21:59:07 +02:00
Andrei Kopats
e5c321f6af Add internal API-server IP to the list of certificate SANs
Without this kube2sky fails to comunicate to the API server because
server TLS verification fails. DNS addon doesn't work on
docker setups
2016-02-19 11:37:24 +03:00
laushinka
7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Lucas Käldström
d5b7fd7f95 Remove -v /dev:/dev from docker and docker-multinode 2016-02-07 22:15:20 +02:00
Paul Morie
b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie
05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
k8s-merge-robot
36b6d80912 Merge pull request #17213 from luxas/16987-default-serviceaccount-secret-hyperkube
Auto commit by PR queue bot
2016-01-21 04:31:45 -08:00
k8s-merge-robot
cc7acc0c58 Merge pull request #19061 from fgrzadkowski/release_docker
Auto commit by PR queue bot
2016-01-11 20:56:00 -08:00
k8s-merge-robot
d246ed00fa Merge pull request #18894 from luxas/update_master_multi
Auto commit by PR queue bot
2016-01-11 20:38:41 -08:00
Lucas Käldström
7d497441b3 Update docker-multinode instructions and version. Also run kube-proxy in a pod in the docker-multnode manifest 2016-01-11 16:45:56 +02:00
Lucas Käldström
10a70a6ffd Added shared volume to the master-multi setup, so serviceAccounts also works for multi-host setups. 2016-01-06 09:50:16 +02:00
Filip Grzadkowski
e7e8c5af84 Push docker images for cluster components during release. 2016-01-05 12:36:10 +01:00
k8s-merge-robot
2fb0aa6e5e Merge pull request #19147 from luxas/experimentl_apiserver
Auto commit by PR queue bot
2016-01-05 02:59:17 -08:00
Lucas Käldström
324890e267 Update a deprecated flag in hyperkube manifest 2015-12-30 23:01:02 +02:00
Filip Grzadkowski
7226b9ca0c Remove --cluster-name flag from hyperkube configuration. 2015-12-29 16:47:36 +01:00
Filip Grzadkowski
215b4cc41f Refactor hyperkube Makefile to avoid changing local files 2015-12-29 10:38:20 +01:00
k8s-merge-robot
7a8b9e64bd Merge pull request #18932 from luxas/dns_docker_guide
Auto commit by PR queue bot
2015-12-20 08:29:16 -08:00
Lucas Käldström
6ab098ec56 Add the default dns options to kubelet when running inside docker and document it 2015-12-19 17:36:36 +02:00
runseb
3f8504be80 Add ServiceAccount to admission-control
Seems ServiceAccount is missing for single node docker deployment based on master.json
2015-12-17 17:02:53 +01:00
k8s-merge-robot
a702364470 Merge pull request #18351 from fgrzadkowski/simple_single_node
Auto commit by PR queue bot
2015-12-14 13:54:26 -08:00
Filip Grzadkowski
f2d56c4198 Simplify local docker setup. 2015-12-11 15:53:44 +01:00
Tim Hockin
340d29a48c Add ethtool to hyperkube 2015-12-06 23:04:33 -08:00
Brendan Burns
d2dbe56820 Add linux/arm to the list of server builds 2015-11-23 13:55:56 -08:00
Brendan Burns
ce90b83689 Update some flags 2015-11-20 11:47:31 -08:00
Alfonso Acosta
a9465e77c7 Add socat command to hyperkube image
This is needed to for port forwarding to work in kubelet.
2015-11-12 12:39:35 +00:00
Robert Bailey
1c212b88e7 Stop using the deprecated --portal-net flag in the docker
single/multi-node examples.
2015-10-07 23:07:08 -07:00
Mikel Nelson
a90e3beb0f Smaller hyperkube image...fix git flub 2015-09-10 17:44:10 -07:00
Filip Grzadkowski
1a9b0d6018 Fix mounting volumes in docker based kubernetes setup. 2015-09-01 16:42:23 +02:00
Eric Paris
86ca88be61 convert cluster/ from --flag_name= --flag-name= 2015-08-07 11:00:13 -04:00
Brendan Burns
132575bcf8 Update single node docker to 1.0.1 2015-07-29 13:43:27 -07:00
Brendan Burns
ab4448a0d6 Update multi-node docker instructions:
* Update etcd and add a warning about Docker 1.7.0
   * Update kubernetes to 0.21.2, Flannel to 0.5.0
   * Remove --sync-nodes which is removed.
2015-07-13 21:28:07 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Mike Danese
1e130e0794 remove --machines from code and docs 2015-06-25 18:29:11 -07:00
Tim St. Clair
f5830edbbc s/gcloud preview docker/gcloud docker/ 2015-06-18 12:27:08 -07:00
wizard
4e92f409a0 update docker k8s approach 2015-06-16 09:44:21 +08:00
Brendan Burns
4b904c34a8 Update Docker instructions. 2015-06-10 21:40:06 -07:00
Tim Hockin
3005471100 Add new apiserver flags for clusterIP (nee portal)
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Brendan Burns
f51f8b3a86 More fixes for release 0.17.0 2015-05-18 20:47:03 -07:00
Brendan Burns
cbef26b1dd Update docker instructions to 0.17.0 2015-05-18 16:51:48 -07:00
Victor Marmol
2b1b85468a Merge pull request #7330 from chrismoos/volume_format_script_updates
Add safe_format_and_mount to hyperkube image.
2015-05-14 09:17:20 -07:00
Brendan Burns
48d7604f4e Update single node docker to 0.16.2 2015-05-13 11:15:56 +01:00
Chris Moos
1b814ffd2c Add safe_format_and_mount to hyperkube image.
* Add volume format script into hyperkube image.
* Fix issue with format script on non-redhat platforms.
2015-05-04 21:25:39 -07:00