hurf
961d7f995a
Remove unused parameters and flags
...
Some params and flags are set but not used, remove them.
2015-08-27 10:40:40 +08:00
Pedro Roque Marques
99b1da848d
Add kubelet '--resolv-conf' flag.
...
Allow the user to specify the resolver configuration file that is used
to determine the default DNS parameters. This defaults to the system's
/etc/resolv.conf.
2015-08-26 15:41:36 -07:00
Chao Xu
fc9c2ddf0c
add a fuzz function for expapi.APIVersion
2015-08-26 15:23:36 -07:00
Yu-Ju Hong
c7afae75f5
Merge pull request #13103 from yujuhong/restart_count
...
Kubelet: fix container restart counts
2015-08-26 15:13:10 -07:00
Yu-Ju Hong
a5fe33b8a3
Merge pull request #8530 from swagiaal/add-fomat-and-mount
...
Support formatting and mounting GCE PD without 'safe_format_and_mount'
2015-08-26 15:12:06 -07:00
Yu-Ju Hong
d839ab2024
Merge pull request #12940 from Miciah/Warning-to-Warningf
...
glog.Warning -> glog.Warningf
2015-08-26 13:36:05 -07:00
Yu-Ju Hong
b00c04c497
Merge pull request #12845 from hurf/o_name
...
Add -o name for commands which use printer to output results
2015-08-26 13:03:52 -07:00
Yu-Ju Hong
1bae2b677d
Merge pull request #12492 from derekwaynecarr/limit_range_api
...
LimitRange updates for Resource Requirements Requests
2015-08-26 13:02:57 -07:00
Yifan Gu
67e1589a08
kubelet/rkt: add created/started/failed/killing events.
...
Also improve the logging for rkt command line commands.
2015-08-26 10:39:10 -07:00
Yu-Ju Hong
7b162c092f
Merge pull request #12972 from mwielgus/kubectl_describe_hpa
...
Kubectl describe for experimental HorizontalPodAutoscaler
2015-08-26 09:55:30 -07:00
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
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
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
Marcin Wielgus
df0a0ed37e
Implementation of HorizontalPodAutoscaler
2015-08-26 14:51:54 +02:00
Jimmi Dyson
3a6701c85f
Ensure container metrics are registered with prometheus even without
...
cadvisor http server
Fixes #13200
2015-08-26 13:35:32 +01: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
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
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
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
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
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
markturansky
c0aa62eb38
Added PersistentVolumeSource to describer output
2015-08-25 14:18:28 -04:00
Clayton Coleman
940cc2837c
Review comments
2015-08-25 14:18:07 -03:00
Clayton Coleman
8a62f1828d
Evict terminating pods
2015-08-25 14:17:39 -03:00
Yu-Ju Hong
5dfc904c18
Merge pull request #10979 from kargakis/resource-builder-name-method
...
Support default types in the resource builder
2015-08-25 10:08:00 -07:00
Yu-Ju Hong
9f508e9422
Merge pull request #13076 from invenfantasy/master
...
Cleanup deprecated Forever function
2015-08-25 10:07:10 -07:00
Yu-Ju Hong
8fed897f78
Merge pull request #9999 from thockin/low-node-ports
...
Actually hold NodePorts open in kube-proxy
2015-08-25 10:06:38 -07:00
Marek Grabowski
ad41904121
Merge pull request #12837 from JanetKuo/kubectl-validate-on
...
Make --validate default on and shows how to turn if off
2015-08-25 17:41:23 +02:00
Wojciech Tyczynski
1bd9ff3bc9
Renaming in pkg/registry to reflect reality
2015-08-25 16:25:59 +02:00
Marek Grabowski
34e499ddf1
Merge pull request #12645 from sdminonne/labels_selector_overlaps
...
to add tests for RC selector overlapping and fix few comments
2015-08-25 16:07:50 +02:00
Wojciech Tyczynski
d14654589a
Merge pull request #13092 from wojtek-t/refactor_etcd_create_test
...
Refactoring of create etcd tests.
2015-08-25 15:07:42 +02:00
Janet Kuo
5823ef771b
Make --validate default on and shows how to turn if off
2015-08-25 03:18:32 -07:00
Salvatore Dario Minonne
8e4d74988a
to add tests for RC selector overlapping and fix few comments
2015-08-25 10:02:20 +02:00
kargakis
f3c63ba16b
Support default types in the resource builder
...
Right now there is no method in the resource builder for specifying just the name of a resource. NameParam is useful when a default type is already specified with ResourceTypes.
Signed-off-by: kargakis <mkargaki@redhat.com >
2015-08-25 10:36:37 +03:00
Wojciech Tyczynski
f0b8749450
Revert "Reenable Cacher"
2015-08-25 08:06:49 +02:00
Nikhil Jindal
a945785409
Merge pull request #13081 from mwielgus/hpa_heapster_query
...
Scale subresource and Heapster querying in HorizontalPodAutoscaler
2015-08-24 18:54:28 -07:00
Nikhil Jindal
8846c841a8
Merge pull request #12648 from samsabed/crashloop
...
back off restarts of crashlooping containers
2015-08-24 18:54:13 -07:00