Justin Santa Barbara
bb68f740cd
AWS kube-up: collect logs from e2e
...
By implementing detect-node-names and a few other helpers, we are able
to collect the logs from nodes.
2016-03-16 11:48:07 -04:00
k8s-merge-robot
353c382761
Merge pull request #22783 from justinsb/fix_21147
...
Auto commit by PR queue bot
2016-03-11 17:08:17 -08:00
k8s-merge-robot
fc40fad0b2
Merge pull request #22779 from justinsb/fix_21218
...
Auto commit by PR queue bot
2016-03-11 16:32:35 -08:00
k8s-merge-robot
1f98ba99f1
Merge pull request #22846 from wojtek-t/fix_master_size
...
Auto commit by PR queue bot
2016-03-11 01:38:11 -08:00
Wojciech Tyczynski
46994a6890
Fix AWS default master sizes
2016-03-11 09:45:22 +01:00
k8s-merge-robot
31903c8bb1
Merge pull request #22594 from justinsb/aws_ulite
...
Auto commit by PR queue bot
2016-03-10 10:15:28 -08:00
Justin Santa Barbara
6678a3f013
AWS kube-up: add retries around delete-security-group
...
If we deleted an ELB, we often fail to delete the security group,
because deleting the ELB is invisibly asynchronous.
Add a retry loop around delete-security-group to work around this.
Fix #21147
2016-03-10 06:38:48 -05:00
Justin Santa Barbara
562f7f1f71
AWS kube-up: Clean up distro handling
...
The only tested-working distros are vivid, wily & jessie.
vivid should not really be used because it is no longer supported, so
recommend wily or jessie instead.
For other distros, recommend jessie instead.
Fix #21218
2016-03-10 06:29:20 -05:00
k8s-merge-robot
36cb9d05ea
Merge pull request #22728 from spxtr/tidy-shell
...
Auto commit by PR queue bot
2016-03-09 13:59:13 -08:00
Joe Finney
9845639e14
Remove cluster/kube-env.sh.
2016-03-08 16:57:31 -08:00
Joe Finney
e660adbad8
Add connect timeout to ssh-to-node.
2016-03-07 13:29:04 -08:00
Justin Santa Barbara
523e1d0d8c
Ubernetes-Lite: reuse existing configuration when reusing master
...
In particular, we need to share the kubelet cert & key, otherwise we
can't connect to the kube-api.
Fix #22593
2016-03-05 17:00:02 -05:00
Justin Santa Barbara
0d8d63c288
AWS: Update jessie image, to fix reboot issue
...
The previous jessie image had a broken cloud-init, which would use an
Ubuntu-specific 'nobootwait' argument when mounting disks. We now
override that in the image.
Fix #22549
2016-03-05 16:57:57 -05:00
Abhi Shah
05ba8ca7fa
Merge pull request #22170 from metmajer/master
...
Pass through EXTRA_DOCKER_OPTS.
2016-03-04 10:40:17 -08:00
k8s-merge-robot
2cf3c7809e
Merge pull request #21471 from justinsb/kube_up_auto_upgrade
...
Auto commit by PR queue bot
2016-03-02 21:00:43 -08:00
Justin Santa Barbara
b058c6b3e1
AWS: Add sha to download-or-bust
...
download-or-bust was changed on the GCE side to verify a hash if passed,
so we need to pass a hash in the AWS scripts that reuse this function.
2016-03-02 10:12:39 -05:00
Martin Etmajer
f1b2fc39ba
Pass through EXTRA_DOCKER_OPTS.
2016-02-29 19:46:58 +01:00
Justin Santa Barbara
8b122b102f
kube-up: Only upgrade if AUTO_UPGRADE set, but set it on AWS
...
Installing upgrades is kind of dangerous, so make it not the default.
But also set AUTO_UPGRADE=true on AWS.
2016-02-27 20:55:33 -05: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
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
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
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
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
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
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
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
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
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
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
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
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
ab1e9c200f
Graduate DaemonSet to v1beta1 API, enable it by default.
2016-02-17 15:03:12 -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
Joe Finney
6f7182e500
Remove hack/e2e-test.sh in favor of hack/e2e.go.
2016-02-16 14:54:50 -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
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