Commit Graph

23615 Commits

Author SHA1 Message Date
Clayton Coleman
6582b4c2ea Remove codec awareness from conversion
Allow convertors to be specialized, some cleanup to how conversion
functions are stored internally to allow better reuse.
2016-01-21 23:18:32 -05:00
Clayton Coleman
9d5df20efe jsonpath: Handle interface{}(nil) as empty array 2016-01-21 23:18:31 -05: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
feihujiang
50b6d3819f Fix a small error comment in nodecondition type 2016-01-22 10:21:16 +08:00
Alex Mohr
ca69c2e310 Merge pull request #19967 from justinsb/fix_gce_npe
Fix for panic when instance not found
2016-01-21 17:20:58 -08:00
Nikhil Jindal
cd2e0c490e Merge pull request #19674 from nikhiljindal/latestAndRegistered
Merge registered and latest and move to apimachinery
2016-01-21 17:19:49 -08:00
YuviPanda
12a6778766 Update skynd RC template to use GNU style flags 2016-01-21 16:59:02 -08:00
YuviPanda
f0c5051201 Fix verify-flags lists to account for flag changes 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
Daniel Smith
23fd5e9a33 Make future flake diagnosis possible.
It's currently unclear if the request failed because the proxy wasn't
quite up yet, or if it failed because traffic couldn't get from the
proxy to apiserver. Getting the proxy logs unconditionally should help
narrow this down.
2016-01-21 16:41:26 -08:00
Yifan Gu
723402c4e9 build/common.sh: Copy manifests. 2016-01-21 16:32:15 -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
Justin Santa Barbara
2201c631b3 Fix for panic when instance not found
This removes a panic I mistakenly introduced when an instance is not
found, and also restores the exact prior behaviour for
getInstanceByName, where it returns cloudprovider.InstanceNotFound when
the instance is not found.
2016-01-21 19:15:09 -05:00
Eric Tune
b048814beb Promote ServiceAccount e2e out of [Flaky] status
Was marked as flaky prior to #11291, 6 months ago.
Code has changed many times.
No flakes in last 28 runs, and no Jenkins
history before that.
Follow up in #19024 if you see a flake.
2016-01-21 16:13:56 -08:00
Alex Mohr
76f02d562a Merge pull request #19083 from resouer/allocatable
Use Allocatable to replace Capacity
2016-01-21 16:05:05 -08:00
Alex Mohr
69b28ce7e5 Merge pull request #19892 from krousey/rtwrap
Add WrappedRoundTripper methods to round trippers
2016-01-21 16:04:51 -08:00
Minhan Xia
3da8d80187 fix jinja syntax error 2016-01-21 16:03:49 -08:00
Alex Mohr
4ac2f7453d Merge pull request #19533 from kargakis/bloated-job-status-fix
Fix job status conditions bloat
2016-01-21 15:10:49 -08:00
Alex Mohr
9546909929 Merge pull request #19366 from ironcladlou/noop-zero-replicas
Support rolling update to 0 desired replicas
2016-01-21 15:08:20 -08:00
Alex Mohr
12845ba9a5 Merge pull request #18877 from markturansky/fix_18830
Trigger syncClaim after PV provisioning to reduce wait
2016-01-21 15:06:46 -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
Chao Xu
0734248e42 Use lowercase names in individual typed clients 2016-01-21 15:01:47 -08:00
Chao Xu
030043b5be Ingress's plural 2016-01-21 15:01:47 -08:00
Alex Mohr
12ecd67c01 Merge pull request #19703 from smarterclayton/add_protobuf
Install protoc into kube-cross Docker image
2016-01-21 14:59:41 -08:00
Alex Mohr
ba6c939b3e Merge pull request #19887 from liggitt/export_transports
Export transport constructors
2016-01-21 14:54:40 -08:00
James DeFelice
0b50f6c513 store and return deep copies of pod objects to avoid data races 2016-01-21 22:52:02 +00:00
nikhiljindal
2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -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
a5dddfcb32 Merge pull request #19851 from thockin/fix-19723-test-strings
Match regexes for error strings in e2e
2016-01-21 14:31:47 -08:00
Alex Mohr
e98fb3c424 Merge pull request #19810 from spiffxp/empty-docker-opts-cp
Support building on remote docker-machine instances
2016-01-21 14:30:57 -08:00
Joe Finney
3eef36b8a0 Handle multijob runners properly in verify-jenkins-jobs.sh 2016-01-21 14:28:32 -08:00
Alex Mohr
7d96694c3f Merge pull request #19725 from timstclair/summary
Add blank /stats/summary kubelet endpoint
2016-01-21 14:27:53 -08:00
Alex Mohr
359c684d57 Merge pull request #19698 from kargakis/expose-deployments
kubectl: Support exposing deployments
2016-01-21 14:26:14 -08:00
Alex Mohr
7742c6c78e Merge pull request #19673 from ihmccreery/feature-volumes
Mark Volumes and PersistentVolumes as [Feature:Volumes] instead of [Skipped]
2016-01-21 14:25:06 -08:00
Alex Mohr
21a5d57c75 Merge pull request #19481 from deads2k/fix-patch-admission
make patch call update admission chain after applying the patch
2016-01-21 14:23:19 -08:00
Alex Mohr
6b1830841e Merge pull request #19877 from mesosphere/jdef_fix_k8sm_735_scheduler_event_broadcaster_config
MESOS: conformance fix: scheduler name should match api.DefaultSchedulerName
2016-01-21 14:15:56 -08:00
Alex Mohr
ad5dce89f0 Merge pull request #19790 from mqliang/podgc-event
remove unused eventBroadcaster in gc controller
2016-01-21 13:54:12 -08:00
Joe Finney
9dccefae8f Add examples E2E job to source control. 2016-01-21 13:46:47 -08:00
Mike Danese
1fc630caa0 add ip validation to componentconfig command line 2016-01-21 13:33:30 -08:00
Justin Santa Barbara
cc8e11b8d4 Update generated code for NonMasqueradeCIDR field 2016-01-21 15:18:38 -05:00
Justin Santa Barbara
58191c446c Allow non-masquerade-cidr to be passed to the kubelet
Removing the hard-coding of 10.0.0.0/8

Issue #11204
2016-01-21 15:18:31 -05:00
Alex Mohr
1eabef0388 Merge pull request #19794 from mesosphere/jdef_fix_19672_camlistore_godeps
updated appc/spec and camlistore/ godeps to fix broken godep restore
2016-01-21 12:04:56 -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
Jeff Grafton
df53c44abc Restrict build jobs to running on build node instead of master 2016-01-21 11:29:24 -08:00
k8s-merge-robot
bc55b1a58b Merge pull request #19857 from resouer/fakegit
Auto commit by PR queue bot
2016-01-21 11:29:14 -08:00
k8s-merge-robot
61096f4998 Merge pull request #19517 from spxtr/fix-test-go
Auto commit by PR queue bot
2016-01-21 11:25:58 -08:00
Alex Mohr
fd9310fa6e Merge pull request #18452 from xiang90/refactor_nodiskconflicts
scheduler: clean up NoDiskConflict code in predicates.go
2016-01-21 10:58:41 -08:00