Commit Graph

7269 Commits (381a7238140f84426554947509b6738c80aca11b)

Author SHA1 Message Date
Mike Danese 650bf71cf7 Merge pull request #13120 from caesarxuchao/13804
add a fuzz function for expapi.APIVersion
2015-08-27 09:50:53 -07:00
kargakis e86bb1aeca expose: Don't query the server for input objects
Signed-off-by: kargakis <mkargaki@redhat.com>
2015-08-27 15:52:22 +03:00
Piotr Szczesniak 6e05b9e3a3 Revert "LimitRange updates for Resource Requirements Requests" 2015-08-27 10:50:50 +02:00
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
Nikhil Jindal c85912eb45 Merge pull request #13121 from a-robinson/tags
Be more lenient when deriving the node tag from a node name on GCE
2015-08-24 17:54:47 -07:00
Tim Hockin 8e503f3814 Hold node ports in iptables proxier 2015-08-24 16:35:05 -07:00
Tim Hockin 5087ae6c93 Hold node-ports for publicIPs for local IPs 2015-08-24 16:32:44 -07:00
Tim Hockin f5a9281a26 Actually hold NodePorts open in kube-proxy 2015-08-24 16:32:44 -07:00
Alex Robinson 87d86cf7a4 Be more lenient when deriving the node tag from a node name on GCE. 2015-08-24 23:03:42 +00:00
Nikhil Jindal 40ba1856bc Merge pull request #12807 from paralin/fix-link-local
Always select non link-local network interface, fixes #11961.
2015-08-24 15:56:55 -07:00
Jordan Liggitt 11b4a9601b Fix portforward test flake with GOMAXPROCS > 1 2015-08-24 17:11:44 -04:00
Nikhil Jindal 5c0725a26a Merge pull request #13089 from JanetKuo/kubectl-exec-bash-completion
Enable kubectl exec pod name bash completion
2015-08-24 14:06:35 -07:00
Nikhil Jindal 08cddd8797 Merge pull request #13086 from wojtek-t/reenable_cacher
Reenable Cacher
2015-08-24 14:06:14 -07:00
Paul Weil 709e654686 use privileged source object 2015-08-24 16:53:43 -04:00
Yu-Ju Hong 1e26cdfb67 kubelet: fix container restart counts
This commit ensures that the container restart count increments monotonically
when there is no kubelet restarts.
2015-08-24 12:50:05 -07:00
derekwaynecarr 3ee66f358f Update kubectl describer for LimitRange 2015-08-24 15:19:29 -04:00
derekwaynecarr 8fbe4645e3 Add fields to LimitRange object 2015-08-24 15:18:45 -04:00
Christian Stewart 3a23bee9ad
always select non link-local interface, fixes #11961
The API server will refuse to start if a link-local IP address is selected, however, ChooseNetworkInterface can still select link-local network routes. This causes a startup failure on platforms like DigitalOcean that use a link-local route to fetch metadata.

