Commit Graph

6785 Commits (3d309700d04572f8b81c48b7d4c2ea22065e5086)

Author SHA1 Message Date
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
Muhammed Uluyol 93b14c9a5d Document the relationship between groups, versions, kinds, and resources. Link
to appropriate issues for multiple api group support.
2015-08-12 11:29:05 -07:00
Jordan Liggitt d7a50c4778 Limit field errors to a single field name 2015-08-12 14:10:26 -04:00
CJ Cullen c76a671e06 Merge pull request #12512 from markturansky/pvc_label_fix
Improved CLI for PVClaims
2015-08-12 09:30:18 -07:00
CJ Cullen b8dc963512 Merge pull request #9210 from BenTheElder/iptables_proxy
Implement Iptables based Proxy
2015-08-12 09:26:39 -07:00
markturansky f37113aa25 Improved CLI for PVClaims 2015-08-12 11:31:54 -04:00
Piotr Szczesniak f620b0d53d Merge pull request #12584 from wojtek-t/remove_unsed_code
Remove dead code
2015-08-12 15:36:33 +02:00
Wojciech Tyczynski 1426418af2 Remove dead code 2015-08-12 14:57:44 +02:00
Piotr Szczesniak 5a2d85f929 Merge pull request #12516 from jiangyaoguo/change-event-reason-start-with-capital-letter
Keep event reason in kubelet consistent with others
2015-08-12 13:23:02 +02:00
jiangyaoguo 9ab4a46b9d Keep event reason in kubelet consistent with others 2015-08-12 19:00:09 +08:00
Piotr Szczesniak 7186b48d48 Merge pull request #12528 from wojtek-t/rewrite_events
Rewrite events registry to be generic
2015-08-12 12:02:13 +02:00
Wojciech Tyczynski 2ced08358f Remove unused registry infrastructure 2015-08-12 11:23:10 +02:00
Wojciech Tyczynski 5de0f11b1d Unify events registry to be generic. 2015-08-12 11:23:07 +02:00
Piotr Szczesniak c00c5b680f Merge pull request #12577 from sdminonne/bug_fix2
to fix go vet: composite literal uses unkeyed fields
2015-08-12 11:21:59 +02:00
Jerzy Szczepkowski baa1612241 Added HorizontalPodAutoscaler object to experimental API.
Added HorizontalPodAutoscaler object to experimental API. Related to #12087.
2015-08-12 11:03:21 +02:00
Salvatore Dario Minonne 6915e2de36 to fix go vet: composite literal uses unkeyed fields 2015-08-12 10:54:58 +02:00
feihujiang c0b2098844 Kubectl expose command accepts a filename param 2015-08-12 16:16:37 +08:00
Piotr Szczesniak 0ded91c521 Merge pull request #12403 from stensonb/consolidate-cloudprovider-imports
consolidate cloudproviders into a single import
2015-08-12 09:56:09 +02:00
Piotr Szczesniak eb01d49783 Merge pull request #12556 from uluyol/copynilinterface
Properly handle nil interfaces in DeepCopy.
2015-08-12 09:54:02 +02:00
Piotr Szczesniak b2c0a55679 Merge pull request #12332 from hurf/nits
Synchronize help message between describe and get
2015-08-12 09:51:31 +02:00
hurf 1d1f1fd97c Synchronize help message between describe and get
small nits, change 'resources' to 'resource types'
2015-08-12 15:27:11 +08:00
Jerzy Szczepkowski 84af5594b3 Cleanup: "scaler" -> "scale".
Cosmetic cleanup: "scaler" replaced with "scale" (the proper name for sub-resource).
2015-08-12 09:14:05 +02:00
BenTheElder ae569e20b5 Partially Implement #3760 2015-08-12 02:39:15 -04:00
Bryan Stenson 9541414742 create cloudprovider "providers" package
move all providers into new package
    update all references to old package path
2015-08-11 22:36:51 -07:00
Piotr Szczesniak 1df0267f4a Merge pull request #12551 from eparis/underscore-to-dash
Update code and docs to use - in flag names instead of _
2015-08-12 07:16:31 +02:00
CJ Cullen 49f483400c Merge pull request #12560 from yujuhong/sync_pods
kubelet: refactor SyncPods for better readability
2015-08-11 18:09:36 -07:00
CJ Cullen 077246219b Merge pull request #12549 from eparis/remove-BindClientConfigFlags
Remove BindClientConfigFlags entirely
2015-08-11 18:08:00 -07:00
Muhammed Uluyol bc8bc37282 Properly handle nil interfaces in DeepCopy.
Running reflect.ValueOf(X) where X is a nil interface will return
a zero Value. We cannot get the type (because no concrete type is
known) and cannot check if the Value is nil later on due to the way
reflect.Value works. So we should handle this case by immediately
returning nil. We cannot type-assert a nil interface to another
interface type (as no concrete type is assigned), so we must add
another check to see if the returned interface is nil.
2015-08-11 17:59:32 -07:00
Muhammed Uluyol 567bb15432 Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign. 2015-08-11 17:12:24 -07:00
Muhammed Uluyol 4d5899955e Remove redundant tests. We already check that no changes have been made in hack/verify-generated-*.sh. 2015-08-11 16:51:44 -07:00
Muhammed Uluyol fab367230f Add experimental API support to kubectl 2015-08-11 16:49:55 -07:00
Muhammed Uluyol 01807c1fac Make ClientCache public 2015-08-11 16:47:57 -07:00
Yu-Ju Hong 56f4605f47 kubelet: refactor SyncPods for better readability
Eventually we would like to replace the all-encompassing SyncPods function with
more well-defined, smaller functions. This would not only help with the
readability and profiling of the code, it'd also set in motion for the plans to
trigger pod worker individually based on the content of the pod updates.

