Prashanth Balasubramanian
7d47d2dcd8
Kube-proxy requests 2x cpu shares of addons.
2016-02-25 15:39:27 -08: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
k8s-merge-robot
a20d4f83ff
Merge pull request #21379 from hlamer/hyperkube-apiserver-cert-fix
...
Auto commit by PR queue bot
2016-02-25 09:02:30 -08:00
Wojciech Tyczynski
506899008f
Parallelization of namespace deletion
2016-02-25 16:33:25 +01:00
Marcin Wielgus
11fad31448
Heapster v0.20.0-alpha8
2016-02-25 16:26:32 +01:00
gmarek
98eb12e1ed
Update memory requirements for influxdb
2016-02-25 16:15:54 +01:00
Olivier Lemasle
08541dc2ff
Fix issue #21746
...
This was a regression due to commit e2c79ea1f1
(cf https://github.com/kubernetes/kubernetes/pull/20965 )
2016-02-25 11:37:28 +01:00
Justin Santa Barbara
4e64c4586e
AWS: Set OS defaults for kube 1.2
...
Default distro is jessie, due to the support situation with Ubuntu
distros. Default ubuntu distro is wily.
Update the docs to reflect the recommended distros with kube-up, and to
encourage contributions for other distros.
2016-02-25 00:10:33 -05:00
Robert Bailey
a238d90d49
Remove the SecurityContextDeny admission controller so that the
...
testing environment matches the production environment. This
was removed from config-default.sh in #16986 .
2016-02-24 21:07:16 -08:00
k8s-merge-robot
9b62123b37
Merge pull request #21908 from justinsb/aws_spot_instance_timeout
...
Auto commit by PR queue bot
2016-02-24 17:25:16 -08:00
Alex Robinson
cbcc25802e
Merge pull request #21237 from justinsb/aws_jessie_support
...
AWS Debian Jessie Support
2016-02-24 14:34:48 -08:00
Alex Robinson
af93275f13
Merge pull request #21482 from chrisleck/cle-sub-second-fluentd
...
Enable fluentd to parse the sub-second portion of timestamps coming from docker logs
2016-02-24 13:52:30 -08:00
Yifan Gu
aff803bed9
gce/coreos: Refactor the downloading command to handle errors better.
2016-02-24 12:06:56 -08:00
Justin Santa Barbara
5d7ed4d6e7
AWS kube-up: Stop docker before moving /mnt/docker
...
On Jessie, we now preinstall Docker. Before moving /mnt/docker, make
sure we stop the docker service.
2016-02-24 15:01:20 -05:00
Justin Santa Barbara
7f3bbe1dfe
AWS kube-up: Bump to the latest Jessie image, allow overriding
...
Jessie image can be selected by name using AWS_IMAGE_NAME. This is a
little easier than specifying the AMI ID.
2016-02-24 14:34:40 -05:00
Justin Santa Barbara
41e2a4b0c3
AWS Jessie image: preinstall docker 1.9.1
...
Given the problems with docker's installation, we should be baking it
into the image.
2016-02-24 14:24:03 -05:00
Justin Santa Barbara
62898319df
AWS kube-up: Increase timeout for spot instances
...
Spot instances take a lot longer to run; wait up to 15 minutes for the
nodes to launch when we're using spot instances. (Previously we were
waiting 5 minutes).
2016-02-24 14:22:33 -05:00
k8s-merge-robot
8f3d7110d5
Merge pull request #21466 from mwielgus/heapster-alpha7
...
Auto commit by PR queue bot
2016-02-24 05:41:36 -08:00
gmarek
053e882622
kube-down looks for instance templates even if instance group does not exists
2016-02-24 11:15:45 +01:00
Joe Finney
372d1b6020
Remove check for rolling-updates gcloud subgroup.
2016-02-23 17:45:44 -08:00
Mike Spreitzer
6b8e7e158e
Fixed typos, bash uses elif
2016-02-23 13:26:26 -05:00
k8s-merge-robot
58783bc256
Merge pull request #21684 from justinsb/fix_21200
...
Auto commit by PR queue bot
2016-02-23 07:06:08 -08:00
Justin Santa Barbara
aa57beb885
AWS Jessie: Find image by name
...
This means we don't have to code the AMI ids for each region.
2016-02-23 00:02:54 -05:00
Justin Santa Barbara
977a4a56e4
AWS Debian Jessie: Install Docker 1.9.1
2016-02-22 22:55:11 -05:00
Justin Santa Barbara
91eb370931
AWS Debian: Only install linux-image-extra on Ubuntu
...
It isn't available (and hopefully not needed) on Debian
2016-02-22 22:54:41 -05:00
Prashanth B
c833a14898
Merge pull request #21727 from dchen1107/test
...
Remove potential corrupted docker network checkpoint file before star…
2016-02-22 17:52:16 -08:00
Dawn Chen
d922ddef8c
Remove potential corrupted docker network checkpoint file before start docker
...
again.
2016-02-22 17:08:31 -08:00
k8s-merge-robot
789fd731d2
Merge pull request #21686 from justinsb/aws_kubeup_build_config_early
...
Auto commit by PR queue bot
2016-02-22 16:16:53 -08:00
k8s-merge-robot
8afccef608
Merge pull request #21632 from justinsb/docker_191
...
Auto commit by PR queue bot
2016-02-22 16:16:51 -08:00
Zach Loafman
e85cf1bb97
Attempt to delete node-template before retry
...
I don't think we've seen this commonly, so I'm proposing a simplistic
fix for now.
Fixes #20878
2016-02-22 16:09:15 -08:00
Dhawal Yogesh Bhanushali
e1a7441b36
restricting the version of docker to 1.9.x for vsphere support
...
for vsphere provider docker currently only supports 1.9.1 release.
The older versions of docker are failing on jessie due to issue https://github.com/docker/docker/issues/18793
and newer version 1.10.x is not properly tested.
2016-02-22 16:03:17 -08:00
Jeff Lowdermilk
c406665b2b
Plumb node labels through salt
...
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Dawn Chen
699c80b752
Merge pull request #21641 from bprashanth/promisc
...
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
Dawn Chen
201d60b426
Merge pull request #21440 from bprashanth/glbc_name
...
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
Dawn Chen
b58826292a
Merge pull request #21703 from dchen1107/test
...
Make sure docker is properly shutdown before startup.
2016-02-22 13:35:24 -08:00
Dawn Chen
6c5f07d58e
Make sure docker is properly shutdown before startup.
2016-02-22 12:57:42 -08:00
k8s-merge-robot
347a509744
Merge pull request #21226 from justinsb/aws_jessie_image
...
Auto commit by PR queue bot
2016-02-22 11:04:49 -08:00
Justin Santa Barbara
f117b26c07
AWS: Template for jessie image
...
Based on the official debian image, with the following changes:
* Switched extlinux -> grub, because we need to change kernel options
to enable the memory cgroup controller, and extlinux is harder and has
reboot problems
* Added packages that would otherwise be installed as part of the boot
(just an optimization)
* Also add the cloud-initramfs-growroot package; with it the root
volume will resize.
* We add panic=10 & oops=panic to kernel options
* We install the packages as per the base image, except we install
awscli from pip, because the repo version is really old.
2016-02-22 12:47:34 -05:00
Mike Spreitzer
22246291e3
Support a CNI plugin as an alternative to Flannel
...
Resolves issue #20292
2016-02-22 11:29:55 -05:00
Justin Santa Barbara
050863cf93
AWS kube-up: Build kubeconfig asap
...
Once we've built the master, we can build kubeconfig. By doing so, if
we time out waiting for the nodes, the system is still configured
correctly.
In particular, spot instances can be slow to launch.
Related to issue #21200
2016-02-22 10:46:56 -05:00
Justin Santa Barbara
fb12c48cb7
AWS kube-up: Allow spot instances
...
I think we should probably leave this undocumented for now, until we
have a better way to launch multiple sets of nodes, but it's great for
cost savings while testing!
Fix #21200
2016-02-22 10:42:49 -05:00
k8s-merge-robot
e629ee6bd3
Merge pull request #20704 from FujitsuEnablingSoftwareTechnologyGmbH/centos-support
...
Auto commit by PR queue bot
2016-02-22 02:35:22 -08:00
k8s-merge-robot
85018f728e
Merge pull request #21258 from gmarek/heapster
...
Auto commit by PR queue bot
2016-02-22 01:24:58 -08:00
k8s-merge-robot
3868bb433d
Merge pull request #21253 from gmarek/enable
...
Auto commit by PR queue bot
2016-02-22 01:24:57 -08:00
Lukasz Zajaczkowski
82be3d08f3
Add CentOS support
2016-02-22 07:41:35 +01:00
k8s-merge-robot
facd8617ce
Merge pull request #21505 from bprashanth/flannel-etcd
...
Auto commit by PR queue bot
2016-02-21 18:09:12 -08:00
Prashanth Balasubramanian
c97e8df65b
Stricter checking of HAIRPIN_FLAG in salt.
2016-02-21 14:43:43 -08:00
k8s-merge-robot
1ce188e557
Merge pull request #21430 from spxtr/e2e-internal
...
Auto commit by PR queue bot
2016-02-21 12:08:22 -08:00
k8s-merge-robot
d6192dd152
Merge pull request #21342 from spxtr/remove-e2e-test
...
Auto commit by PR queue bot
2016-02-21 00:39:38 -08:00
Prashanth Balasubramanian
2e8ff81de1
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-20 22:40:54 -08:00
k8s-merge-robot
0f1043d6df
Merge pull request #21299 from wojtek-t/always_event_etcd
...
Auto commit by PR queue bot
2016-02-20 21:03:27 -08:00
k8s-merge-robot
65b5d0cbf4
Merge pull request #21269 from gmarek/metrics-grabber
...
Auto commit by PR queue bot
2016-02-20 16:37:16 -08:00
Justin Santa Barbara
dda792304d
AWS Salt: Update to trusty, vivid, wily to Docker 1.9.1
...
This updates all of our recognized Ubuntu images to use Docker 1.9.1
2016-02-20 17:31:19 -05:00
k8s-merge-robot
a12a2e984a
Merge pull request #21233 from justinsb/aws_wily
...
Auto commit by PR queue bot
2016-02-20 13:28:08 -08:00
k8s-merge-robot
fe18055adc
Merge pull request #21165 from justinsb/aws_master_pd_in_fstab
...
Auto commit by PR queue bot
2016-02-20 00:29:46 -08:00
k8s-merge-robot
6c5bf89ed3
Merge pull request #21160 from justinsb/aws_bigger_master
...
Auto commit by PR queue bot
2016-02-20 00:29:45 -08:00
Daniel Smith
a8b943dddd
Revert "Put the container bridge in promiscuous mode."
2016-02-19 23:14:53 -08:00
Prashanth B
b36e046fc8
Merge pull request #21326 from bprashanth/cbr0_promisc
...
Put the container bridge in promiscuous mode.
2016-02-19 17:52:34 -08:00
Joe Beda
11c7068b74
Merge pull request #21142 from justinsb/install_git_package
...
Salt: Make sure git is installed, for gitRepo volumes
2016-02-19 15:42:00 -08:00
Prashanth Balasubramanian
a694a7ae4b
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-19 14:59:16 -08:00
Brendan Burns
8bda033ef1
Merge pull request #21444 from dchen1107/test1
...
Log daemons' failure reasons to supervisord log files
2016-02-19 13:08:19 -08:00
k8s-merge-robot
9274783d62
Merge pull request #20965 from olivierlemasle/vagrant-bearertoken
...
Auto commit by PR queue bot
2016-02-19 12:08:08 -08:00
k8s-merge-robot
ced1ddfcc7
Merge pull request #21428 from ArtfulCoder/fluentes
...
Auto commit by PR queue bot
2016-02-19 08:56:10 -08:00
k8s-merge-robot
841d3f8311
Merge pull request #21357 from WeixuZhuang/fix
...
Auto commit by PR queue bot
2016-02-19 02:14:51 -08: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
Phillip Wittrock
8151021369
Merge pull request #21508 from mml/slow-flake
...
Also retain docker and kubelet logs.
2016-02-18 18:53:20 -08:00
Zach Loafman
7f94e3ecdc
Bump container-vm in 1.2 to container-v1-2-v20160218 (prerelease)
2016-02-18 15:00:50 -08:00
Zach Loafman
6fe3023a3d
Revert "Upgrade gce cluster to docker 1.9.1"
...
This reverts commit f07070d129
.
2016-02-18 14:28:13 -08:00
Prashanth Balasubramanian
1e3db8ef9e
Don't impose a memory limit on flannel etcd.
2016-02-18 13:52:58 -08:00
Matt Liggett
58283aff67
Also retain docker and kubelet logs.
...
Still trying to debug #20916
2016-02-18 13:32:18 -08:00
Prashanth Balasubramanian
058db9a758
Add image version to glbc name, and fix e2e appropriately.
2016-02-18 13:03:01 -08:00
Phillip Wittrock
be803eaf64
Merge pull request #21439 from zmerlynn/container-vm-v20160217
...
Bump GCE to container-vm-v20160217
2016-02-18 11:39:54 -08:00
Christopher Eck
c34ecf7100
Enable fluentd to parse the sub-second portion of timestamps coming from docker logs.
2016-02-18 11:07:27 -08:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
Justin Santa Barbara
b70f1c1220
kube-up: install updates & reboot automatically on boot
...
We run unattened-upgrades manually, and then reboot automatically if we
find /var/run/reboot-required; then we check if any services need
restarting and restart them automatically using the needrestart tool.
This should mean we don't _have_ to build new images on every security
update, though we can do so to avoid a reboot.
Issue #21382
2016-02-18 12:52:43 -05:00
Marcin Wielgus
d9c8f7fa5f
Bump Heapster to v0.20.0-alpha7
2016-02-18 12:57:13 +01:00
k8s-merge-robot
bcabc096f2
Merge pull request #21130 from madhusudancs/daemonset-enable-default
...
Auto commit by PR queue bot
2016-02-17 22:54:35 -08:00
k8s-merge-robot
10f3403536
Merge pull request #21362 from ArtfulCoder/fluentd
...
Auto commit by PR queue bot
2016-02-17 22:25:28 -08:00
k8s-merge-robot
78c294a66c
Merge pull request #21164 from justinsb/aws_reboot_with_ephemeral
...
Auto commit by PR queue bot
2016-02-17 17:12:01 -08:00
Joe Finney
2b756ca56d
Move E2E kube-up call into test-setup from e2e-internal.
2016-02-17 16:49:07 -08:00
Dawn Chen
14f8ae1340
Log kubelet /healthz failure reasons to supervisord log file
2016-02-17 16:42:47 -08:00
Zach Loafman
c8d90f1a61
Bump GCE to container-vm-v20160217
2016-02-17 16:39:58 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Madhusudan.C.S
f06a195855
Remove all {KUBE_,}ENABLE_{DEPLOYMENT,DAEMONSET} variables from all our bash scripts.
2016-02-17 15:04:28 -08:00
Madhusudan.C.S
e647804ba4
Replica set is enabled by default now, so it is not necessary to explicitly enable it in the test config script.
2016-02-17 15:03:15 -08:00
Madhusudan.C.S
ab1e9c200f
Graduate DaemonSet to v1beta1 API, enable it by default.
2016-02-17 15:03:12 -08:00
Phillip Wittrock
a8744279eb
Merge pull request #21347 from yujuhong/health_check
...
Switch to using `docker version` as health check
2016-02-17 14:48:44 -08:00
Abhishek Shah
e46b17044f
Disable fluent-es on kubernetes-master
2016-02-17 14:01:20 -08:00
Abhishek Shah
51fba282ec
Fluentd on GCE master should not use ClusterFirst
2016-02-17 11:32:41 -08:00
Justin Santa Barbara
4d2c580781
AWS kube-up: Add support for wily
...
vivid is technically no longer supported now, so we should support
wily.
2016-02-17 10:45:21 -05:00
Justin Santa Barbara
a16372ce40
AWS: Change master to m3.medium by default
...
m3.large for > 150 nodes.
t2.micro often runs out of memory. The t2 class has very
difficult-to-understand behaviour when it runs out of CPU. The
m3.medium is reasonably affordable, and avoids these problems.
Fix #21151
Issue #18975
2016-02-17 10:24:14 -05:00
Justin Santa Barbara
c68c019150
AWS: Add comments to explain the symlink logic
2016-02-17 09:57:37 -05:00
Justin Santa Barbara
affffdc9ab
AWS kube-up: Put the master-pd into /etc/fstab, to mount it early
...
Otherwise we risk services coming up on the master before the backing
volume is ready.
If we then see the master-pd is already mounted, don't try to remount
it.
Issue #21155
2016-02-17 09:47:01 -05:00
k8s-merge-robot
22ad56dded
Merge pull request #21161 from justinsb/aws_bootstrap_on_every_boot
...
Auto commit by PR queue bot
2016-02-17 06:45:24 -08:00
k8s-merge-robot
207b90ae63
Merge pull request #19578 from quinton-hoole/2016-01-04-ube-lite-e2e
...
Auto commit by PR queue bot
2016-02-17 04:29:48 -08:00
k8s-merge-robot
237105fd0e
Merge pull request #21372 from gmarek/gather
...
Auto commit by PR queue bot
2016-02-17 03:57:12 -08:00
k8s-merge-robot
a5bb33bb4a
Merge pull request #21356 from vishh/gce-salt
...
Auto commit by PR queue bot
2016-02-17 03:29:35 -08:00
gmarek
024322a651
Fix getting last command result in kube-up
2016-02-17 11:12:06 +01:00
Vishnu kannan
202578ebe5
enable for *real* new runtime and kubelet cgroup configs in GCE salt configs.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:08:57 -08:00
weixu
b3f3a80667
Set the default value for DEBUG in cluster/saltbase/salt/generate-cert/make-ca-cert.sh
...
In commit 07d7cfd3
, people add ${DEBUG} == "true" in file
cluster/saltbase/salt/generate-cert/make-ca-cert.sh
But the default value for DEBUG is not set. In that commit, it set the value
of DEBUG in cluster/ubuntu/util.sh where it call this script. When using this
script in saltstack to bring up cluster in other cloud platforms, it will fail
to generate the cert since we set set -o nounset in make-ca-cert.sh and var DEBUG
does not set. Set a default value for DEBUG here will fix this problem.
2016-02-16 16:03:20 -08:00
Dawn Chen
1af5c9f7b2
Disable REGISTER_MASTER_KUBELET for gce default configuration since
...
no one is working on e2e tests.
2016-02-16 15:32:32 -08:00
Yu-Ju Hong
b92e2903fa
Switched to using docker version
as health check
...
`docker ps` can sometimes take a long time to finish, and restarting
docker in this case doesn't help.
2016-02-16 15:10:15 -08:00
Joe Finney
6f7182e500
Remove hack/e2e-test.sh in favor of hack/e2e.go.
2016-02-16 14:54:50 -08:00
Quinton Hoole
b4a3559807
Add Jenkins e2e test job for multi-zone Ubernetes Lite
2016-02-16 13:07:17 -08:00
k8s-merge-robot
a0489cb54b
Merge pull request #21297 from yifan-gu/add_dashborad_addons
...
Auto commit by PR queue bot
2016-02-16 13:00:11 -08:00
k8s-merge-robot
13b2a8a60b
Merge pull request #21191 from zmerlynn/change-motd
...
Auto commit by PR queue bot
2016-02-16 06:07:35 -08:00
k8s-merge-robot
62474f1fbf
Merge pull request #21298 from gmarek/validate
...
Auto commit by PR queue bot
2016-02-16 05:37:28 -08:00
k8s-merge-robot
2299547ca5
Merge pull request #21183 from mml/slow-flake
...
Auto commit by PR queue bot
2016-02-16 05:12:50 -08:00
k8s-merge-robot
4f3c89ce81
Merge pull request #21132 from petermd/kubeaddon-api-status
...
Auto commit by PR queue bot
2016-02-16 02:57:17 -08:00
Wojciech Tyczynski
f6dc06bdc7
Always enable second etcd for events
2016-02-16 11:48:46 +01:00
gmarek
433e855aca
Fix validate cluster
2016-02-16 11:34:57 +01:00
Yifan Gu
c2c3ccdaa7
cluster/gce/coreos: Replace kube-ui with dashboard in configure-node.sh
2016-02-16 16:46:33 +08:00
k8s-merge-robot
db758dda64
Merge pull request #21046 from MikeSpreitzer/issue/20992
...
Auto commit by PR queue bot
2016-02-15 21:54:18 -08:00
gmarek
63dd014412
Update SchedulerMetrics
2016-02-15 16:52:41 +01:00
k8s-merge-robot
b1dedc0900
Merge pull request #21058 from gmarek/fix
...
Auto commit by PR queue bot
2016-02-15 06:12:27 -08:00
gmarek
9c722ba98e
Update memory requirements for new Heapster
2016-02-15 14:05:47 +01:00
k8s-merge-robot
138cb09aea
Merge pull request #20795 from luxas/remove_dev
...
Auto commit by PR queue bot
2016-02-15 03:52:26 -08:00
gmarek
92f60159ec
Default EXIT_ON_WEAK_ERROR
2016-02-15 11:09:58 +01:00
k8s-merge-robot
48caef3576
Merge pull request #21243 from gmarek/master
...
Auto commit by PR queue bot
2016-02-15 01:15:21 -08:00
k8s-merge-robot
396287aad9
Merge pull request #21110 from MikeSpreitzer/issue/21037
...
Auto commit by PR queue bot
2016-02-15 01:15:20 -08:00
gmarek
2288b31b99
Fix kube-up
2016-02-15 08:34:00 +01:00
André Martins
97acdf4cd8
fixing docker -d deprecation
...
Signed-off-by: André Martins <aanm90@gmail.com>
2016-02-14 23:07:32 +01:00
k8s-merge-robot
b017ce602f
Merge pull request #20988 from golvteppe/kube-up_output
...
Auto commit by PR queue bot
2016-02-14 03:38:53 -08:00
k8s-merge-robot
3d93b594e3
Merge pull request #20062 from mikefaille/master
...
Auto commit by PR queue bot
2016-02-13 10:36:57 -08:00
k8s-merge-robot
784f555fd9
Merge pull request #18821 from rastut/add_aws_detect_root_device
...
Auto commit by PR queue bot
2016-02-13 10:09:20 -08:00
k8s-merge-robot
44a8ca9fa7
Merge pull request #21170 from MikeSpreitzer/issue/21168
...
Auto commit by PR queue bot
2016-02-13 08:33:54 -08:00
k8s-merge-robot
f2e845dd6d
Merge pull request #21144 from justinsb/aws_fix_project_not_defined
...
Auto commit by PR queue bot
2016-02-13 08:33:53 -08:00
Justin Santa Barbara
69300c51b3
AWS kube-up: Reboot support with ephemeral storage
...
If the ephemeral volume is present and mounted, don't try to reinitialize
them.
Don't block the boot if the ephemeral volume is corrupt / missing -
this enables us to cope with a stop/start & presumably also corruption.
In this case, we'll reformat the ephemeral storage.
Fix #21157
2016-02-12 20:31:56 -05:00
Justin Santa Barbara
19cf622e88
AWS kube-up: make the bootstrap script run every boot
...
This is so we have the same behaviour as on GCE.
This also lets us change the bootstrap script or the config, which is
nice. Instance data is immutable on AWS once it is booted.
Fix #21150
2016-02-12 20:30:47 -05:00
Matt Liggett
c25331f251
Save the master logs to separate files rather than dumping to stdout.
2016-02-12 17:30:45 -08:00
Zach Loafman
db01dec0a4
Reset /etc/motd to include version, a pointer to source image and GitHub
...
Companion to #21031
2016-02-12 17:29:23 -08:00
Mike Danese
b8aa23f0fa
Merge pull request #21194 from dchen1107/test1
...
Make master component pods burstable, instead of guaranteed.
2016-02-12 17:08:27 -08:00
Mike Spreitzer
4d55dbe69f
Introduced envar KUBE_PROXY_EXTRA_OPTS
...
Resolves #21168
2016-02-12 18:42:51 -05:00
Dawn Chen
64ca54c2cc
Make master component's manifest consistent with the ones on debian
2016-02-12 14:56:12 -08:00
Dawn Chen
11a6d7df26
Make coreos's master component manifest consistent with debian ones.
2016-02-12 14:55:28 -08:00
Dawn Chen
54933902b2
Make master component pods burstable, instead of guaranteed.
2016-02-12 14:28:48 -08:00
Janet Kuo
2874f30c05
Enable Deployments by default
2016-02-12 12:29:14 -08:00
golvteppe
62292341ff
Added ZONE variable to the info string which informs what provider is being used
...
Fixed unbound ZONE variable issue for kube-up.sh
Added curlys
2016-02-12 20:53:10 +01:00
Mike Danese
2172e0dea0
Merge pull request #21108 from mml/slow-flake
...
Include some debug output when the API server never appears.
2016-02-12 11:27:12 -08:00
Mike Spreitzer
07d7cfd346
Fetch hacked easyrsa in kube-up instead of command run on master
...
This is good because it removes an obstacle to using the
cluster/ubuntu scripting to install Kubernetes into a restricted
environment where the machines can not open connections to arbitrary
external locations.
Also add debuggability to make-ca-cert.sh
Resolves #21037
Resolves #21092
2016-02-12 14:11:53 -05:00
Justin Santa Barbara
f0d6fd10bc
Salt: Make sure git is installed, for gitRepo volumes
...
Seems to be included in the GCE base image, but not on the images we use
on AWS (Ubuntu images).
Fix #20957
2016-02-12 12:51:08 -05:00
Mike Spreitzer
43285f872e
Deploy dashboard instead of extiinct kube-ui
...
Updated cluster/ubuntu/deployAddons.sh to deploy the UI that exists
rather than the old one that no longer exists.
Resolves #20992
2016-02-12 11:47:18 -05:00
Justin Santa Barbara
1852fab029
AWS: Fix kube-up generation of kubeconfig
...
We were assuming the PROJECT env var was set, which the e2e tests do.
But PROJECT is normally not set on AWS (it is set on GCE); this broke as
part of the harmonization.
Revert to the pre-existing behaviour here, where we use "aws_" as the
prefix.
Fix #21141
2016-02-12 09:53:22 -05:00
Matt Liggett
7a2e649745
Include some debug output when the API server never appears.
...
Helps with #20916
2016-02-11 16:33:35 -08:00
gmarek
aa79f04aed
Fix #21027
2016-02-11 22:25:08 +01:00
k8s-merge-robot
f6ae6b47ae
Merge pull request #20687 from vishh/systemd-support
...
Auto commit by PR queue bot
2016-02-11 13:06:29 -08:00
k8s-merge-robot
798b88e512
Merge pull request #20960 from andyzheng0831/fix
...
Auto commit by PR queue bot
2016-02-11 06:51:13 -08:00
k8s-merge-robot
c1eb987a41
Merge pull request #21040 from MikeSpreitzer/issue/21039
...
Auto commit by PR queue bot
2016-02-11 04:53:00 -08:00
Piotr Szczesniak
917a34a2aa
Bumped Heapster to v0.20.0-alpha6
2016-02-11 11:44:29 +01:00
gmarek
918ddbe5f0
Small cleanup
2016-02-11 10:08:24 +01:00
Mike Spreitzer
5dc3daf9a8
Update Kubernetes release version from 1.1.4 to 1.1.7 in download-release.sh
...
.. in cluster/ubutuntu/download-release.sh
Resolves issue #21039
2016-02-10 23:08:59 -05:00
Vishnu kannan
c3b5d5774c
Update flag values for cgroups managed by kubelet.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 17:33:29 -08:00
Vishnu kannan
51e4ccf106
Updating the default values for the cgroups hierarchies that kubelet
...
creates for managing the nodes.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:36 -08:00
k8s-merge-robot
646cb70fe3
Merge pull request #20905 from yifan-gu/add_command_in_templates
...
Auto commit by PR queue bot
2016-02-10 07:11:20 -08:00
k8s-merge-robot
c0dd58c001
Merge pull request #20811 from mwielgus/cm-scripts
...
Auto commit by PR queue bot
2016-02-10 04:50:06 -08:00
k8s-merge-robot
372c9271ee
Merge pull request #20871 from andyzheng0831/kube-addon
...
Auto commit by PR queue bot
2016-02-10 04:24:27 -08:00
Marcin
b7d72ef36d
Startup scripts for custom metrics
2016-02-10 12:32:04 +01:00
Wojciech Tyczynski
9682227649
Merge pull request #20920 from mwielgus/heapster-v0.20.0-alpha5
...
Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb
2016-02-10 11:34:44 +01:00
Olivier Lemasle
e2c79ea1f1
Add bearer token authentication to Vagrant clusters
...
This does not remove basic authentication in Vagrant clusters.
Users will still be able to authenticate with username=vagrant, password=vagrant
2016-02-10 10:35:13 +01:00
k8s-merge-robot
e5a61c038b
Merge pull request #20622 from wstrange/master
...
Auto commit by PR queue bot
2016-02-09 23:26:29 -08:00
Andy Zheng
126f3c4784
Fix kubelet and kube-proxy log level in Trusty
...
This change corrects how we determine the log level. Moreover, it explicitly redirects kubelet log to /var/log/kubelet.log, as we noticed it may miss sometimes.
2016-02-09 19:20:20 -08:00
Prashanth B
f0620a5efd
Merge pull request #20883 from bprashanth/kubelet_flag
...
Kubelet flag for disabling hairpin mode
2016-02-09 17:31:30 -08:00
k8s-merge-robot
d7bef3cc87
Merge pull request #20896 from kinvolk/ckuehl/replace-rocket-with-rkt
...
Auto commit by PR queue bot
2016-02-09 16:05:01 -08:00
Greg Swallow
646c22e47c
Use local_ipv4 when public_ipv4 is not present.
2016-02-09 16:35:38 -05:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
Marcin
eb19f3a977
Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb
2016-02-09 20:31:43 +01:00
k8s-merge-robot
494186f40e
Merge pull request #20867 from dchen1107/docker
...
Auto commit by PR queue bot
2016-02-09 10:02:44 -08:00
Yifan Gu
9f2d219331
cluster/gce/coreos: Add command in addon templates.
...
As appc spec only has one field for executable path
(Exec v.s. ENTRYPOINT + CMD), specifying only args
will override the image's original ENTRYPOINT.
2016-02-09 23:29:43 +08:00
k8s-merge-robot
8e4a821ab3
Merge pull request #20821 from olivierlemasle/fix-dnf-vagrant
...
Auto commit by PR queue bot
2016-02-09 07:04:24 -08:00
Chris Kühl
7fcc40bb27
docs: replace Rocket with rkt
2016-02-09 13:52:25 +01:00
k8s-merge-robot
0fe5499fbc
Merge pull request #20794 from bprashanth/etcd_config
...
Auto commit by PR queue bot
2016-02-09 04:07:26 -08:00
k8s-merge-robot
68a165cda9
Merge pull request #20681 from justinsb/aws_sync_kubeup_gce_step3
...
Auto commit by PR queue bot
2016-02-09 02:08:48 -08:00
Andy Zheng
20444558a3
Fix two issues of master on Trusty
...
This change moves the code of running and monitoring addon pods in a daemon type upstart job, so that addon manifest monitoring can be restarted automatically upon failure. Second, it updates the usage of "kube-ui" to "dashboard" to match the change in PR #20330 .
2016-02-08 16:46:18 -08:00
Dawn Chen
f07070d129
Upgrade gce cluster to docker 1.9.1
2016-02-08 15:58:29 -08:00
derekwaynecarr
512154f25e
Unbound cluster ip range in vagrant
2016-02-08 17:38:36 -05:00
Olivier Lemasle
0bf3f3ef09
Fix Vagrant issue with Salt
...
Package manager "dnf" does not work correctly with Salt
(cf https://github.com/saltstack/salt/issues/31001 )
It causes Salt to consider that some packages (python, git, curl, etc.) are not
installed, which breaks the Vagrant Kubernetes setup.
Updating dnf and dnf-plugins-core to their latest version solves the issue.
Additionally, I've added the "fastestmirror" to dnf, which is useful if a
RPM mirror is broken or very slow. (In my case, dnf used a broken mirror which
froze the Kubernetes setup).
2016-02-08 17:29:19 +01:00
gmarek
208e98b58e
Fix #20788
2016-02-08 10:21:04 +01:00
Michael Nikitochkin
55e2906f79
AWS: Allow to configure master ip and services mask
...
Fix script for case when neeed to setup cluster
in an existen VPC and subnet with ip mask example: 10.0.0.0/8.
Fixed bug to detect ip of master if provided MASTER_RESERVED_IP.
For some reason detecting master ip was moved to volumes and only when MASTER_RESERVED_IP=auto.
If specify IPv4 for MASTER_RESERVED_IP like `52.1.1.1`, than we could
not detect ip even during last steps of setuping cluster.
step the KUBE_MASTER_IP is reseted because there are no tag for the
volume.
2016-02-07 21:59:00 +01:00
Lucas Käldström
d5b7fd7f95
Remove -v /dev:/dev from docker and docker-multinode
2016-02-07 22:15:20 +02:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
Prashanth B
86b6fdf5ea
Sanitize flannel config.
2016-02-07 05:19:50 +00:00
Justin Santa Barbara
63743e9c1c
AWS kube-up: Use the cert we generated in kubeconfig
2016-02-06 22:52:01 -05:00
Justin Santa Barbara
270fae4d66
kube-up: Support multiple additional IPs for SSL cert
...
And pass the public IP when setting up AWS
2016-02-06 22:52:01 -05:00
Justin Santa Barbara
fd5c44c72e
kube-up: Finish refactor of AWS to reuse GCE script
...
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -05:00
k8s-merge-robot
f2ed6f6ce8
Merge pull request #20474 from mqliang/ununtu-check-pods-torn-down
...
Auto commit by PR queue bot
2016-02-06 15:12:43 -08:00
k8s-merge-robot
a08ac362a9
Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
...
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot
9d981b696c
Merge pull request #20642 from justinsb/aws_sync_kubeup_gce_step2
...
Auto commit by PR queue bot
2016-02-06 11:56:47 -08:00
k8s-merge-robot
d1b7fb3025
Merge pull request #20630 from a-robinson/logparse
...
Auto commit by PR queue bot
2016-02-06 11:28:08 -08:00
Madhusudan.C.S
48c4173f5f
Enable ReplicaSets in e2e tests.
2016-02-06 03:46:17 -08:00
k8s-merge-robot
fe269474ca
Merge pull request #20330 from bryk/kubernetes-dashboard
...
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
Daniel Smith
75c1dcaacd
Merge pull request #20463 from andyzheng0831/trusty-master
...
Support master on Ubuntu Trusty
2016-02-05 15:49:28 -08:00
Marek Grabowski
e8f341cb40
Merge pull request #20650 from mwielgus/heapster-alpha4
...
Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4
2016-02-05 16:04:41 +01:00
Marcin Wielgus
6c2b338af0
Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4
2016-02-05 15:33:09 +01:00
bryk
46f51d74bb
Set kubernetes-dashboard as the default UI addon
...
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0
This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
Daniel Smith
9a76c022ec
Merge pull request #20408 from kylegordon/patch-1
...
Use kube account to make changes via govc
2016-02-04 23:16:44 -08:00
k8s-merge-robot
5b046cccdb
Merge pull request #20448 from justinsb/aws_fix_e2e_detect_master
...
Auto commit by PR queue bot
2016-02-04 16:24:20 -08:00
Warren Strange
fed1d947bc
added shell guard in case var is not set
2016-02-04 16:45:20 -07:00
Alex Robinson
e5c5f76402
Update the default fluentd images to parse system logs.
2016-02-04 23:29:27 +00:00
Justin Santa Barbara
ba415c1f39
kube-up: Add brackets to variable name
2016-02-04 12:43:09 -05:00
Justin Santa Barbara
732e76fb4e
kube-up: Refactor SSL cert helpers into common
...
Next step in the the GCE/AWS harmonization
2016-02-04 09:10:41 -05:00
Alex Robinson
592da85a81
Parse system logs into structured messages in fluentd.
...
This allows you to filter based on components of the log,
like their severity, in the developers console or elasticsearch.
2016-02-04 08:14:59 +00:00
k8s-merge-robot
dbd7b83d93
Merge pull request #20545 from pmorie/boilerplate
...
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00
Warren Strange
24b06d805a
Add preemtible option to master
2016-02-03 19:34:27 -07: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
Andy Zheng
b103f0f279
Support master on Ubuntu Trusty
...
This change support running kubernetes master on Ubuntu Trusty.
It uses pure cloud-config and shell scripts, and completely gets
rid of saltstack or the release salt tarball.
2016-02-03 11:22:28 -08:00
Dan Williams
fabb65c13f
Add a network plugin that duplicates "configureCBR0" functionality
2016-02-03 10:08:08 -06:00
Piotr Szczesniak
d7dd663d2a
Merge pull request #20412 from gmarek/enable
...
Add a flag to allow non-fatal errors in validate-cluster
2016-02-03 09:33:17 +01:00
Piotr Szczesniak
0e396b2084
Merge pull request #20407 from gmarek/1000-kube-up
...
Allow some NotReady nodes in 1000 node clusters
2016-02-03 09:32:59 +01:00
Jeff Lowdermilk
4a9b046515
Merge pull request #20432 from brendandburns/flake5
...
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-02 11:59:54 -08:00
Jeff Lowdermilk
ec4b94aabc
Merge pull request #20509 from yujuhong/docker_health
...
Change docker health checker to using `docker ps`
2016-02-02 11:50:04 -08:00
Yu-Ju Hong
156d301140
Change docker health checker to using docker ps
...
`docker ps` is a more reliable health check than docker version from past
experiences.
2016-02-02 11:08:21 -08:00
k8s-merge-robot
d082357259
Merge pull request #20138 from jetsanix/fix-ubuntu
...
Auto commit by PR queue bot
2016-02-02 05:20:31 -08:00
k8s-merge-robot
d8047e7632
Merge pull request #20118 from erictune/chmod
...
Auto commit by PR queue bot
2016-02-02 04:50:54 -08:00
k8s-merge-robot
ac24a68801
Merge pull request #20094 from mesosphere/jdef_mesos_026_godeps
...
Auto commit by PR queue bot
2016-02-02 03:19:25 -08:00
mqliang
e9de110a5d
fix the bug that ubuntu check-pods-torn-down doesn't take into account terminating pods nor pods in other namespaces
2016-02-02 14:22:16 +08:00
Justin Santa Barbara
0f6b3611d8
AWS: Fix e2e usage of find-tagged-master-ip
...
In the e2e tests detect-master is called directly. In turn, it calls
find-tagged-master-ip, which assumed that find-master-pd has already already
been called. But this wasn't true in the e2e case.
We add a call to find-master-pd; it is idempotent.
2016-02-01 22:49:31 +00:00
k8s-merge-robot
30375b21d6
Merge pull request #19776 from justinsb/aws_sync_kubeup_gce
...
Auto commit by PR queue bot
2016-02-01 14:44:18 -08:00
Brendan Burns
78c9a7718a
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-01 14:17:36 -08:00
k8s-merge-robot
b4d1c7541c
Merge pull request #19870 from justinsb/salt_systemd_force
...
Auto commit by PR queue bot
2016-02-01 10:49:44 -08:00
k8s-merge-robot
a5f03173c5
Merge pull request #19869 from justinsb/aws_fix_docker183_package_name
...
Auto commit by PR queue bot
2016-02-01 10:18:06 -08:00
k8s-merge-robot
0aca70016c
Merge pull request #20066 from justinsb/aws_move_build_runtime_config
...
Auto commit by PR queue bot
2016-02-01 09:48:27 -08:00
k8s-merge-robot
bea271a767
Merge pull request #19664 from yifan-gu/docker_restart
...
Auto commit by PR queue bot
2016-02-01 06:46:36 -08:00
gmarek
efacc0435e
Add a flag to allow non-fatal errors in validate-cluster
2016-02-01 14:26:31 +01:00
Kyle Gordon
63b61a7205
Use kube account to make changes via govc
...
Use -l kube:kube to login to VM and make changes before public key is inserted.
Fixes #14366
2016-02-01 11:41:49 +00:00
gmarek
6aaabc6f46
Allow some NotReady nodes in 1000 node clusters
2016-02-01 12:40:40 +01:00
Marcin Wielgus
bdf563be4b
Use Heapster v0.20.0-alpha3
2016-02-01 12:22:11 +01:00
Marcin Wielgus
a14f791d8c
Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
...
This reverts commit b4188ec459
, reversing
changes made to 28951bd66a
.
2016-02-01 12:12:37 +01:00
Yifan Gu
05087612b9
salt: Try 'systemctl' if 'service' command fails when restarting docker.
2016-02-01 18:10:31 +08:00
Alex Robinson
f684e80b1f
Merge pull request #20067 from justinsb/aws_test_defaults
...
AWS: Change config-test defaults to match GCE
2016-01-30 17:42:28 -08:00
Alex Robinson
a81e6c3f4f
Merge pull request #20307 from dchen1107/test1
...
Deprecated soon: override /etc/init.d/docker file on containervm image,
2016-01-30 13:32:41 -08:00
k8s-merge-robot
e953f4a074
Merge pull request #19628 from mikedanese/dns-headless
...
Auto commit by PR queue bot
2016-01-29 23:54:40 -08:00
k8s-merge-robot
40ff292294
Merge pull request #20286 from mikedanese/kube-ui-v5
...
Auto commit by PR queue bot
2016-01-29 10:51:00 -08:00
Filip Grzadkowski
13480c171d
Revert "Yet another try to migrate to the new Heapster"
2016-01-29 15:03:49 +01:00
Piotr Szczesniak
7d4a948b1f
Yet another try to migrate to the new Heapster
2016-01-29 09:56:49 +01:00
Piotr Szczesniak
0c5cc1bde1
Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
...
This reverts commit 06996d5af9
, reversing
changes made to b2f6e7d08f
.
2016-01-29 09:19:03 +01:00
k8s-merge-robot
992a85950f
Merge pull request #19326 from fgimenez/juju-allow-privileged
...
Auto commit by PR queue bot
2016-01-28 22:27:32 -08:00
Dawn Chen
5f6f6acec7
Deprecated soon: override /etc/init.d/docker file on containervm image,
...
so that we can unblock docker 1.10 validation.
2016-01-28 17:44:23 -08:00
Fabio Yeon
574f354b73
Merge pull request #20143 from roberthbailey/list-resources-gke
...
Fix list-resources.sh to work with the GKE provider
2016-01-28 13:48:05 -08:00
Mike Danese
b1ca73a5b2
kube-ui: upgrade to v5
2016-01-28 13:02:25 -08:00
Justin Santa Barbara
c556e8f0f5
kube-up: Refactor kube-env into common; use in AWS
...
Use kube-env on the AWS master also
2016-01-28 10:31:51 -08:00
Justin Santa Barbara
4d88a4ed2c
kube-up: move sha1sum-file into common
...
Also hash the tar files in AWS kube-up
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
a70412099a
AWS: add retries around apt-get install
...
Related to issue #17309
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
ae75a7d259
kube-up: move build-runtime-config from AWS & GCE into common
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
0df6f5d8c5
kube-up: move yaml-quote from GCE & AWS to common
2016-01-28 10:19:38 -08:00
Prashanth B
952449585e
Merge pull request #20164 from bprashanth/glbc_0.5.2
...
Bump glbc to 0.5.2
2016-01-28 08:21:32 -08:00
k8s-merge-robot
458eb5284a
Merge pull request #19105 from smarterclayton/prepare_negotiate
...
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
k8s-merge-robot
a95f1b84cb
Merge pull request #17243 from yifan-gu/gce_coreos
...
Auto commit by PR queue bot
2016-01-27 13:02:20 -08:00
Brendan Burns
4f845ad6e1
Merge pull request #19642 from MikeSpreitzer/issue/19618
...
Introduce FLANNEL_OTHER_NET_CONFIG
2016-01-27 12:20:11 -08:00
Zach Loafman
9caf0a7e72
Merge pull request #20221 from zmerlynn/cvm-new-2
...
REALLY bump to container-vm-v20160127
2016-01-27 10:31:28 -08:00
Zach Loafman
cb9afa65f0
REALLY bump to container-vm-v20160127
2016-01-27 10:28:04 -08:00
Brendan Burns
6f15b532f7
Merge pull request #20218 from zmerlynn/cvm-new
...
Bump to container-vm-v20160127
2016-01-27 10:24:24 -08:00
Zach Loafman
727fb1a97a
Bump to container-vm-v20160127
2016-01-27 09:22:07 -08:00
James DeFelice
70a5cc462b
updated cluster/mesos/docker and contrib/mesos for mesos-0.26 compat
2016-01-27 17:13:07 +00:00
Filip Grzadkowski
0dedf869c7
Revert "Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1"
2016-01-27 17:22:36 +01:00
Peter McDonnell
4d4f1c645c
exit if unable to query status from apiserver
2016-01-27 15:21:09 +00:00
Piotr Szczesniak
e96993f2ce
Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1
2016-01-27 11:09:18 +01:00
k8s-merge-robot
86dd321c73
Merge pull request #19489 from cloudnativeapps/vsphere-support-1
...
Auto commit by PR queue bot
2016-01-26 22:27:55 -08:00
k8s-merge-robot
738eae88f8
Merge pull request #19841 from marun/vagrant-fedora23
...
Auto commit by PR queue bot
2016-01-26 18:45:48 -08:00
Alex Robinson
6acf297231
Update the fluentd versions to include fixes for #19405 .
2016-01-27 00:30:53 +00:00
Alex Robinson
ac13e851e2
Don't let fluentd pipe its own logs directly back into itself.
2016-01-27 00:30:53 +00:00
Alex Robinson
95a4ea3fc8
Increase the fluentd buffer chunk size to improve write throughput.
...
Also reduce the max wait between retries, 30 seconds should be more than
enough backoff.
2016-01-27 00:30:50 +00:00
Robert Bailey
a8cad507db
Fix list-resources.sh to work with the GKE provider. Also update
...
the grep command to work for versions of grep that don't
understand '\s'.
2016-01-26 15:05:29 -08:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Prashanth Balasubramanian
eecfdc065b
Bump glbc to 0.5.2
2016-01-26 10:40:07 -08:00
Zach Loafman
23b4bfb370
Merge pull request #20126 from kubernetes/revert-19957-container-vm-v20160121
...
Revert "Bump to container-vm-v20160121"
2016-01-26 10:38:32 -08:00
k8s-merge-robot
6c63acdd3d
Merge pull request #19398 from justinsb/aws_elasticip_for_master
...
Auto commit by PR queue bot
2016-01-26 04:34:28 -08:00
k8s-merge-robot
8c821700f3
Merge pull request #19389 from justinsb/internal_cidr
...
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
k8s-merge-robot
3f40fb7d0a
Merge pull request #17923 from yuvipanda/kube2dns-pflag
...
Auto commit by PR queue bot
2016-01-26 02:13:44 -08:00
k8s-merge-robot
2286bd3a38
Merge pull request #19961 from mamikonyana/newrepo
...
Auto commit by PR queue bot
2016-01-25 19:51:23 -08:00
k8s-merge-robot
bd97eec9b6
Merge pull request #19928 from jfchevrette/fix_ubuntu_sysv_init
...
Auto commit by PR queue bot
2016-01-25 19:50:47 -08:00
k8s-merge-robot
110f995484
Merge pull request #19748 from freehan/registry
...
Auto commit by PR queue bot
2016-01-25 19:48:10 -08:00
Maru Newby
e709e91c64
Vagrant fixes for fedora 23
...
- wget is not installed by default on fedora 23. Use curl instead
since it is always available on recent Fedora.
- The repo url for cockpit resulted in an http redirect message being
saved as the repo file which broke deployment. Update the url to
url that was redirected to and ensure that future redirects will be
handled correctly.
- The main Fedora 23 repo includes salt packages, and there is no
salt repo for 23. The salt bootstrap still creates a repo file for
a nonexistent repo, though, and this change removes it to avoid
having dnf report an error on every update.
2016-01-26 00:33:01 +00:00
Dawn Chen
93168c1ede
Merge pull request #20036 from ihmccreery/instance-prefix
...
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE
2016-01-25 16:07:13 -08:00
Zach Loafman
abfbf68287
Revert "Bump to container-vm-v20160121"
2016-01-25 15:54:41 -08:00
Mike Danese
69add2fb80
dns: don't die when a headless service declares no ports
...
Headless services are not required to declare ports.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-25 15:46:06 -08:00
Eric Tune
f2df774ec9
Chmod password and token files.
...
Fixes #7808 .
2016-01-25 15:14:17 -08:00
Piotr Szczesniak
f93b1f1043
Bumped Heapster to v0.18.5 to fix issue with nil pointer panic
2016-01-25 21:55:16 +01:00
Quinton Hoole
10f7985dfb
Merge pull request #19995 from justinsb/gce_label_pd
...
Ubernetes-Lite GCE: Label volumes with zone information
2016-01-25 10:34:10 -08:00
jet tsang zeon-git
9ea4f6b6d9
fix kube-up without DOCKER_OPTS
2016-01-25 07:15:20 +08:00
Dhawal Yogesh Bhanushali
f7db2c6e99
vsphere support
2016-01-24 13:52:56 -08:00
Justin Santa Barbara
a4d6801655
AWS: Change config-test defaults to match GCE
...
KUBE_ENABLE_DAEMONSETS & KUBE_ENABLE_DEPLOYMENTS default to true in
config-test in GCE, so we should do the same in AWS for e2e sanity.
2016-01-24 10:43:43 -05:00
Justin Santa Barbara
8a7afc459c
AWS: Call build-runtime-config where it is used
...
build-runtime-config was being called in verify-prereqs, which didn't
match how GCE called it, and didn't seem to actually work.
Instead call it just before the master configuration is built. Also
call it just before the node configuration is built, even though the
nodes don't _currently_ require the runtime_config.
2016-01-24 10:43:15 -05:00
Michael Faille
ce7d5fe6e7
fix : openssl don't exist by default on CentOS docker image
...
To fix it, I just add openssl depedency on "generate-cert" state. It
should work on Debian-like and RedHat-Like systems. (and, Archlinux,
Opensuse, etc)
Fixed error :
$ sudo salt 'kubernetes-master' state.apply
----------
ID: kubernetes-cert
Function: cmd.script
Result: False
Comment: Command 'kubernetes-cert' run
Started: 06:57:06.634203
Duration: 208.719 ms
Changes:
----------
pid:
793
retcode:
1
stderr:
/tmpm24T3R.sh: line 22: openssl: command not found
chgrp: cannot access '/srv/kubernetes/server.key': No such file or directory
chgrp: cannot access '/srv/kubernetes/server.cert': No such file or directory
chmod: cannot access '/srv/kubernetes/server.key': No such file or directory
chmod: cannot access '/srv/kubernetes/server.cert': No such file or directory
stdout:
After applying my patch (success) :
----------
ID: kubernetes-cert
Function: cmd.script
Result: True
Comment: Command 'kubernetes-cert' run
Started: 07:17:04.172384
Duration: 1041.092 ms
Changes:
----------
pid:
1045
retcode:
0
stderr:
Generating a 4096 bit RSA private key
......................................................................++
...............................................................................++
writing new private key to '/srv/kubernetes/server.key'
-----
stdout:
----------
2016-01-24 02:18:11 -05:00
Justin Santa Barbara
d8460d5920
AWS: Pass non-masquerade-cidr through kube-up
...
Set the environment variable NON_MASQUERADE_CIDR.
Docs in cluster/aws/options.md
2016-01-22 21:01:44 -05:00
Isaac Hollander McCreery
9477bc08a5
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE, fixes #8705
2016-01-22 15:27:33 -08:00
Mike Danese
0fdaa41c5e
cluster/gce: fix unbound variable
2016-01-22 14:42:32 -08:00
Justin Santa Barbara
88eeec4f13
GCE: Register the PersistentVolumeLabel admission controller
2016-01-22 17:16:39 -05:00
Rudi Chiarito
bc0dd97a70
ECR credential provider
2016-01-22 15:03:25 -05:00
Arsen Mamikonyan
8b5e9e2885
Change repository references to https://github.com/kubernetes/kubernetes
2016-01-22 10:23:14 -05:00
Piotr Szczesniak
e6f3e2893a
Fixed syntax issue in Heapster config
2016-01-22 10:29:38 +01:00
Zach Loafman
83a6b7fcaa
Merge pull request #19957 from zmerlynn/container-vm-v20160121
...
Bump to container-vm-v20151215
2016-01-21 22:05:12 -08:00
Brendan Burns
faf10632fe
Merge pull request #19963 from freehan/monitor
...
fix heapster rc file jinja syntax error
2016-01-21 21:03:50 -08:00
Justin Santa Barbara
274e589aa6
AWS: Use an elastic IP for the master by default
...
If we don't use an elastic IP, the IP address will be lost if we lose
the master for any reason, and a replacement master will not have the
same IP. But the master IP is set both in client kubeconfig files and
the master SSL certificate. Hence the default should be to allocate an
elastic IP for the master.
One complication: AWS doesn't allow tags on elastic IPs, so it is hard
to track the elastic IP so we can delete it as part of kube-down.
Instead, we take the master EBS volume with the elastic IP. This is a
little odd, but works because the master volume & the master elastic IP
really need to be assigned to the same machine, so might be thought of
as a pair.
Also, we now delete the master EBS volume as part of kube-down, as
people expect kube-down to clean-up everything it creates.
2016-01-21 22:01:55 -05:00
YuviPanda
12a6778766
Update skynd RC template to use GNU style flags
2016-01-21 16:59:02 -08:00
YuviPanda
cd23dcee34
Use pflag instead of flag in kube2dns
...
- Marks flags with _ as deprecated, use the - variants instead
2016-01-21 16:58:25 -08:00
Yifan Gu
5817ca1c71
cluster/gce/coreos: Add scripts for configuring the master/node.
2016-01-21 16:32:15 -08:00
Yifan Gu
1705f4919f
cluster/gce/coreos: Update master and node cloud config.
2016-01-21 16:32:15 -08:00
Yifan Gu
fe70bf8485
cluster/gce/coreos: Upload templates during kube-up.
...
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
Yifan Gu
d7f4f6b3e0
cluster/gce/coreos: Add manifests for addons and master components.
2016-01-21 16:32:15 -08:00
Minhan Xia
3da8d80187
fix jinja syntax error
2016-01-21 16:03:49 -08:00
Alex Mohr
f788e1e11a
Merge pull request #19446 from justinsb/aws_reboot_master_on_failure
...
AWS: Create a cloudwatch alarm to reboot the master on failure
2016-01-21 15:05:14 -08:00
Zach Loafman
5965252421
Bump to container-vm-v20151215
...
No new kubelet/docker. Bump kernel to address CVE-2016-0728.
2016-01-21 14:32:20 -08:00
Alex Mohr
8d021f3d88
Merge pull request #19897 from ixdy/test-golang-1.5.3
...
Update tests from Go 1.5.2 to Go 1.5.3
2016-01-21 12:00:00 -08:00
Alex Mohr
7cd28ec178
Merge pull request #19922 from gmarek/kube-up
...
Slightly change warning printed when not all nodes are ready in validate-cluster.
2016-01-21 10:56:46 -08:00
Alex Mohr
d8be60ee57
Merge pull request #19777 from justinsb/echo_sleep_is_silly
...
kube-up scripts: don't 'echo sleep'
2016-01-21 10:44:38 -08:00
Alex Mohr
4c8e28b77c
Merge pull request #19535 from brendandburns/salt
...
Check that num_nodes is both defined and not None, not just defined
2016-01-21 10:42:53 -08:00
Alex Mohr
233d292ae5
Merge pull request #19456 from justinsb/salt_fix_tar_filemode
...
Salt: mode for tar file should be 644, not 755
2016-01-21 10:40:38 -08:00
Jean-Francois Chevrette
c5dca43427
remove etcd dependency on sysv init scripts
2016-01-21 13:38:27 -05:00
Alex Mohr
8755f3e8a3
Merge pull request #19407 from justinsb/aws_fix_salt_helium_detection
...
AWS: don't rely on salt for kube-node-unpacker on AWS
2016-01-21 10:38:08 -08:00
Alex Mohr
20ec685a50
Merge pull request #19271 from mbonaci/patch-1
...
Fix small dns readme error
2016-01-21 10:36:34 -08:00
Alex Mohr
766ee6cf0b
Merge pull request #19819 from ysh7/master
...
Problem with centos cluster creation script
2016-01-21 10:35:09 -08:00
Alex Mohr
8f0ab67819
Merge pull request #19241 from mesosphere/karlkfi-docker-cluster
...
Extract keygen image
2016-01-21 10:29:39 -08:00
Alex Mohr
eaa61a72b0
Merge pull request #17919 from justinsb/multizone_gce
...
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Jeff Grafton
0d84b49f65
Update tests from Go 1.5.2 to Go 1.5.3
2016-01-21 09:43:52 -08:00
gmarek
9d1e4b153c
Slightly change warning printed when not all nodes are ready in validate-cluster.
2016-01-21 15:55:36 +01: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
Justin Santa Barbara
43cbfb74fe
Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
...
We adapt the existing code to work across all zones in a region.
We require a feature-flag to enable Ubernetes-Lite
Reasons:
* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.
There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot
4e04a289d8
Merge pull request #19793 from MikeSpreitzer/issue/19221
...
Auto commit by PR queue bot
2016-01-20 18:52:56 -08:00
Minhan Xia
33ecc6226e
add extension links in registry README
2016-01-20 16:49:53 -08:00
Minhan Xia
263ac066e2
add docs to setup auth for kube-registry
2016-01-20 16:49:45 -08:00
Justin Santa Barbara
2958ea253a
GCE: Allow for reuse of master
...
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.
Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
Justin Santa Barbara
cdd4caf4df
Salt: force service provider to systemd if systemd
...
The version of Salt we're running doesn't do a good job of detecting
systemd. Inspired by https://github.com/saltstack/salt/issues/13926 ,
I added a provider-force to the services.
With this change, salt-call -l debug state.highstate succeeds, even for
repeated invocations.
The issue was (probably) benign, but definitely caused noised (e.g. #11297 )
2016-01-20 12:20:50 -05:00
Justin Santa Barbara
32d48c619c
AWS: Fix the docker-engine package name
...
I got the package name wrong before, which meant that salt was failing
on invocations after the first (the name apparently doesn't matter on
the first invocation).
2016-01-20 12:19:36 -05:00
k8s-merge-robot
89dea9f381
Merge pull request #19797 from justinsb/aws_docker_183
...
Auto commit by PR queue bot
2016-01-19 17:24:35 -08:00
k8s-merge-robot
b80ed11cc2
Merge pull request #15998 from cilium-team/updating-vagrant
...
Auto commit by PR queue bot
2016-01-19 17:13:03 -08:00
Minhan Xia
64d267f251
add docs for enabling tls for kube-registry
2016-01-19 17:02:30 -08:00
Minhan Xia
42ac5d2bd9
add docs about running private registry with gcs
2016-01-19 16:57:39 -08:00
André Martins
0515b4c7c9
Updated Vagrant VMs to Fedora 23
...
Signed-off-by: André Martins <aanm90@gmail.com>
2016-01-19 16:52:54 +00:00
Yagnesh Mistry
c171a96d15
fix error related to flannel network in CentOS 7 cluster creation scripts
2016-01-19 17:17:50 +05:30
Mike Spreitzer
bf671f5723
Fix reference to kubernetes release
...
Replace old repo name with https://github.com/kubernetes/kubernetes .
Update default release to the latest, which is 1.1.4.
2016-01-18 23:54:36 -05:00
Justin Santa Barbara
dcd7e813f7
AWS: Update AMIs for Ubuntu Vivid
...
Update to the latest AMIs for Vivid, as sourced from:
http://cloud-images.ubuntu.com/locator/ec2/
2016-01-18 16:47:06 -05:00
Justin Santa Barbara
9f995df29c
AWS: Use Docker 1.8.3 on Ubuntu vivid
...
This currently requires downloading from the Docker repository, until we
get the packages uploaded to Google Cloud Storage.
Issue #19796
2016-01-18 14:13:55 -05:00
Justin Santa Barbara
d2e65a89d0
kube-up scripts: don't 'echo sleep'
...
'echo sleep 5' just prints 'sleep 5'; replace with 'sleep 5'.
2016-01-17 21:29:01 -05:00
Justin Santa Barbara
65feea4449
AWS: don't rely on salt for kube-node-unpacker on AWS
...
We've had a lot of salt problems with systemd on AWS; we have a
workaround in place that we use everywhere else, we should use that for
kube-node-unpacker too.
Fixes #19386
Issue #19388
2016-01-17 14:35:07 -05:00
k8s-merge-robot
bd8d37f6f2
Merge pull request #19522 from apcera/dev_python3
...
Auto commit by PR queue bot
2016-01-17 03:21:07 -08:00
Mike Danese
912e54e496
Merge pull request #19749 from bprashanth/color
...
Remove undefined color_ variables
2016-01-16 10:46:31 -08:00
k8s-merge-robot
c678ef3592
Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
...
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
Prashanth Balasubramanian
7a97163914
Remove undefined color_ variables.
2016-01-15 18:06:32 -08:00
Mike Danese
919c011d96
Merge pull request #19640 from MikeSpreitzer/issue/19484
...
Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
2016-01-14 14:09:05 -08:00
James DeFelice
bc92fd6a02
add a timeout for job runs in case something gets stuck
2016-01-14 19:29:38 +00:00
Piotr Szczesniak
b4b5ead09a
Bumped Heapster to v0.18.4 to fix issue with broken watch
2016-01-14 13:02:56 +01:00
Mike Spreitzer
d4ab9663c4
Introduce FLANNEL_OTHER_NET_CONFIG
...
.. so allow configuration of other fields in, usually,
/coreos.com/network/config in etcd.
Fixes #19618
2016-01-14 01:27:13 -05:00
k8s-merge-robot
dc36f3a7f4
Merge pull request #19404 from nagarjung/update-get-kube
...
Auto commit by PR queue bot
2016-01-13 20:25:23 -08:00
Mike Spreitzer
f23e4fb37b
Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
...
Fixes #19484
2016-01-13 23:12:11 -05:00
k8s-merge-robot
cf7d2af14a
Merge pull request #19086 from mikedanese/fix-build
...
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
Josh Ellithorpe
76e8a8b08d
Fix issues with Python3 and bring up a dev cluster
2016-01-12 11:08:42 -08:00
Daniel Smith
3ffcfb928a
Merge pull request #18752 from miry/env-in-validate-cluster
...
AWS: Load cluster env during the validation
2016-01-12 10:39:19 -08:00
Daniel Smith
3b9d67e6c0
Merge pull request #18742 from bprashanth/flannel_release_temp
...
Don't pull flannel from github
2016-01-12 10:37:52 -08:00
k8s-merge-robot
e20a0db159
Merge pull request #19001 from endocode/fix-libvirt-coreos-cluster
...
Auto commit by PR queue bot
2016-01-12 08:15:00 -08:00