Commit Graph

186 Commits

Author SHA1 Message Date
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Lucas Käldström
622696ca85 Hotfix: Fixup the dns configuration from a breaking feredation PR 2016-06-27 00:03:20 +03:00
Lucas Käldström
ca3ee9e5a1 Revert kube-proxy as a DaemonSet in hyperkube for the v1.3 release 2016-06-22 00:48:46 +03:00
Lucas Käldström
6c53c6a997 Make hyperkube work on all platforms, bump dnsmasq to 1.3 and addon-manager to v3, and always use the latest manifests 2016-06-19 17:15:17 +03:00
bryk
7ca8a99581 Set Dashboard UI version to v1.1.0-beta2
Release info: https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta3
2016-06-10 15:33:48 +02:00
k8s-merge-robot
6c549ae91f Merge pull request #26839 from luxas/add_conntrack
Automatic merge from submit-queue

Add conntrack to hyperkube

Trivial fix for #26515
Please just pass through...

@mikedanese @roberthbailey
2016-06-06 14:50:09 -07:00
k8s-merge-robot
60fe00999b Merge pull request #26779 from bryk/release-beta2
Automatic merge from submit-queue

Set Dashboard UI version to v1.1.0-beta2

This is our second beta. Next will come weekly till we reach final v1.1 version.

https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta2

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-04 06:46:17 -07:00
k8s-merge-robot
57125d81e1 Merge pull request #26621 from liyimeng/kolla-k8s
Automatic merge from submit-queue

Fix the problem in building hyperkube for 3rd party registry

Minor bugfix.  fixes #26620



[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-04 04:23:31 -07:00
Lucas Käldström
e52476661d Add conntrack to hyperkube 2016-06-04 08:23:29 +03:00
bryk
f734d8b786 Set Dashboard UI version to v1.1.0-beta1
This is our second beta. Next will come weekly till we reach final v1.1 version.

https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta2
2016-06-03 15:34:42 +02:00
Liyi Meng
6c195a4923 Fix the problem in building hyperkube for 3rd party registry 2016-06-01 04:38:48 -04:00
Girish Kalele
60d2293f4c Address review comments 2016-05-31 10:14:33 -07:00
Girish Kalele
4c1047d359 Switch DNS addons from skydns to kubedns
Unified skydns templates using a simple underscore based template and
added transform sed scripts to transform into salt and sed yaml
templates

Moved all content out of cluster/addons/dns into build/kube-dns and
saltbase/salt/kube-dns
2016-05-31 10:14:14 -07:00
bryk
dfe46f3aa0 Set Dashboard UI version to v1.1.0-beta1
This is first of our betas. From now on, we'll be doing weekly releases
of new betas till we reach final v1.1 version.

https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta1
2016-05-23 09:27:02 +02:00
Lucas Käldström
73947cc5aa Large changes to the docker deployment. Added kube-addon-manager as a static pod. The addon-manager deploys kube-proxy as a DaemonSet as well as Dashboard and DNS automatically. SecurityContextDeny is removed from the manifests. Also, the turnup.sh and turndown.sh scripts are removed because we don't need them anymore, they're covered by the online documentation 2016-05-20 19:28:13 +03:00
Johannes Scheuermann
cb11324cc3 Add support for OSX and Linux 2016-05-17 21:31:32 +02:00
k8s-merge-robot
1738bbfe5f Merge pull request #25693 from luxas/fix_hyperkube
Automatic merge from submit-queue

Fix hyperkube's layer caching, and remove --make-symlinks at build time

@david-mcmahon This is required before you release. Explanation in the code.
2016-05-17 04:01:43 -07:00
Lucas Käldström
e7eff87455 Critical patch. Fix hyperkube's layer caching, and remove --make-symlinks at build time 2016-05-17 00:28:24 +03:00
David McMahon
57247a672b Revert "OS X: Fix hyperkube build by adding empty string to sed invocation" 2016-05-16 12:25:54 -07:00
Fabio Yeon
05cfd9c584 Merge pull request #24852 from johscheuer/fix-hyperkube-makefile
OS X: Fix hyperkube build by adding empty string to sed invocation
2016-05-10 19:40:52 -07:00
k8s-merge-robot
5dd087040b Merge pull request #24511 from pbx0/kubelet-symlink
Automatic merge from submit-queue

cluster/images/hyperkube: create symlink for each server

Add a kubelet symlink so that the hyperkube image can appear as a kubelet image. https://github.com/kubernetes/kubernetes/issues/24510
2016-05-08 21:31:23 -07:00
Robert Bailey
c9442ee47c Merge pull request #25114 from aaronlevy/hyperkube-pkg-upgrade
Upgrade installed packages when building hyperkube to improve the security profile
2016-05-06 15:03:52 -07:00
Patrick Baxter
e96e57c8f7 cluster/images/hyperkube: create symlink for each server 2016-05-05 21:36:18 +00:00
Mike Danese
4aba77c1f8 add cni plugins to hyperkube image 2016-05-05 14:24:14 -07:00
Aaron Levy
dd8c3588ef cluster/images/hyperkube: Upgrade installed packages 2016-05-03 17:17:03 -07:00
Johannes Scheuermann
f23380fe84 Add empty string to sed 2016-04-27 08:54:13 +02:00
k8s-merge-robot
1cd93cb1d6 Merge pull request #23250 from huggsboson/patch-1
Automatic merge from submit-queue

Use kube-system namespace

Fixes #23153.

Sadly, kube-system isn't automatically created, so people need to make
sure to create it in their turnup scripts.  Also after creating
kube-system it can take 10+ seconds for master and proxy to show up.

I tested the equivalent of these changes locally, but not these changes
themselves as I don't have a dev/build env up, so please read carefully
and maybe try them out!
2016-04-25 20:23:36 -07:00
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
huggsboson
99c79d1ccf Fixes #23153.
Sadly, kube-system isn't automatically created, so people need to make
sure to create it in their turnup scripts.  Also after creating
kube-system it can take 10+ seconds for master and proxy to show up.

I tested the equivalent of these changes locally, but not these changes
themselves as I don't have a dev/build env up, so please read carefully
and maybe try them out!

Use kubectl create ns
2016-03-31 14:07:31 -07: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
Luke Benson
bba2f9184f FIX: Issue #7750 - Hyperkube needs certificates
Adds ‘ca-certificates’ package to dockerfile for building base
hyperkube image. This resolves controller-manager issue connecting to
cloud provider (experienced with AWS) when running services through
kyperkube.Tested with AWS and kube 0.16.1 binaries.
2015-05-05 11:26:13 +10:00
Robert Bailey
225da3f88f Fetch resources from storage.googleapis.com over SSL. 2015-04-26 21:51:37 -07:00
Brendan Burns
49977e6a47 Revert "Update docker examples to 0.15.0" 2015-04-24 10:05:27 -07:00
Brendan Burns
8c947de4e2 Update docker examples to 0.15.0 2015-04-20 15:40:08 -07:00
Brendan Burns
6217ae0242 Update to 0.14.2 in the docker k8s instructions. 2015-04-10 22:02:55 -07:00
Brendan Burns
b3c46b5c66 Add a Docker multi-node setup. 2015-04-07 21:22:33 -07:00
Brendan Burns
628b052aae Add a docker how-to guide. 2015-04-06 10:43:42 -07:00
Brendan Burns
ee9591e25d Add a docker image for the hyperkube binary. 2015-04-03 14:54:50 -07:00