This commit serves as the first step of that, while avoiding breaking all unit
tests by preserving the SyncPods function for the time being.
2015-08-11 16:40:26 -07:00
CJ Cullen a53a3b7e8c Merge pull request #12547 from nikhiljindal/updateSwaggerDatafile
Updating swagger datafile as per latest swagger-ui code
2015-08-11 16:10:03 -07:00
CJ Cullen e5e041fe23 Merge pull request #12495 from liggitt/abac_test
fix ABAC tests
2015-08-11 16:07:36 -07:00
CJ Cullen 64e5e1a2dd Merge pull request #12427 from krousey/vetclean
Fix go vet errors
2015-08-11 15:14:00 -07:00
nikhiljindal 7b48b3dbdc Updating swagger datafile 2015-08-11 14:51:04 -07:00
Brendan Burns 296ffdf925 Merge pull request #12546 from brendandburns/rc
Switch the order of delete, delete pods before deleting nodes.
2015-08-11 14:14:09 -07:00
Kris Rousey 565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Eric Paris 5aa495cdad Update code to use - in flag names instead of _ 2015-08-11 16:31:52 -04:00
Eric Paris 3547920d13 Change BindKubeletClientConfigFlags to use - in flag names instead of _
The only user of this function is using pflags and does have name
normalization. It might break something out of tree, but that's
impossible to prevent...
2015-08-11 16:31:27 -04:00
Eric Paris 1333fad22a Remove BindClientConfigFlags entirely
They are unused.
2015-08-11 16:26:24 -04:00
Brendan Burns 34eec1fc78 Switch the order of delete, delete pods before deleting nodes. 2015-08-11 12:34:37 -07:00
CJ Cullen 08334a3f32 Merge pull request #12460 from Huawei-PaaS/issue-build-error
Modify the TestCase TestServiceRegistryIPUpdate
2015-08-11 10:15:56 -07:00
CJ Cullen 1f3c322ded Merge pull request #12438 from derekparker/handle-fqdn-gce
Handle full hostname when computing host tag on GCE
2015-08-11 10:11:23 -07:00
Jian Huang 70ce862955 Fix the issue which TestServiceRegistryIPUpdate will randomly run failed. 2015-08-11 17:00:47 +00:00
Filip Grzadkowski 44c91b1a39 Merge pull request #12508 from markturansky/refactor_pv_controllers
Refactored persistent volume controllers to new packaging structure
2015-08-11 12:35:23 +02:00
Filip Grzadkowski 999eff1b7f Merge pull request #12510 from markturansky/improve_failed_mount_msg
Removed spew from failed volume mount event
2015-08-11 12:35:02 +02:00
Filip Grzadkowski 38c3e351d8 Merge pull request #12203 from jgriffiths1993/subnetid-vip
Pass SubnetID to vips.Create()
2015-08-11 10:59:56 +02:00
Filip Grzadkowski 3f7b54cbdb Merge pull request #11669 from pweil-/sc-nonroot
add non-root directive to SC and kubelet checking
2015-08-11 10:30:53 +02:00
Filip Grzadkowski 9dd3cac82e Merge pull request #12423 from brendandburns/service
Make services print on a single line.
2015-08-11 10:29:23 +02:00
Wojciech Tyczynski 5ea99310f1 Unify limitrange registry to be generic. 2015-08-11 09:06:44 +02:00
markturansky 8e0d391b1e Refactored persistent volume controllers to new packaging structure 2015-08-10 23:18:48 -04:00
markturansky 0b72bb2458 removed spew from event error 2015-08-10 23:16:15 -04:00
Alex Robinson 785ccf4a74 Merge pull request #12005 from JanetKuo/kubectl-describe-allocatedresource
Make kubectl describe node include allocated resource
2015-08-10 18:08:04 -07:00
Alex Robinson e899a36de8 Merge pull request #12491 from yifan-gu/bump_appc
Godeps: bump appc/spec to v0.6.1+git.
2015-08-10 16:38:49 -07:00
Alex Robinson 5cab32957e Merge pull request #12502 from gambol99/rj/rbd_defencing_fix
- fixed the defencing of the rbd lock
2015-08-10 16:38:12 -07:00
Rohith dc23ded091 - fixing the complaint on the gofmt 2015-08-10 23:57:05 +01:00
Alex Robinson 42e12f1c5f Merge pull request #12340 from wojtek-t/rewrite_service_etcd
Refactor "service" registry to use standard REST storage (and generic etcd)
2015-08-10 15:38:50 -07:00
Rohith bb31cd29ea - fixed the defencing of the rbd lock 2015-08-10 23:33:25 +01:00
Alex Robinson 5836d455b8 Merge pull request #12239 from eparis/bash-completions-rolling-update
Bash completion annotations for rollingupdates
2015-08-10 15:02:48 -07:00
Alex Robinson 057be1fc8d Merge pull request #12406 from smarterclayton/namespace_estimate_delete
Namespace must estimate and requeue content deletions
2015-08-10 15:01:35 -07:00
Alex Robinson d6b7fcc69f Merge pull request #11988 from brendandburns/tc
Add some utilities for limiting bandwidth using 'tc'
2015-08-10 14:23:04 -07:00
Alex Robinson 20c189d752 Merge pull request #12471 from peter-edge/docker-new-client-from-env
Use docker.NewClientFromEnv for creation of docker.Client
2015-08-10 14:22:21 -07:00
Alex Robinson cd3c3fe479 Merge pull request #12373 from cjcullen/network
Use full URLs for GCE networks
2015-08-10 14:21:42 -07:00
Alex Robinson 33178dce96 Merge pull request #12496 from nikhiljindal/portDescription
Fixing a typo in port swagger description
2015-08-10 14:10:48 -07:00
nikhiljindal a698acd3c8 Fixing a typo in port swagger description 2015-08-10 13:32:46 -07:00
Alex Robinson 9bda3c5998 Merge pull request #11138 from feihujiang/portForwardWithoutP
kubectl port-forward accept a pod without -p
2015-08-10 13:29:14 -07:00
Janet Kuo 0ac6dba3f4 Make kubectl describe node include allocated resource 2015-08-10 13:25:59 -07:00
Alex Robinson 531d3def98 Merge pull request #12482 from tmrts/refactor/iota
Refactor probe.Result enumeration
2015-08-10 13:20:04 -07:00
Jordan Liggitt 848ec0491e fix ABAC tests 2015-08-10 16:07:08 -04:00
Alex Robinson 11fcd3bb39 Merge pull request #12478 from eparis/use-pflag-network
Use pflags for net.IP and net.IPNet instead of custom flag types
2015-08-10 11:55:54 -07:00
Alex Robinson 1e39eb07e1 Merge pull request #12488 from pweil-/fix-conversions
use package from out value
2015-08-10 11:52:48 -07:00
Alex Robinson 4593478c65 Merge pull request #12461 from hurf/humanize_time2
Print human readable time for event
2015-08-10 11:52:33 -07:00
Brendan Burns dcd6b00d83 Add a package for bandwidth control 2015-08-10 11:24:02 -07:00
Yifan Gu 7e5cfd137a Godeps: bump appc/spec to v0.6.1+git. 2015-08-10 11:21:28 -07:00
Alex Robinson 933c855fba Merge pull request #12354 from mjibson/replace-cascade-fix
Fix flag docs for replace cascade
2015-08-10 11:06:41 -07:00
Alex Robinson 462fed62b7 Merge pull request #12189 from feihujiang/describeKindNoArguments
kubectl describe <kind> work with no arguments
2015-08-10 11:05:34 -07:00
Paul Weil 26d80cdb7f use package from out value 2015-08-10 14:00:20 -04:00
Brendan Burns 79fb674679 Fix the service printer to be a single line per service 2015-08-10 10:57:45 -07:00
Tamer Tas 16b4428043 Fix usage of format specifier %s 2015-08-10 20:44:36 +03:00
Paul Weil e490c20c22 add non-root directive to SC and kubelet checking 2015-08-10 13:30:34 -04:00
Alex Robinson 79f171542a Merge pull request #12484 from tmrts/doc/pkg/kubelet/rkt
Add documentation for pkg/kubelet/rkt
2015-08-10 10:07:25 -07:00
Alex Robinson c5e221dca7 Merge pull request #12440 from BenTheElder/proxy_config_handler_refactor
Refactor `pkg/proxy/config`'s ServiceConfigHandler and EndpointsConfigHandler.
2015-08-10 09:44:38 -07:00
Tamer Tas f5d5befe17 Add documentation for pkg/kubelet/rkt 2015-08-10 19:34:36 +03:00