Commit Graph

20338 Commits

Author SHA1 Message Date
Wojciech Tyczynski
e565477795 Merge pull request #16731 from deads2k/fix-update-codec
make update-codecgen.sh more predictable
2015-11-04 10:46:40 +01:00
k8s-merge-robot
f030b74be0 Merge pull request #16678 from goltermann/subnet
Auto commit by PR queue bot
2015-11-03 23:23:20 -08:00
k8s-merge-robot
859f75f436 Merge pull request #15264 from yujuhong/work_queue
Auto commit by PR queue bot
2015-11-03 22:51:18 -08:00
k8s-merge-robot
5ff0e128ad Merge pull request #16752 from markturansky/remove_nfs_cansupport_binary_check
Auto commit by PR queue bot
2015-11-03 22:19:15 -08:00
markturansky
468bc39a63 Lengthened pvsync period 2015-11-04 00:42:44 -05:00
Timothy St. Clair
dbdd1614e6 Fix for linkage issue with new testing utilities 2015-11-03 22:16:47 -06:00
feihujiang
c39faf19f3 Move rest handler of subresources of pod to rest package 2015-11-04 10:23:49 +08:00
Jeff Grafton
10bcd3ef36 Don't fail if the console log doesn't exist. 2015-11-03 18:03:59 -08:00
Jeff Grafton
6bd450ba05 Update comment on how to use script 2015-11-03 18:01:24 -08:00
Jeff Grafton
f03b3c9171 Print out URL of where to find uploaded logs and artifacts. 2015-11-03 18:01:24 -08:00
Karl Isenberg
7a2564da42 Merge pull request #16769 from mesosphere/mesos-docker-compose-fix
Upgrade mesos/docker cluster to docker-compose 1.5.0
2015-11-03 17:34:40 -08:00
Karl Isenberg
34ca69cd50 Upgrade mesos/docker cluster to docker-compose 1.5.0
- Migrate to the new env var interpolation syntax (backwards incompatibile)
2015-11-03 16:58:13 -08:00
Jeff Lowdermilk
9ca75257bc Enable job e2e tests for GKE
will need cherrypick onto 1.1
2015-11-03 16:54:51 -08:00
Robert Bailey
d5bb12134e Replace monit with supervisord in documentation. 2015-11-03 16:20:02 -08:00
saadali
45ba3ed47b Increase pod timeout for PD tests 2015-11-03 15:57:37 -08:00
Dawn Chen
28f6041952 Merge pull request #16749 from derekwaynecarr/kubelet_default
Kubelet serialize image pulls had incorrect default
2015-11-03 15:53:07 -08:00
Daniel Smith
b3fde3beed sort known flags 2015-11-03 15:15:56 -08:00
Daniel Smith
241551e36e set-gen example 2015-11-03 15:14:51 -08:00
Daniel Smith
048e42a36c new generator helper package, implements main() 2015-11-03 15:14:51 -08:00
Janet Kuo
b8f97dd185 Remove unhelpful output when jsonpath and template printers fail to print 2015-11-03 15:09:00 -08:00
k8s-merge-robot
bad838f35c Merge pull request #16717 from liggitt/hpa_ref_validation
Auto commit by PR queue bot
2015-11-03 15:04:30 -08:00
Nikhil Jindal
34cbe48736 Merge pull request #16690 from nikhiljindal/apiDeclNotFound
Fixing missing swagger spec for apis/extensions
2015-11-03 14:36:31 -08:00
k8s-merge-robot
c24873743f Merge pull request #16664 from wojtek-t/remove_fake_client_from_cacher
Auto commit by PR queue bot
2015-11-03 13:48:35 -08:00
Yu-Ju Hong
2eb17df46b kubelet: independent pod syncs and backoff on error
Currently kubelet syncs all pods every 10s. This is not preferred because
 * Some pods may have been sync'd recently.
 * This may cause all the pods to be sync'd at once, causing undesirable
   CPU spikes.

This PR replaces the global syncs with independent, periodic pod syncs. At the
end of syncing, each pod worker will enqueue itslef with a future timestamp (
current time + sync interval), when it will be due for another sync.
 * If the pod worker encoutners an sync error, it may requeue with a different
   timestamp to retry sooner.
 * If a sync is triggered by the update channel (events or spec changes), the
   pod worker would enqueue a new sync time.

This change is necessary for moving to long or no periodic sync period once pod
lifecycle event generator is completed. We will still rely on the mechanism to
requeue the pod on sync error.