Signed-off-by: Christian Stewart <christian@paral.in>
2015-08-24 14:49:19 -04:00
Nikhil Jindal 4c88aeeda2 Merge pull request #13093 from hurf/nit
Fix docstring for InfoForObejct func
2015-08-24 11:37:50 -07:00
Nikhil Jindal e690f3b3e8 Merge pull request #12900 from feihujiang/deleteMultipleResourcesWithTheSameName
Allow delete multiple resources with the same name
2015-08-24 10:40:41 -07:00
Nikhil Jindal 9a7f871d17 Merge pull request #12896 from thockin/proxy-nodeports
Tail-call nodeports rules in iptables proxy
2015-08-24 10:39:54 -07:00
Nikhil Jindal a1c5f3f45d Merge pull request #12876 from yujuhong/pod_status
kubelet: switch to using pod UID as the key in status manager
2015-08-24 10:39:02 -07:00
Nikhil Jindal 4ffb59fa79 Merge pull request #12813 from JanetKuo/kubectl-deprecate-t
Deprecated -t for --template to make it --tty
2015-08-24 10:37:55 -07:00
Nikhil Jindal e0d61b49cc Merge pull request #12162 from ncdc/fix-port-forward-bind-failure
Correctly error when all port forward binds fail
2015-08-24 10:37:19 -07:00
Nikhil Jindal a09425d828 Merge pull request #10933 from andronat/swagger_auto_type_docs
Automatic Generation of Swagger Documentation in Types
2015-08-24 10:35:58 -07:00
Andy Goldstein 725aa9656e Correctly error when all port forward binds fail
Fix port forwarding code such that if all local binds fail, an error is
returned instead of waiting for an interrupt.
2015-08-24 10:56:26 -04:00
Marcin Wielgus 1ce8bb7bb2 Scale subresource querying in HorizontalPodAutoscaler 2015-08-24 16:42:25 +02:00
hurf 5bec41d0b6 Fix docstring for InfoForObejct func 2015-08-24 21:46:49 +08:00
Wojciech Tyczynski 61de4fc34d Refactoring of create etcd tests. 2015-08-24 15:11:00 +02:00
Janet Kuo 46eb607677 Enable kubectl exec pod name bash completion 2015-08-24 05:25:48 -07:00
Marcin Wielgus 9ad982ef77 Merge pull request #12844 from hurf/label_out
Simplify output of 'kubectl label' command
2015-08-24 14:00:56 +02:00
Marcin Wielgus b0354d2671 Merge pull request #12999 from nikhiljindal/deploymentAPI
Adding Deployment API Objects to /expapi
2015-08-24 13:57:49 +02:00
Sam Abed 995cb15bb6 back off restarts of crashlooping containers
Signed-off-by: Sam Abed <samabed@gmail.com>
2015-08-24 21:43:17 +10:00
Marcin Wielgus 9d466abd55 Serialization_test quick fix (remove exapi) 2015-08-24 13:13:14 +02:00
Wojciech Tyczynski 102b618ce3 Reenable Cacher. 2015-08-24 13:07:10 +02:00
Janet Kuo 0bcb3147f6 Deprecated -t for --template to make it --tty 2015-08-24 02:16:01 -07:00
Marcin Wielgus 66309325f8 Merge pull request #13015 from feihujiang/kubectlAnnotationAcceptFileNameParam
Kubectl annotate command accepts a filename param
2015-08-24 10:57:30 +02:00
feihujiang 943c57ff4e Allow delete multiple resources with the same name 2015-08-24 15:14:01 +08:00
nikhiljindal bdf5b26018 Adding Deployment API Objects to /expapi 2015-08-23 23:07:50 -07:00
caogaojin 60cb4406e9 Cleanup deprecated Forever function
Since util.Forever function has been deprecated, we should cleanup these
pieces of code.
2015-08-24 10:31:59 +08:00
hurf ddf090d824 Change default output of 'label' command
Using simple, human understandable output instead of the form of
'kubectl get' command.
2015-08-23 18:27:48 +08:00
hurf 36987e9dce Move formatLabels function to labels package
As the TODO above the function instructed, move formatLables
function to labels package.
2015-08-23 18:27:48 +08:00
Zach Loafman 5e1d793a0c Merge pull request #12763 from brendandburns/schema-api
Add a storage implementation for ThirdPartyResources.
2015-08-21 18:54:16 -07:00
Zach Loafman 30a1fb06c7 Merge pull request #10957 from yifan-gu/oidc
plugin/pkg/auth: add OpenID Connect token authenticator
2015-08-21 18:51:04 -07:00
Anastasis Andronidis 10747841a0 move type documentation from tags to comments 2015-08-22 03:24:35 +02:00
Anastasis Andronidis ff2fcd43f7 Added SwaggerDoc() in api-server 2015-08-22 02:26:04 +02:00
Anastasis Andronidis 9f21ae21e8 swagger type documentation generator 2015-08-22 02:26:03 +02:00
Brendan Burns 5d664892f2 Add a storage implementation for thirdpartyresources. 2015-08-21 17:21:40 -07:00
Zach Loafman 73d105e22c Merge pull request #12959 from smarterclayton/handle_pods_in_kubelet
Support graceful termination in the Kubelet (5/7)
2015-08-21 16:13:21 -07:00
Zach Loafman f433efef8d Merge pull request #13042 from yifan-gu/rkt_fix_version
kubelet/rkt: fix rkt version parsing.
2015-08-21 16:04:37 -07:00
Yifan Gu 6376e41850 plugin/pkg/auth: add OpenID Connect token authenticator.
Also add related new flags to apiserver:
"--oidc-issuer-url", "--oidc-client-id", "--oidc-ca-file", "--oidc-username-claim",
to enable OpenID Connect authentication.
2015-08-21 15:27:08 -07:00
Zach Loafman 5ca0ca3d3f Merge pull request #9787 from feihujiang/acceptErrorLikeGoPath
Make a change to visitor to allow it to accept an error, like Go's pa…
2015-08-21 15:17:58 -07:00
Zach Loafman afc35742de Merge pull request #12981 from BenTheElder/iptables_cleanup
Add --cleanup-iptables flag to kube-proxy
2015-08-21 14:36:31 -07:00
Tim Hockin 16102c41df Tail-call nodeports rules in iptables proxy 2015-08-21 14:15:21 -07:00
BenTheElder 81ab51709a Add --cleanup-iptables flag to kube-proxy
Adds a flag to cleanup iptables rules created by kube-proxy per
https://github.com/mesosphere/kubernetes-mesos/issues/353#issuecomment-1
27382832
2015-08-21 14:44:11 -04:00
Yifan Gu a2b148b27b kubelet/rkt: fix rkt version parsing.
Use SemVer to parse the version string.
2015-08-21 10:45:11 -07:00
Zach Loafman 5f36c07111 Merge pull request #13028 from wojtek-t/switch_off_cacher
[Merge only in case of strange problems on Jenkins] Disable watch in apiserver because of problems
2015-08-21 10:33:22 -07:00
Clayton Coleman f5c4a3e7a6 Handle graceful termination in the Kubelet
Supports pods that are gracefully deleted on the server being
handled in the Kubelet

