Commit Graph

16964 Commits

Author SHA1 Message Date
Yu-Ju Hong
c237ac4c84 Merge pull request #13003 from yujuhong/decouple_workers
kubelet: trigger pod workers independently
2015-08-26 09:53:25 -07:00
Max Forbes
48801da130 Make MASTER_IP_RANGE master-only 2015-08-26 09:53:08 -07:00
Sami Wagiaalla
ab0258f259 Support formatting and mounting GCE PD without 'safe_format_and_mount'
The GCE PD plugin uses safe_format_and_mount found on standard GCE images:

https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google-startup-scripts/usr/share/google/safe_format_and_mount

On custom images where this is not available pods fail to format and
mount GCE PDs. This patch uses linux utilities in a similar way to the
safe_format_and_mount script to format and mount the GCE PD and AWS EBC
devices. That is first attempt a mount. If mount fails try to use file to
investigate the device. If 'file' fails to get any information about
the device and simply returns "data" then assume the device is not
formatted and format it and attempt to mount it again.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-08-26 11:53:40 -04:00
Jerzy Szczepkowski
14193b45e3 Merge pull request #13134 from jszczepkowski/client-proxy
Added ProxyGet method to services client.
2015-08-26 17:53:24 +02:00
Amy Unruh
5b6c5823da fix error in 'rm' path instructions to force restaging 2015-08-26 08:10:51 -07:00
xavierbaude
62a0b45a72 Add cookbook for VMware
related to https://github.com/kubernetes/kubernetes/pull/13143
2015-08-26 16:39:24 +02:00
Jerzy Szczepkowski
08594dab8c Added ProxyGet method to services client.
Added ProxyGet method to services client.
2015-08-26 16:38:13 +02:00
Marcin Wielgus
55cd0d565e Kubectl describe for experimental HorizontalPodAutoscaler 2015-08-26 16:28:50 +02:00
Filip Grzadkowski
1a8b400c3e Merge pull request #13147 from mwielgus/hpa_impl
Implementation of HorizontalPodAutoscaler
2015-08-26 15:36:27 +02:00
Jørgen Grøndal
31f0f2b17f Update CentOS getting started guide with needed KUBELET_API_SERVER definition 2015-08-26 15:08:41 +02:00
Maciej Szulik
5b3ae7a0fb Added make verify to simplify running presubmit checks 2015-08-26 14:54:54 +02:00
Marcin Wielgus
df0a0ed37e Implementation of HorizontalPodAutoscaler 2015-08-26 14:51:54 +02:00
Filip Grzadkowski
b87077c270 Merge pull request #13193 from piosz/autoscaling-e2e
Started running Autoscaling e2e test on dedicated Jenkins job
2015-08-26 13:53:10 +02:00
Maciej Szulik
7edb1afad6 Fixed typo in verify-flags-underscore 2015-08-26 13:29:10 +02:00
Maciej Szulik
4caa5e80b1 Updated deprecated flags (address and port). Added an option to pass runtime-config. 2015-08-26 13:28:40 +02:00
Piotr Szczesniak
99b9de9d76 Started running Autoscaling e2e test on dedicated Jenkins job 2015-08-26 12:12:51 +02:00
Jimmi Dyson
b5318b45f1 Update fabric8 client library location 2015-08-26 10:59:03 +01:00
Mathieu Velten
57f18a0e04 Add a dockercfg_path parameter to the Mesos scheduler (the main purpose is to handle private repos auth).
This is implemented by copying the dockercfg file in the executor work directory.
2015-08-26 11:21:08 +02:00
Filip Grzadkowski
dee21c89cd Merge pull request #13186 from wojtek-t/reenable_cacher_2
Reenable watch in apiserver
2015-08-26 11:10:22 +02:00
hurf
d2d96ff6e1 Add -o name for commands which use printer to output results
Added a new printer which prints 'resource/name' pair of a given
object.
2015-08-26 17:04:23 +08:00
Filip Grzadkowski
9f1d2af5fb Merge pull request #13135 from wojtek-t/fix_cacher_deadlock
Fix deadlock in Cacher on etcd errors
2015-08-26 10:46:24 +02:00
hurf
6ccc438169 Use exsiting print function in label command
Instead of getting printer in the code, use exsiting function.
2015-08-26 16:45:11 +08:00
Wojciech Tyczynski
c0aba1dc8a Reenable watch in apiserver 2015-08-26 10:39:01 +02:00
feihujiang
6b394e7212 Kubectl version should show client version at least
when couldn't read server version
2015-08-26 15:00:28 +08:00
Wojciech Tyczynski
a12b7edc42 Fix deadlock in Cacher on etcd error 2015-08-26 08:02:21 +02:00
Yifan Gu
6ced66249d kubelet/dockertools: clear container reference when killing a container. 2015-08-25 18:22:08 -07:00
Yu-Ju Hong
b906e34576 kubelet: trigger pod workers independently
Currently, whenever there is any update, kubelet would force all pod workers to
sync again, causing resource contention and hence performance degradation.