This change also makes sure that if a sync does not succeed (either due to
real error or the per-container backoff mechanism), an error would be propagated
back to the pod worker, which is responsible for requeuing.
2015-11-03 13:29:08 -08:00
markturansky
d3bb6575fb Revert "nfs: check if /sbin/mount.nfs* is present in CanSupport()"
This reverts commit 1b3a88dc87.
2015-11-03 16:09:57 -05:00
derekwaynecarr
b403e30d1a Kubelet serialize image pulls had incorrect default 2015-11-03 15:24:01 -05:00
Avesh Agarwal
c113737a1d Apply correct SELinux label to kubelet volume dir in local cluster. 2015-11-03 15:00:43 -05:00
Jordan Liggitt
b3157d1445 Ensure HPA has valid resource/name/subresource, validate path segments 2015-11-03 14:46:17 -05:00
Paul Morie
09701b4fa8 Surface replica count update errors in log 2015-11-03 14:20:08 -05:00
k8s-merge-robot
1407fd2071 Merge pull request #16102 from ihmccreery/release-docs
Auto commit by PR queue bot
2015-11-03 11:09:36 -08:00
Justin Santa Barbara
2d5671aec2 AWS: Fix kube-up comments per code review 2015-11-03 13:12:17 -05:00
Brendan Burns
a78b2e0a9f Merge pull request #16736 from dchen1107/docker
Enable supervisord on all cloud providers and removed monit.
2015-11-03 10:09:43 -08:00
Paul Morie
112f1d848b Update image versions in emptyDir e2e 2015-11-03 13:01:51 -05:00
Isaac Hollander McCreery
ed7b42c4a3 Clarify -dirty language, and add --no-dry-run to usage 2015-11-03 09:42:49 -08:00
Dawn Chen
956561810f Remove monit related salt files. 2015-11-03 09:31:50 -08:00
Dawn Chen
29614d3fe0 Enable supervisord for other cloud providers. 2015-11-03 09:30:24 -08:00
Isaac Hollander McCreery
a9fc43d120 Fix releasing clause about cutting beta releases 2015-11-03 09:26:01 -08:00
Justin Santa Barbara
41743ce87a AWS: Delete ASGs by following instances
We can't tag ASGs, but we can see what instances are running in an ASG,
and we can match those by our tags.

So look for our running instances, and look for the ASGs that created
them, and delete those.

This can be defeated (most notably if users change the ASG size to 0),
but it is safer that other deletion methods.
2015-11-03 11:58:05 -05:00
Justin Santa Barbara
cf86ecc604 AWS: Only match minions in the current ASG
i.e. don't assume there is only one ASG any more
2015-11-03 11:58:05 -05:00
Justin Santa Barbara
d64643fe26 AWS: Experimental support for multiple subnets/AZs in kube-up
By setting KUBE_SHARE_MASTER=true we reuse an existing master, rather
than creating a new one.

By setting KUBE_SUBNET_CIDR=172.20.1.0/24 you can specify the CIDR for a
new subnet, avoiding conflicts.

Both these options are documented only in kube-up and clearly marked as
'experimental' i.e. likely to change.

By combining these, you can kube-up a cluster normally, and then kube-up
a cluster in a different AZ, and the new nodes will attach to the same
master.

KUBE_SHARE_MASTER is also useful for addding a second node
auto-scaling-group, for example if you wanted to mix spot & on-demand
instances.
2015-11-03 11:57:59 -05:00
k8s-merge-robot
ca6fe97275 Merge pull request #16724 from sroze/patch-2
Auto commit by PR queue bot
2015-11-03 07:18:20 -08:00
Justin Santa Barbara
df3897c4ab Split main kube-up function into sub-functions
Makes it a little easier to read, also lets us reuse a master in the
next commit without a complex diff.
2015-11-03 10:16:32 -05:00
Justin Santa Barbara
1607ac1a7a AWS: use filters in get_igw_id & get_subnet_id
Also remove unused get_route_table_id
2015-11-03 10:09:51 -05:00
deads2k
c8d8c390cb make update-codecgen.sh more predictable 2015-11-03 10:03:06 -05:00
k8s-merge-robot
c8fe00b94f Merge pull request #16711 from liggitt/remotecommand_error
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
k8s-merge-robot
121f33068d Merge pull request #16668 from deads2k/fix-hpa-escalation
Auto commit by PR queue bot
2015-11-03 06:11:34 -08:00
k8s-merge-robot
3f3918048a Merge pull request #16669 from erictune/fix-run-docstring
Auto commit by PR queue bot
2015-11-03 05:29:29 -08:00
deads2k
fd1c8e096a eliminate cross-namespace HPA escalation attack 2015-11-03 08:05:26 -05:00
k8s-merge-robot
1b437272ba Merge pull request #16696 from janetkuo/kubectl-jsonpath
Auto commit by PR queue bot
2015-11-03 04:29:28 -08:00
k8s-merge-robot
76083f73dc Merge pull request #16671 from DirectXMan12/refactor/hpa-heapster-service
Auto commit by PR queue bot
2015-11-03 03:58:26 -08:00