preStop is limited to the grace period of the pod in execution.
2015-08-21 10:18:21 -04:00
Wojciech Tyczynski 4e76ed31aa Switch off cacher 2015-08-21 15:28:28 +02:00
Jerzy Szczepkowski 9d058c9e52 Commented-out flaky case of json path test.
Commented-out flaky case of json path test. Related to #13024.
2015-08-21 13:47:04 +02:00
Jerzy Szczepkowski 46ca41c8e3 Merge pull request #12975 from wojtek-t/switch_cacher_for_pods
Switch on Cacher for pods, endpoints and nodes.
2015-08-21 10:28:38 +02:00
Jerzy Szczepkowski 3df1b9e151 Merge pull request #12986 from BenTheElder/masquerade_all_flag
Add flag to masquerade all in kube-proxy when using iptables proxier
2015-08-21 10:28:07 +02:00
Jerzy Szczepkowski b337458ab6 Merge pull request #12993 from mikedanese/rtexpapi
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-21 10:27:17 +02:00
Wojciech Tyczynski ec6556987e Switch on Cacher for pods, endpoints and nodes. 2015-08-21 09:24:49 +02:00
feihujiang 7291bde309 Kubectl annotate command accepts a filename param 2015-08-21 15:08:29 +08:00
k8s-merge-robot f3c566fa46 Merge pull request #13011 from smarterclayton/flexible_run
Auto commit by PR queue bot
2015-08-20 22:21:38 -07:00
k8s-merge-robot 44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Clayton Coleman 32aebc42cc Run should be flexible to type
OpenShift would like to use its own types as generator arguments
2015-08-20 22:35:28 -04:00
Saad Ali 93ffc9c57e Merge pull request #12992 from pmorie/description_checker
Make description checker check for descriptions in internal API
2015-08-20 17:32:44 -07:00
Saad Ali 9c29733435 Merge pull request #12938 from yifan-gu/rkt_patch_container_log
kubelet/rkt: Add support for fetching per container log.
2015-08-20 17:27:49 -07:00
Saad Ali 1db153cee3 Merge pull request #12895 from lvlv/uts
use host uts namespace when pod.Spec.HostNetwork is true
2015-08-20 17:26:03 -07:00
Saad Ali a90b67f276 Merge pull request #12880 from yifan-gu/pod_status
kubelet: refactor kubecontainer.Pod, remove PodStatus from it.
2015-08-20 17:25:29 -07:00
Saad Ali 264a658afa Merge pull request #12869 from vishh/daemon-registry-client
Daemon registry client
2015-08-20 17:24:11 -07:00
BenTheElder 1f2076ce64 Add flag to masquerade all in kube-proxy when using iptables proxier 2015-08-20 20:12:32 -04:00
Abhishek Shah b6b8e99393 External IPs support. 2015-08-20 16:10:01 -07:00
Saad Ali 9b01580946 Merge pull request #12872 from runningwild/master
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Eric Paris 7162baa4b8 Drop some of our flag stuff which isn't needed 2015-08-20 15:01:36 -07:00
Eric Paris bcf912667b Use pflag functions instead of ours. 2015-08-20 15:00:55 -07:00
Saad Ali 2f1edf7db5 Merge pull request #12839 from difro/archaic_iptables
Fix dup rule generation with older iptables
2015-08-20 14:33:19 -07:00
Saad Ali 3f66648ada Merge pull request #12832 from yifan-gu/rkt_patch_img
kubelet/rkt: update image related interfaces.
2015-08-20 14:32:55 -07:00
Saad Ali 489e75e073 Merge pull request #12202 from daizuozhuo/kubectl
add jsonpath to kubectl
2015-08-20 14:31:45 -07:00
Saad Ali 5ec3c78190 Merge pull request #8366 from justinsb/idempotent_loadbalancer
Make LoadBalancer creation more self-healing; don't delete on AWS
2015-08-20 14:30:55 -07:00
Mike Danese a6d1b87336 fix roundtrip bug and add expapi to round trip serialization tests 2015-08-20 13:58:03 -07:00
Paul Morie 1e7b510a14 Remove internal API descriptions 2015-08-20 16:21:47 -04:00
Yifan Gu 045a164362 kubelet/rkt: update image related interfaces.
Add RemoveImage(), ListImages().
Update PullImage(), IsImagePresent().
2015-08-20 11:16:18 -07:00
Saad Ali 50de5404dd Merge pull request #12772 from smarterclayton/allow_nil_reflector
Allow a nil expectedType in cache.Reflector
2015-08-20 11:08:30 -07:00
Clayton Coleman 2aaf8bddc2 Update controllers and client to handle terminating pods 2015-08-20 11:04:39 -04:00
Clayton Coleman 02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski bf306d6598 Merge pull request #12622 from JanetKuo/kubectl-describe-rc-pod-volume
Describe volumes in rc and pod
2015-08-20 16:47:30 +02:00
Wojciech Tyczynski 44fa48e5af Merge pull request #12635 from hurf/null_age
fix AGE error when resource has no creationTimeStamp
2015-08-20 13:09:41 +02:00
Wojciech Tyczynski 5931cc74cc Unification refactoring to pkg/registry 2015-08-20 11:17:23 +02:00
Wojciech Tyczynski e5735fdc7c Merge pull request #12969 from wojtek-t/refactor_pod_etcd_tests
Small refactoring of registry pod tests.
2015-08-20 11:08:06 +02:00
Wojciech Tyczynski 3b3a706eef Merge pull request #12792 from jszczepkowski/hpa-controller2
Experimental client for horizontal pod autoscaler.
2015-08-20 10:50:02 +02:00
Wojciech Tyczynski d45e41a584 Small refactoring of registry pod tests. 2015-08-20 10:41:29 +02:00
Wojciech Tyczynski 62199f7cd3 Merge pull request #12911 from wojtek-t/refactor_etcd_test_2
Refactoring of list etcd tests.
2015-08-20 10:03:39 +02:00
Wojciech Tyczynski ff8dbfe889 Merge pull request #12920 from jiangyaoguo/test-udp-timeout
Test UDP timeout
2015-08-20 09:34:10 +02:00
Wojciech Tyczynski 03413ddb4a Merge pull request #12782 from wojtek-t/cacher_deadlock
Fix deadlock in the cacher
2015-08-20 08:27:15 +02:00
Wojciech Tyczynski 814e712f6b Merge pull request #12929 from smarterclayton/node_controller_exit
Node controller did not handle an error
2015-08-20 08:26:25 +02:00
Jihoon Chung 837edf850d Fix dup rule generation with older iptables
With older iptables binary, kube-proxy generates duplicate
iptables rules in NAT table every few seconds.