This commit flips kubelet to use incremental updates (as opposed to snapshots).
This allows us to know what pods have changed and send updates to those pod
workers only. The `SyncPods` function has been replaced with individual
handlers, each handling an operation (ADD, REMOVE, UPDATE). Pod workers are
still triggered periodically, and kubelet performs periodic cleanup as well.

This commit also spawns a new goroutine solely responsible for killing pods.
This is necessary because pod killing could hold up the sync loop for
indefinitely long amount of time now user can define the graceful termination
period in the container spec.
2015-08-25 17:52:01 -07:00
Yu-Ju Hong
00e34429e0 Merge pull request #13002 from nikhiljindal/registerDeployment
Register deployment API Object
2015-08-25 16:58:15 -07:00
Yu-Ju Hong
655645eb9c Merge pull request #13041 from yifan-gu/rkt_patch_fix
kubelet/rkt: merge environments instead of overriding.
2015-08-25 16:58:00 -07:00
Yu-Ju Hong
f1e8cb180d Merge pull request #13148 from pwittrock/update_cadvisor
Update Kubernetes cadvisor
2015-08-25 16:11:11 -07:00
Yu-Ju Hong
3bc2157889 Merge pull request #13100 from pweil-/cap-priv-sources
use privileged source object
2015-08-25 16:10:50 -07:00
Yu-Ju Hong
6071942f98 Merge pull request #13154 from derekwaynecarr/fix_vagrant_warning
Fix typo that caused an error at end of vagrant up
2015-08-25 15:33:14 -07:00
Yu-Ju Hong
df8c189390 Merge pull request #13150 from cjcullen/gce
Add liveness probe for master's etcd pod
2015-08-25 15:26:32 -07:00
Yu-Ju Hong
71c6e0d662 Merge pull request #13139 from wojtek-t/rename_strategy
Renaming in pkg/registry to reflect reality
2015-08-25 15:26:05 -07:00
Sreekanth Pothanis
c841a20361 Cinder Volume Plugin 2015-08-25 15:13:56 -07:00
Yu-Ju Hong
e228300f4b Merge pull request #13161 from kubernetes/revert-13094-fix_local_up
Revert "Updated deprecated flags (address and port). Added an option …
2015-08-25 14:48:35 -07:00
Phillip Wittrock
dae4142d5c Update Kubernetes cadvisor to pull in @b7bbefd9b1d4c1032c6afece425a99ba17e43cdb so that the VersionInfo is not cached. 2015-08-25 14:47:38 -07:00
Yu-Ju Hong
ac97aed837 Revert "Updated deprecated flags (address and port). Added an option to pass runtime-config." 2015-08-25 14:45:06 -07:00
Yu-Ju Hong
3c0a05de4a Merge pull request #13101 from andyzheng0831/trusty
Stage trusty/node.yaml for GKE use
2015-08-25 14:32:56 -07:00
Yu-Ju Hong
29cabbe2f2 Merge pull request #12962 from smarterclayton/evict_terminating_pods
Handle terminating pods in the node controller (6/7)
2015-08-25 14:32:24 -07:00
Yu-Ju Hong
a74bea7f32 Merge pull request #13094 from soltysh/fix_local_up
Updated deprecated flags (address and port). Added an option to pass runtime-config.
2015-08-25 14:31:57 -07:00
Yu-Ju Hong
d7752e0c5f Merge pull request #12733 from markturansky/pv_describer
Added PersistentVolumeSource to describer output
2015-08-25 14:31:27 -07:00
Yu-Ju Hong
68a916d1b1 Merge pull request #10637 from marun/conditional-f21-fixup
Vagrant: Make F21 fixup conditional
2015-08-25 14:30:59 -07:00
Yu-Ju Hong
f0c8a5be78 Merge pull request #9708 from bronislav/add-ability-to-choose-aws-credentials
Add ability to select AWS profile
2015-08-25 14:30:02 -07:00
Yifan Gu
7767dafb4d kubelet/rkt: include the pod restart count in service file.
Also remove the service file when the pod is killed.
2015-08-25 13:59:18 -07:00
nikhiljindal
c664b5bef3 Registering Deployment API objects and generating related auto functions 2015-08-25 13:23:32 -07:00
Yifan Gu
763ffdb1fe kubelet/rkt: merge environments instead of overriding.
Merge the environments in container spec and in the image
manifest. Also allow empty app in image manifest.
2015-08-25 13:10:58 -07:00
Paulo Pires
36aa867af4 Ran missing hack/update-generated-docs.sh. 2015-08-25 20:11:53 +01:00
derekwaynecarr
55a57a0bce Fix typo that caused an error at end of vagrant up 2015-08-25 15:06:31 -04:00
markturansky
c0aa62eb38 Added PersistentVolumeSource to describer output 2015-08-25 14:18:28 -04:00