This fixes the problem by properly unquoting && parsing
older iptables-save output.
2015-08-20 14:24:35 +09:00
feihujiang 29dc7f6ec2 Make a change to visitor to allow it to accept an error, like Go's path walker 2015-08-20 10:57:28 +08:00
Dai Zuozhuo 85972c44a4 jsonpath user guide docs 2015-08-20 09:11:04 +08:00
Dai Zuozhuo b61a905b19 add jsonpath to kubectl 2015-08-20 08:57:24 +08:00
Saad Ali 8a43bd621e Merge pull request #12745 from eparis/even-less-dash-false-positive
verify-flags-underscore.py: Even fewer dash false positives
2015-08-19 17:03:29 -07:00
Saad Ali 49a569a457 Merge pull request #12675 from pweil-/dont-swallow-errors
don't swallow bad request errors
2015-08-19 17:01:51 -07:00
Saad Ali f396a7116d Merge pull request #12811 from mvdan/kubelet-restful
kubelet: Switch to restful for the REST api endpoints
2015-08-19 16:48:50 -07:00
Clayton Coleman f1e4f652d0 Allow a nil expectedType in cache.Reflector
Reflector currently requires a hard type, which prevents
cache.Reflector from being used generically (like a client
command that uses the resource.Builder to get objects of
any type). Relaxing this restriction when expectedType is nil.
2015-08-19 18:30:37 -04:00
Saad Ali 14eadcccac Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam
Kubectl scale command accepts a filename param
2015-08-19 15:00:26 -07:00
Saad Ali 082ea838c5 Merge pull request #12779 from Huawei-PaaS/issue/clean_govet_error
Clean the static check errors (Go vet)
2015-08-19 14:59:05 -07:00
Saad Ali fb18b09306 Merge pull request #12885 from dchen1107/docker
Leave process 1 at root cgroup
2015-08-19 14:56:52 -07:00
Saad Ali ecc6ce773b Merge pull request #12847 from jszczepkowski/prefix-cleanup
Cleanup of api path creation in client tests.
2015-08-19 14:50:42 -07:00
Saad Ali 25dfc9932f Merge pull request #12913 from gmarek/remove_healthcheck
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Vishnu Kannan ec22c2dd82 Address comments. 2015-08-19 14:13:02 -07:00
Miciah Masters 8aa299da90 glog.Warning -> glog.Warningf
Fix three places where glog.Warning is used with a formatted string.
2015-08-19 16:22:28 -04:00
Saad Ali d42864b0ad Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
Saad Ali c1a2c6dee7 Merge pull request #10713 from thockin/no-localhost-endpoints
Check loopback and link-local multicast endpoints
2015-08-19 12:48:33 -07:00
Saad Ali b05cab0bc5 Merge pull request #6945 from eparis/IsMountPoint
Rename IsMountPoint to IsLikelyNotMountPoint
2015-08-19 12:47:51 -07:00
Yifan Gu 710c34a362 kubelet/rkt: Add support for fetching per container log. 2015-08-19 12:13:04 -07:00
Clayton Coleman c1a40d803c Node controller did not handle an error
This means if List() fails nodes are considered deleted (which is bad)
2015-08-19 12:54:41 -04:00
jiangyaoguo 5a95eb7326 Test UDP timeout 2015-08-19 21:50:43 +08:00
Piotr Szczesniak fadb59067b Merge pull request #12654 from gmarek/playground
Remove external function setting Kubelet flags
2015-08-19 15:48:55 +02:00
Jonathan Wills 80e799fc0c Allow configuring the rkt binary in a kubelet with a flag.
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
Piotr Szczesniak 86e0c386d7 Merge pull request #12875 from uluyol/fix-exp-client
Create an experimental client cache.
2015-08-19 15:02:07 +02:00
gmarek 33c894a6ae Remove unused (?) HealthCheck from KubeletClient 2015-08-19 14:35:43 +02:00
Wojciech Tyczynski dcc302ab38 Refactoring of list etcd tests. 2015-08-19 13:56:23 +02:00
gmarek 3c907b33e1 Remove external function setting Kubelet flags 2015-08-19 13:20:41 +02:00
Lv Lv 7cf9ee19c7 add test for utsMode change 2015-08-19 16:56:19 +08:00
hurf c20ed0344a Enhance shortHumanDuration to handle more situation
Allow 2 seconds deviation of current time. For time more than 2
seconds from current time, output as '<invalid>'.
2015-08-19 16:34:15 +08:00
hurf 501594f8c7 fix AGE error when resource has no creationTimeStamp
If the resource doesn't contain creationTimeStamp, report AGE as
unknown. This usually happens when the resouces is created locally
or is not accually created at server side.
2015-08-19 16:08:36 +08:00
Jerzy Szczepkowski f2e15fd538 Experimental client for horizontal pod autoscaler.
Implementation of experimental client for horizontal pod autoscaler. Placeholder implementation for controller for horizontal pod autoscaler.
2015-08-19 09:39:17 +02:00
Jerzy Szczepkowski 40b121b64c Cleanup of api path creation in client tests.
Cleanup in client tests: use testapi.ResourcePathWithPrefix function instead of manually create api path.
2015-08-19 09:25:12 +02:00
Wojciech Tyczynski 90bf334fd1 Fix deadlock in the cacher 2015-08-19 08:17:25 +02:00
Jian Huang c350d325e9 Solve Static Check Error 2015-08-19 13:38:56 +08:00
Lv Lv 0b90dfba3a use host uts namespace when pod.Spec.HostNetwork is true 2015-08-19 13:02:10 +08:00
Tim Hockin 86f4535871 Check loopback and link-local multicast endpoints
Previously we just disallowed link-local (unicast).  This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey 08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Yifan Gu 69f796f234 kubelet: refactor kubecontainer.Pod, remove PodStatus from it. 2015-08-18 16:27:22 -07:00
Dawn Chen 8b3937c9bf Leaving process 1 at root cgroup. 2015-08-18 16:21:28 -07:00
Dawn Chen 2339a7796f Remove stale comment. 2015-08-18 16:07:15 -07:00
Yu-Ju Hong 0c84b837cf kubelet: switch to using pod UID as the key in status manager
We chose to use podFullName (name_namespace) as key in the status manager
because mirror pod and static pod share the same status. This is no longer
needed because we do not store statuses for static pods anymore (we only
store statuses for their mirror pods). Also, reviously, a few fixes were
merged to ensure statuses are cleaned up so that a new pod with the same
name would not resuse an old status.

This change cleans up the code by using UID as key so that the code would
become less brittle.
2015-08-18 14:39:02 -07:00
Muhammed Uluyol 7c58f94edc Create an experimental client cache.
Previously, we would initialize the experimental client at factory creation
time. This is problematic because the clientConfig loader has values populated
from the command-line flag parsing, and these are not populated until after
Factory creation. Introduce an ExperimentalClientCache to create (and reuse)
ExperimentalClients.
2015-08-18 14:25:38 -07:00
Janet Kuo 44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Ananya Kumar 4a148f99d6 Add client code 2015-08-18 12:58:50 -07:00
Ananya Kumar b0679f18bc Add registry code 2015-08-18 12:58:50 -07:00
Robert Bailey 5000252e46 Merge pull request #12669 from deads2k/tolerate-missing-template-flag
tolerate output without template file
2015-08-18 11:49:53 -07:00
Robert Bailey 6e94e44d9c Merge pull request #12860 from nak3/exec-help
Modify kubectl exec help to set -c CONTAINER as optional
2015-08-18 11:48:26 -07:00
Robert Bailey f93027031c Merge pull request #12868 from mikedanese/fix-tag
tab => space in struct tag, to fix compatibility with reflect.StructTag.Get
2015-08-18 11:48:17 -07:00
Robert Bailey 11d5712278 Merge pull request #12736 from deads2k/relax-pull-secret-constraints
tolerate missing image pull secrets:
2015-08-18 11:48:01 -07:00
Daniel Martí 7862ed3656 kubelet: Switch to restful for the REST api endpoints 2015-08-18 11:28:34 -07:00
Kris Rousey ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Kris Rousey 9cea046f42 Get the unversioned client to build 2015-08-18 10:03:19 -07:00
Kris Rousey 7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00
Robert Bailey 4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Mike Danese 766e1c3a3e tab => space, to fix compatibility with reflect.StructTag.Get 2015-08-18 09:49:05 -07:00
Robert Bailey ca168ce285 Merge pull request #12262 from jgriffiths1993/hf-12261
Replace Port with NodePort for creating LB members
2015-08-18 09:14:30 -07:00
Robert Bailey c45747bfad Merge pull request #12764 from thockin/proxy-nodeports
More corner cases with iptables proxy
2015-08-18 09:13:20 -07:00
Kenjiro Nakayama c50d7dd1d5 Modify kubectl exec help to set -c CONTAINER as optional 2015-08-18 23:14:24 +09:00
Filip Grzadkowski 8d74f610f7 Merge pull request #12659 from mwielgus/horizontal_status
HorizontalPodAutoscaler status
2015-08-18 15:30:01 +02:00
Clayton Coleman 5ddcef24a6 Fix failing test 2015-08-18 09:08:46 -04:00
Clayton Coleman adc97bf936 Conversions 2015-08-18 09:08:45 -04:00
Clayton Coleman edb108802d Handle gracefully terminated pods in node controller
Eviction should retry longer and wait for completion of the pod.
2015-08-18 09:08:45 -04:00
Clayton Coleman 780accb3ba Kubelet should garbage collect dead pods
The sync loop should check for terminated pods that are no longer
running and clear them. The status loop should never write status
if the pod UID changes. Mirror pods should be deleted immediately
rather than gracefully.
2015-08-18 09:08:44 -04:00
Clayton Coleman 89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
deads2k 969d526ca5 tolerate output without template file 2015-08-18 08:58:04 -04:00
Clayton Coleman b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Filip Grzadkowski 919c7e94e2 Merge pull request #12797 from wojtek-t/refactor_registry_test
Prepare for refactoring registry etcd tests
2015-08-18 12:56:45 +02:00
Marcin Wielgus cac7038b3b HorizontalPodAutoscaler status 2015-08-18 11:46:54 +02:00
Wojciech Tyczynski 6cea2c8940 Prepare for refactoring registry etcd tests 2015-08-18 09:53:23 +02:00
Wojciech Tyczynski 3a71eb1bcc Store previous value in WatchCache for filtering 2015-08-18 09:33:34 +02:00
Tim Hockin 6f34be30a3 Limit float precision to 5 points 2015-08-17 20:57:44 -07:00
Tim Hockin 7e9c685ba6 Require same min iptables version as -C 2015-08-17 20:57:44 -07:00
Tim Hockin 3d309700d0 Make iptables use semver lib 2015-08-17 20:57:44 -07:00
Tim Hockin 3a5c23d727 test for and set bridge-nf-call-iptables sysctl 2015-08-17 20:57:44 -07:00
Tim Hockin 9cf33772b4 test for and set route_localnet sysctl 2015-08-17 20:52:06 -07:00
Tim Hockin f1a48574a6 Clean up logging, make initial sync faster 2015-08-17 20:52:06 -07:00
Tim Hockin d72892d0b0 Include protocol in the hash for chain names 2015-08-17 20:52:06 -07:00
Tim Hockin 731d5e5191 Clean up iptables rules, add nodeport support 2015-08-17 20:52:06 -07:00
Tim Hockin d14c98f6cc Add nodepoprt chain and link it in, add unused MASQ rule 2015-08-17 20:52:06 -07:00
Robert Bailey 736945faba Merge pull request #12831 from thockin/nodeport-optional
Make nodePort optional in v1 API
2015-08-17 16:27:17 -07:00
Tim Hockin 75941afab2 Make nodePort optional in v1 API 2015-08-17 15:44:37 -07:00
Robert Bailey b937511e5e Merge pull request #12798 from pmorie/bugs/10587
Fix issue 10587; update SecurityContext godoc
2015-08-17 13:53:39 -07:00
Robert Bailey 17c005bb6a Merge pull request #12730 from eparis/bash-completions-delete-label
bashcompletions: suggest resources to delete in kubectl delete
2015-08-17 13:52:53 -07:00
Janet Kuo bff0cab7ce Describe volumes in rc and pod 2015-08-17 13:42:50 -07:00
Eric Paris 055d648ed7 Change log_flush_frequency to use -
Since we have the rename, we don't need our declaration to look like
glog's.
2015-08-17 11:19:31 -07:00
Robert Bailey 6fcdcec25d Merge pull request #12658 from sdminonne/bug_fix2
to fix govet issue
2015-08-17 10:58:10 -07:00
Paul Morie 8ddef45679 Fix issue 10587; update SecurityContext godoc 2015-08-17 11:23:11 -04:00
Maciej Szulik 686f764fc7 Allow other client's implementation to reuse NewListWatchFromClient by passing in the Getter interface, responsible for accessing RESTClient's Get method. 2015-08-17 15:25:03 +02:00
Justin Santa Barbara 907090a777 Move new files into pkg/cloudprovider/providers/aws/
They were not caught by the general reorg because they weren't on
master.
2015-08-17 08:59:29 -04:00
Justin Santa Barbara d947a8f78b Update imports to new k8s.io style 2015-08-17 08:58:46 -04:00
Justin Santa Barbara 08e904ad96 AWS: Configure LoadBalancer health checks
ELB will automatically create a health check, but if we update the
listeners the old health check port sticks around, and all the instances
are marked offline.

Update the health-checks to match the listeners: we just check the first
valid service port, with some hard-coded options for timeouts / retries etc.
2015-08-17 08:58:46 -04:00
Justin Santa Barbara cb38b02f2c Add unit test for StringSet Equal 2015-08-17 08:58:46 -04:00
Justin Santa Barbara 924350d5f6 AWS: Make load balancer creation idempotent on AWS
This turned out to be a little convoluted, but is needed because deleting an ELB on AWS
is a painful UX - it won't have the same endpoint when it is recreated.

Also started splitting the provider into files, but only for new functions (so far!)
2015-08-17 08:58:46 -04:00
Justin Santa Barbara 8c365d51c7 servicecontroller relies on cloudprovider to delete LB if needed
We previously made the cloudproviders take on the responsibility of deleting
existing load balancers; this lets us simplify the servicecontroller logic
and also lays the groundwork for more efficient cloudprovider LB implementations
to do an in-place change on a LB.
2015-08-17 08:58:46 -04:00
Justin Santa Barbara 87df1d6fb6 Change CreateTCPLoadBalancer -> EnsureTCPLoadBalancer; implementations auto-delete if already exists
Previously the servicecontroller would do the delete, but by having the cloudprovider
take that task on, we can later remove it from the servicecontroller, and the
cloudprovider can do something more efficient.
2015-08-17 08:58:45 -04:00
Justin Santa Barbara 1ab62e541b Add more events to LoadBalancer management
It would be nice to see these events in the service like we do with pods;
also we've had trouble here so a few more events would be handy!
2015-08-17 08:58:45 -04:00
Marek Grabowski 2816632cad Merge pull request #11996 from jayunit100/maxTimes
Fix maxTimes comment to clarify infinit waits
2015-08-17 11:57:44 +02:00
Marek Grabowski 48184026f1 Merge pull request #12729 from cjcullen/gce
Clean up GCE metadata calls. Remove GetNodeResources from all providers.
2015-08-17 10:48:48 +02:00
Joshua Griffiths a9aa2c6acc Replace Port with NodePort for creating LB members 2015-08-17 08:47:00 +01:00
Brendan Burns a9580a0ad0 Merge pull request #12595 from smarterclayton/add_pod_status_ip
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Brendan Burns 9cc5156b69 Merge pull request #12685 from eparis/goimports
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Brendan Burns eb8b1aa87e Merge pull request #12694 from yifan-gu/rkt_patch
kubelet/rkt: minor updates to match rkt v0.7.0.
2015-08-14 20:27:30 -07:00
Brendan Burns c5cfc1b83c Merge pull request #12706 from smarterclayton/test_fails_on_no_ipv6
Unit test fails when ipv6 is not available
2015-08-14 20:26:40 -07:00
Eric Paris f125ad88ce Rename IsMountPoint to IsLikelyNotMountPoint
IsLikelyNotMountPoint determines if a directory is not a mountpoint.
It is fast but not necessarily ALWAYS correct. If the path is in fact
a bind mount from one part of a mount to another it will not be detected.
mkdir /tmp/a /tmp/b; mount --bin /tmp/a /tmp/b; IsLikelyNotMountPoint("/tmp/b")
will return true. When in fact /tmp/b is a mount point. So this patch
renames the function and switches it from a positive to a negative (I
could think of a good positive name). This should make future users of
this function aware that it isn't quite perfect, but probably good
enough.
2015-08-14 18:45:43 -04:00
Clayton Coleman 01f3785426 Add status.podIP as a valid downward API target
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00
Brendan Burns eed655a6e6 Merge pull request #12511 from feihujiang/kubectlGetAcceptFileNameParam
Kubectl get command accepts a filename param
2015-08-14 14:21:56 -07:00
Clayton Coleman c885b2652d Unit test fails when ipv6 is not available 2015-08-14 13:20:03 -04:00
deads2k c24d176f65 tolerate missing image pull secrets: 2015-08-14 12:51:28 -04:00
Brendan Burns b29311ba2b Merge pull request #11781 from brendandburns/schema-api
RFC: Add initial plugin schema types.
2015-08-14 09:44:12 -07:00
Eric Paris 9b2ac7538d bashcompletions: suggest resources to delete in kubectl delete
Before this patch if you type `kubectl delete [tab][tab]` you would get
nothing.  `kubectl delete pod [tab][tab]` would show the list of pods.
This patch causes `kubectl delete [tab][tab]` to show the list of
resources like pod, service, podtemplate, serviceaccount, etc
2015-08-14 10:35:26 -04:00
CJ Cullen e20467afcb Clean up GCE metadata calls. Remove GetNodeResources from all providers. 2015-08-14 07:29:52 -07:00
Jerzy Szczepkowski 045cd857a4 Merge pull request #12699 from xiejunan/probe_extractport
fix error in findPortByName
2015-08-14 13:41:13 +02:00
Jerzy Szczepkowski f29d52114b Merge pull request #12326 from feihujiang/kubectlLabelAcceptFileNameParam
Kubectl label command accepts a filename param
2015-08-14 12:38:37 +02:00
Wojciech Tyczynski e424da7d0d Implement Cacher for watch in apiserver 2015-08-14 09:44:42 +02:00
xiejunan f5446f2aa3 fix error in findPortByName
using ContainerPort instead of HostPort
2015-08-14 14:00:05 +08:00
Yifan Gu 558e692f93 kubelet/rkt: minor updates to match rkt v0.7.0. 2015-08-13 18:16:12 -07:00
Eric Paris 8f3577e5d2 Do not use goimports in hack/update-generated-conversions.sh
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris 00929ed7d8 Convert generated-deep-copies to use golang.org/x/tools/imports
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns db39e5c45d Merge pull request #12667 from preillyme/issues_12666
Remove the "www" and "third-party ui" directories from kubernetes repo
2015-08-13 14:09:11 -07:00
Brendan Burns b50330d851 Merge pull request #12539 from jiangyaoguo/keep-event-reason-consistent-in-scheduler-controller
Keep event reason consistent in scheduler and controller
2015-08-13 14:08:52 -07:00
Brendan Burns 22a2a76ab8 Merge pull request #12571 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-08-13 13:56:14 -07:00
Brendan Burns d8a60d2271 Merge pull request #12623 from thockin/proxy-ipt
Auto commit by PR queue bot
2015-08-13 13:10:39 -07:00
Brendan Burns 15281a5e01 Merge pull request #12388 from feihujiang/kubectlPatchAcceptFileNameParam
Auto commit by PR queue bot
2015-08-13 11:49:41 -07:00
Paul Weil f1d0835235 don't swallow bad request errors 2015-08-13 14:31:56 -04:00
Patrick Reilly bf02aaa97d remove other cluster addon references for container build 2015-08-13 10:23:55 -07:00
Tim Hockin 776132e1ae Make kube-proxy iptables sync period configurable 2015-08-13 09:53:32 -07:00
Ruddarraju, Uday Kumar Raju 937db3f70d Keystone authentication plugin 2015-08-13 09:46:30 -07:00
Brendan Burns 586931fe16 Add optional arguments to kubectl run ... 2015-08-13 09:41:51 -07:00
Brendan Burns 1055eed9b6 Add initial storage types to the Kubernetes API 2015-08-13 09:25:02 -07:00
Salvatore Dario Minonne 48018c402c to fix govet issue 2015-08-13 17:26:43 +02:00
Wojciech Tyczynski f45a4b276a Merge pull request #12641 from jszczepkowski/etcd-test-get
Refactoring of get etcd tests.
2015-08-13 14:54:43 +02:00
Jerzy Szczepkowski f09a08d15a Refactoring of get etcd tests.
Refactoring of get etcd tests: introudced new generic resttest, TestGet; Converted all etcd tests to use it.
2015-08-13 12:14:04 +02:00
Jerzy Szczepkowski e4031a65ff Fixed conversions for autoscaler.
Fixed conversions for autoscaler, patch for test problems introduced by #12344.
2015-08-13 10:51:01 +02:00
Wojciech Tyczynski 56fb29a83a Merge pull request #12344 from jszczepkowski/hpa-api
Added HorizontalPodAutoscaler object to experimental API.
2015-08-13 10:33:31 +02:00
Wojciech Tyczynski 53514dccca Merge pull request #12597 from BenTheElder/userspace_iptables_cleanup
Fix #12596
2015-08-13 10:18:19 +02:00
Wojciech Tyczynski 4516eeba81 Merge pull request #12594 from liggitt/status_field
Limit field errors to a single field name
2015-08-13 08:35:02 +02:00
feihujiang 1e10a7cc59 Kubectl scale command accepts a filename param 2015-08-13 14:26:25 +08:00
feihujiang 18a1400928 Kubectl get command accepts a filename param 2015-08-13 14:12:29 +08:00
jiangyaoguo 5d3522dc7a Keep event reason consistant in scheduler and controller 2015-08-13 11:33:32 +08:00
feihujiang 0110f3176b Kubectl patch command accepts a filename param 2015-08-13 11:13:31 +08:00
feihujiang 4b9afc516e Kubectl label command accepts a filename param 2015-08-13 10:21:38 +08:00
CJ Cullen a6148e79c3 Merge pull request #12610 from mikedanese/rewrite-kubectl
rewrite kubectl command references to GoogleCloudPlatform
2015-08-12 17:17:23 -07:00
CJ Cullen 6b8696079a Merge pull request #12489 from yifan-gu/refactor_runtime_hooks
kubelet: refactor kubelet.Runtimehooks to container.ImagePuller.
2015-08-12 17:16:13 -07:00
BenTheElder 8006a39cc3 Fix #12596
Fix for https://github.com/kubernetes/kubernetes/issues/12596
Disconnect the pure-iptables proxy’s services chain when starting the
userspace proxy.
2015-08-12 20:06:09 -04:00
Brendan Burns 99b8df1812 Add field based sorting to the kubectl command line. 2015-08-12 16:51:36 -07:00
Yifan Gu d70a30c069 kubelet: refactor kubelet.Runtimehooks to container.ImagePuller. 2015-08-12 16:28:25 -07:00
CJ Cullen 811b93ef2f Merge pull request #12604 from krousey/clientauth
Moving clientauth package to be under client
2015-08-12 16:06:01 -07:00
Mike Danese fe0e758d4d rewrite kubectl command references to GoogleCloudPlatform 2015-08-12 14:52:13 -07:00
Kris Rousey 2a17dbff13 Moving clientauth package to be under client 2015-08-12 14:43:17 -07:00
CJ Cullen 59da05efdf Merge pull request #12405 from uluyol/kubectlexp
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
CJ Cullen ead7b37616 Merge pull request #12593 from apeeyush/docs-bash-comments
Use bash comments in kubectl examples
2015-08-12 14:24:31 -07:00
CJ Cullen 098dc407d6 Merge pull request #12550 from eparis/update-BindKubeletClientConfigFlags
Change BindKubeletClientConfigFlags to use - in flag names instead of _
2015-08-12 13:05:37 -07:00
Peeyush Agarwal 05e069d038 Use bash comments in kubectl examples
Comments in kubectl examples should use bash comments, not Go comments.
So, replaces // by # for example strings.
2015-08-12 19:56:23 +00:00