Commit Graph

1748 Commits (62a8b3d44cbfc4eba5c6cdda6ebebab48533a8c4)

Author SHA1 Message Date
Nikhil Jindal 0f3cf1095e Merge pull request #19438 from nikhiljindal/apiServerLibrary
api server library: Extracting out code to run a http server
2016-01-12 13:11:18 -08:00
Phillip Wittrock f1c8384ff4 Node labels: Remove node-labels-file command line option. Change --node-label format from key=value to key:value to be consitent with how the header key:value is specified on command line. 2016-01-12 12:57:12 -08:00
Chao Xu 64083a0576 Generate the clientset 2016-01-12 11:30:04 -08:00
Chao Xu 2e5da8b881 Merge pull request #19379 from caesarxuchao/manual-methods
client-gen: generate an interface which allows user to expand typed client's methods
2016-01-12 11:09:38 -08:00
Chao Xu a0489e8685 add expansion interface 2016-01-11 10:46:24 -08:00
Eric Tune 1ce3081e55 Do not delete text that fails preformat-balance
If preformat lines are unbalanced, do not delete all the lines from there to
end of file.  That might be the only copy of edits made by the user.

Do not print entire file contents for munge errors affecting entire file.
2016-01-11 10:44:10 -08:00
nikhiljindal f8d6c56ba6 Extracting server run code to genericapiserver 2016-01-08 18:34:34 -08:00
Nagarjun c98364e79b insert space after comment character in cmd folder 2016-01-08 16:25:57 +05:30
k8s-merge-robot 9264340338 Merge pull request #17854 from smarterclayton/basic_proto
Auto commit by PR queue bot
2016-01-07 22:03:36 -08:00
Clayton Coleman 2326e2bae3 Split controller manager options from init
Make defaults and flags clearly distinct from initialization code.
2016-01-06 22:39:14 -05:00
k8s-merge-robot ab6edd8170 Merge pull request #19093 from smarterclayton/split_proxy_and_scheduler
Auto commit by PR queue bot
2016-01-06 19:26:41 -08:00
k8s-merge-robot e1cb14cce1 Merge pull request #19092 from smarterclayton/split_api_server
Auto commit by PR queue bot
2016-01-06 19:09:38 -08:00
Clayton Coleman 715b77cbcd Split proxy and scheduler arguments
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -05:00
Clayton Coleman 791d160b42 Split the Kubelet flag options and struct
Reduces the size of the app/server.go file and ensures that the flags
and their defaults are clearly separated.
2016-01-06 21:23:06 -05:00
Clayton Coleman c0c707d92d Split apiserver flags and initialization
Make it easier to keep defaults and flags clearly identified.
2016-01-06 21:14:30 -05:00
Clayton Coleman b1e01875a1 go-to-protobuf: generate protobuf IDL and marshalers for Go structs 2016-01-06 21:09:20 -05:00
Chao Xu ea0086468c remove the use of NamespaceIfScoped from generated clients 2016-01-06 16:20:44 -08:00
Chao Xu 3e211d4f84 Merge pull request #19270 from caesarxuchao/client-gen-file-lowercase
Client gen file lowercase
2016-01-06 15:09:03 -08:00
k8s-merge-robot 9724447456 Merge pull request #19294 from mikedanese/link-fix
Auto commit by PR queue bot
2016-01-06 07:18:34 -08:00
k8s-merge-robot 66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Chao Xu f51da22bcf regenerate the typed clients 2016-01-05 16:20:46 -08:00
Mike Danese 1934fc73e8 mungedocs: fix ignored errors in link checker
Before this change the link checker would ignore errors in a file if
the last link in a file was correct. The last link would wipe out the
error variable and set it to nil. Furthermore, it replaced errored
links with the empty string.

If we find an error that we can't correct, append the error message to
an an errs slice and leave the string as is.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-05 12:58:30 -08:00
Chao Xu 4b1a1057b3 lowercase the names of the generated client files 2016-01-04 14:45:25 -08:00
k8s-merge-robot 236683fe29 Merge pull request #18357 from gmarek/expose-master-components
Auto commit by PR queue bot
2016-01-04 14:32:17 -08:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
deads2k e2d280a592 external versions no longer need reordering 2016-01-04 15:07:54 -05:00
k8s-merge-robot cd097e3f86 Merge pull request #19088 from smarterclayton/separate_service_account
Auto commit by PR queue bot
2016-01-04 08:38:24 -08:00
Ravi Sankar Penta d0dd6c844b Allow node IP to be passed as optional config for kubelet
In case of multiple IPs on the node, this will allow admin to
specify desired IP to be used for the node.
2016-01-03 09:29:07 -08:00
k8s-merge-robot 4f65f68a12 Merge pull request #19182 from thockin/kube-proxy-conntrack-max
Auto commit by PR queue bot
2016-01-02 02:36:18 -08:00
k8s-merge-robot 267687932f Merge pull request #17916 from justinsb/multizone_volumes_aws
Auto commit by PR queue bot
2016-01-01 18:59:30 -08:00
Wojciech Tyczynski 5abdc2e944 Updage auto-generated files 2016-01-01 11:47:29 +01:00
Justin Santa Barbara f9a6ac077e Ubernetes Lite: Volumes can dictate zone scheduling
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.

So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels.  This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.

Support for tagging GCE PVs will follow.

Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Tim Hockin da0ac31182 Set conntrack params in kube-proxy
Add flags to control max connections (set to 256k vs 64k default) and TCP
established timeout (set to 1 day vs 5 day default).  Flags can be set to 0 to
mean "don't change it".

This is only set at startup, and not wrapped in a rectifier loop.

Tested manually.
2015-12-30 15:46:40 -08:00
Wojciech Tyczynski f9f840a1c6 Remove debug log 2015-12-30 14:42:02 +01:00
k8s-merge-robot 9287a108a4 Merge pull request #18156 from wojtek-t/use_new_deep_copies
Auto commit by PR queue bot
2015-12-30 05:11:02 -08:00
k8s-merge-robot cf359053f0 Merge pull request #19047 from smarterclayton/avoid_reflection_during_convert
Auto commit by PR queue bot
2015-12-29 13:49:10 -08:00
Wojciech Tyczynski baf97c9c5e First use of new deep-copy generator. 2015-12-29 18:06:09 +01:00
k8s-merge-robot 13a853f371 Merge pull request #19139 from wojtek-t/enable_testing_client_gen
Auto commit by PR queue bot
2015-12-29 08:58:00 -08:00
Clayton Coleman 3c1451af91 Use public conversion methods to avoid reflection
Replace many of the remaining s.Convert() invocations with direct
execution, and make generated methods public. Removes 10% of the
allocations during decode of a pod and ~20-40% of the total CPU time.
2015-12-29 10:38:42 -05:00
k8s-merge-robot fec5206f1a Merge pull request #13840 from nelcy/master
Auto commit by PR queue bot
2015-12-28 23:55:32 -08:00
Wojciech Tyczynski 9d912e843b Update/verify client generator in scripts 2015-12-28 14:24:43 +01:00
gmarek 9993f1d881 Attempt to fix 'pod never started running' by increasing timeouts in integration tests 2015-12-28 12:39:36 +01:00
Clayton Coleman 9dad7e624c Split the serviceaccount package into two parts
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
Clayton Coleman 3d5ed379b0 authn.go doesn't belong in pkg/apiserver
apiserver does not need to know about specific authentication
mechanisms, and does not need to take dependencies on all the
authentication packages.
2015-12-26 21:22:22 -05:00
k8s-merge-robot 500493a3ac Merge pull request #18925 from caesarxuchao/refactor-registration
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
k8s-merge-robot e340cce2ed Merge pull request #15423 from hurf/convert_cleanup
Auto commit by PR queue bot
2015-12-24 00:34:37 -08:00
k8s-merge-robot 16e1de6db6 Merge pull request #18859 from deads2k/gv-grab-bag
Auto commit by PR queue bot
2015-12-23 23:57:24 -08:00
Chao Xu ad484c79f7 pass runtime.Scheme as parameter to AddToScheme 2015-12-23 23:21:35 -08:00
Chao Xu 2b5b708b70 Refactor the API registration and installation 2015-12-23 22:44:25 -08:00
k8s-merge-robot be235e8754 Merge pull request #18940 from smarterclayton/nil_body
Auto commit by PR queue bot
2015-12-23 18:02:03 -08:00
k8s-merge-robot e185b1028a Merge pull request #18909 from ncdc/force-image-pulls-admission
Auto commit by PR queue bot
2015-12-23 14:53:31 -08:00
Chakravarthy Nelluri fa76de79e5 Add support for flex volume. Flex volume adds support for thirdparty(vendor)
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
gmarek a4202cbee9 Scheduler and ControllerManager listens on 0.0.0.0 2015-12-23 08:33:25 +01:00
hurf 763edd3011 Clean up standalone conversion tool
Remove kube-version-change for all its functionalities are covered
by kubectl convert command. Also changed the related docs.
2015-12-23 10:31:08 +08:00
Clayton Coleman 6d4612c8d2 Remove redundant / complex client code 2015-12-22 14:29:15 -05:00
Brendan Burns 4ca66d2aef Merge pull request #18047 from caesarxuchao/munger-tag-new
Stop munger produce the link to a release version doc if it doesn't exit in the release branch
2015-12-22 10:35:20 -08:00
Andy Goldstein f175a22443 Add admission controller to force image pulls
Add an admission controller that forces every container's image pull policy to
Always when a pod is created.
2015-12-22 10:32:40 -05:00
HaiyangDING d9f3607292 Implement multi-scheduler:
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
	- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
	- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"

update gofmt

update according to @david's review

run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
Chao Xu b728db081b Munger now checks the release branch to verify if a file exist there before
generating a link to it.
2015-12-21 10:40:15 -08:00
deads2k d41e7ecf53 miscellaneous group version updates 2015-12-21 09:52:50 -05:00
Wojciech Tyczynski ebc14e1a2e Regenerate clients 2015-12-21 11:12:25 +01:00
Wojciech Tyczynski b279227d83 Fix compile errors in DeleteCollection 2015-12-21 09:29:11 +01:00
k8s-merge-robot 20b7810a21 Merge pull request #16667 from DirectXMan12/refactor/hpa-use-namespacers
Auto commit by PR queue bot
2015-12-20 07:34:39 -08:00
k8s-merge-robot 1562d84c96 Merge pull request #18628 from mikedanese/expose-master-count
Auto commit by PR queue bot
2015-12-19 12:42:05 -08:00
k8s-merge-robot 9e8233fc3c Merge pull request #17398 from janetkuo/deployment-controller-informer
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
Mike Danese a09d85bd83 expose master count configuration in a cli option on apiserver 2015-12-18 13:10:41 -08:00
k8s-merge-robot 730a6a1d55 Merge pull request #18685 from caesarxuchao/client-gen-output
Auto commit by PR queue bot
2015-12-18 10:55:05 -08:00
Wojciech Tyczynski d1e039b646 Merge pull request #18635 from timothysc/etcd_client_post_cleanup
Update to use latest etcd client library
2015-12-18 14:14:21 +01:00
Chao Xu b61c9a4cf3 output of client-gen 2015-12-17 23:42:16 -08:00
Janet Kuo 32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
Sam Ghods b838d8ce18 Add informers to deployment controller 2015-12-17 19:29:54 -08:00
Eric Tune ad97b9c728 Undo unintentional changes to goidl testdata
Introduced by #17940 due to bug.  Bug fixed by #18860.
2015-12-17 16:00:56 -08:00
Eric Tune 1752cf22d4 Merge pull request #17940 from soltysh/job_deadline
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
k8s-merge-robot a45c87864e Merge pull request #18621 from pmorie/devel/provisioner-gce
Auto commit by PR queue bot
2015-12-17 09:20:29 -08:00
Maciej Szulik 327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
k8s-merge-robot c02598aea2 Merge pull request #18551 from caesarxuchao/remove-serverapiversions
Auto commit by PR queue bot
2015-12-17 05:28:03 -08:00
k8s-merge-robot 0f144fd351 Merge pull request #18529 from timstclair/server
Auto commit by PR queue bot
2015-12-17 04:27:11 -08:00
k8s-merge-robot cd59d1e59a Merge pull request #18700 from wojtek-t/fix_client_gen_script
Auto commit by PR queue bot
2015-12-16 23:57:08 -08:00
Chao Xu f2edba3bec remove ServerAPIVersions from client
hard-code the groupVersion in SetKubernetesDefaults
2015-12-16 16:24:55 -08:00
Nikhil Jindal 5fb943950d Merge pull request #18113 from nikhiljindal/serverLibrary
Extracting api server code into a library: part 1
2015-12-16 15:57:09 -08:00
k8s-merge-robot b888fcc8ef Merge pull request #18743 from caesarxuchao/second-comment-blcok
Auto commit by PR queue bot
2015-12-16 13:57:36 -08:00
Timothy St. Clair c505a5d49d Updating kubernetes proper to use latest etcd client library 2015-12-16 15:56:35 -06:00
nikhiljindal 2d952aaa87 Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
Jan Safranek d4f6271b21 Implement Creater and Deleter interfaces for GCE PD. 2015-12-16 16:14:01 -05:00
Jan Safranek 2f06ebf9b7 Implement Creater and Deleter interfaces for Cinder. 2015-12-16 14:23:14 -05:00
Saad Ali 3968a5e63c Merge pull request #18601 from pmorie/devel/provisioner-aws
Dynamic provisioner for AWS EBS
2015-12-16 10:51:35 -08:00
Wojciech Tyczynski 4473abf3b5 Update client-generator 2015-12-16 13:59:58 +01:00
k8s-merge-robot e309583ff1 Merge pull request #18473 from smarterclayton/change_runtime_object
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
k8s-merge-robot 6716290903 Merge pull request #18388 from nikhiljindal/clusterName
Auto commit by PR queue bot
2015-12-16 03:50:11 -08:00
Chao Xu 5f0509a351 add SecondClosestCommentLines to go2idl types.Type 2015-12-15 22:30:58 -08:00
k8s-merge-robot fc7c70dba3 Merge pull request #18373 from deads2k/gv-codecfor
Auto commit by PR queue bot
2015-12-15 19:28:48 -08:00
k8s-merge-robot 5a024848f1 Merge pull request #18687 from caesarxuchao/expand-orderer
Auto commit by PR queue bot
2015-12-15 15:23:35 -08:00
Clayton Coleman 8f203a28f1 Change runtime.Object signature 2015-12-15 13:36:25 -05:00
Tim St. Clair 89bc7992f9 Refactor kubelet server into its own package
Refactor Kubelet's server functionality into a server package. Most
notably, move pkg/kubelet/server.go into
pkg/kubelet/server/server.go. This will lead to better separation of
concerns and a more readable code hierarchy.
2015-12-15 10:20:38 -08:00
Chao Xu 0a09bbbf57 add OrderTypes() to Orderer 2015-12-15 10:07:59 -08:00
deads2k 6e33403abf update CodecFor for GroupVersion 2015-12-15 10:56:00 -05:00
deads2k 7a83ce60e6 refactor group registration 2015-12-15 08:37:07 -05:00
k8s-merge-robot 3680268c52 Merge pull request #18353 from deads2k/gv-use-constants
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
Jan Safranek 6ff5286df9 Implement Creater and Deleter interfaces for AWS EBS.
Also mark the created EBS volumes with tags, so the admin knows
who/what created the volumes.
2015-12-15 10:22:49 +01:00
Chao Xu 05e3cb8bfb adding a mock.testType to test the generated client code 2015-12-14 11:24:44 -08:00
Solly Ross 15fc230a59 Make HPA Controller use Namespacers
The HPA controller had previously used a single Client
object to act as three different Namespacers.  To improve
ease of extensibility and to make it clearer what the HPA
controller actually needs to use from the client, it should
use separate Namespacers for each of its needs (Scales, HPAs,
and Events).
2015-12-14 11:41:00 -05:00
deads2k d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
k8s-merge-robot 3dfa323eab Merge pull request #18560 from caesarxuchao/plural-namer
Auto commit by PR queue bot
2015-12-14 01:37:44 -08:00
k8s-merge-robot 47d2f41680 Merge pull request #18370 from deads2k/gv-interfacesfor
Auto commit by PR queue bot
2015-12-13 10:27:17 -08:00
Wojciech Tyczynski 342eee680c Revert "[hpa] Parameterize tolerance, downscale, and upscale into HPAController, and add corresponding unit test for backsolved tolerance." 2015-12-13 09:54:43 +01:00
k8s-merge-robot 9b07349013 Merge pull request #18315 from jayunit100/hpa-tolerance-config
Auto commit by PR queue bot
2015-12-12 01:55:46 -08:00
nikhiljindal 724b098855 Deleting unused master.ClusterName param 2015-12-11 13:39:19 -08:00
deads2k ec87d74ecb update InterfacesFor to use GroupVersion 2015-12-11 13:45:41 -05:00
Chao Xu a336ab1f3d address wojtek-t's comment 2015-12-11 10:27:54 -08:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
Chao Xu 80a8295bce update the client-gen to use the plural namer 2015-12-10 22:32:11 -08:00
Chao Xu e2a30aba7a add a plural namer 2015-12-10 22:32:11 -08:00
Jay Vyas 5161d169ba Parameterization for downscale, upscale, and tolerance with backsolving
unit test for visible testing of tolerance algorithm expectations. Logs for dScale, uScale, tol creation.
2015-12-10 10:59:21 -05:00
Timothy St. Clair 413d8d18fe Futher storage isolation and removal of the tools interface. 2015-12-09 11:04:14 -06:00
k8s-merge-robot d71e838d91 Merge pull request #17760 from gmarek/kubelet-port-salt
Auto commit by PR queue bot
2015-12-08 21:14:10 -08:00
k8s-merge-robot 1900c626f4 Merge pull request #18312 from erictune/example-syncer
Auto commit by PR queue bot
2015-12-08 14:40:35 -08:00
k8s-merge-robot 94752c12a8 Merge pull request #18128 from ZJU-SEL/fix-typo
Auto commit by PR queue bot
2015-12-07 15:59:08 -08:00
Eric Tune 21f81935e2 examples munger allows any file extension. 2015-12-07 14:18:42 -08:00
Abhi Shah bb3f49e526 Merge pull request #18089 from ArtfulCoder/oneNSAgain
SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst
2015-12-07 10:20:29 -08:00
gmarek 4060eba626 Use KubeletPort from API object, salt changes, take 2
This reverts commit a7425bf070, reversing
changes made to 4a9b0fc715.
2015-12-07 10:31:11 +01:00
gmarek 5298c2f62e All controllers run by controller-manager use diffrent UserAgents 2015-12-07 10:02:23 +01:00
k8s-merge-robot db11f1b6c6 Merge pull request #17133 from derekwaynecarr/quota_controller_improvements
Auto commit by PR queue bot
2015-12-06 12:24:00 -08:00
k8s-merge-robot c6b59353e1 Merge pull request #18022 from deads2k/gv-request
Auto commit by PR queue bot
2015-12-05 22:38:40 -08:00
k8s-merge-robot c19067740e Merge pull request #18039 from caesarxuchao/go2idl-track-variable-name
Auto commit by PR queue bot
2015-12-05 05:51:25 -08:00
k8s-merge-robot 6f6e97f2e4 Merge pull request #17987 from mml/mungedocs
Auto commit by PR queue bot
2015-12-04 02:13:54 -08:00
He Simei 387d861d4e deprecate confusing flag usage 2015-12-04 09:09:23 +08:00
derekwaynecarr 55d4f70f8e Resource quota observes deletes faster 2015-12-03 17:35:05 -05:00
Chao Xu 0d7d4c04a2 split Package.Types to Types, Variables and Functions;
add DeclarationOf Kind.
2015-12-03 12:03:47 -08:00
k8s-merge-robot 537405feda Merge pull request #18147 from wojtek-t/fix_client_gen
Auto commit by PR queue bot
2015-12-03 11:01:51 -08:00
deads2k 0fd17b7b2e update client.Request for GroupVersion 2015-12-03 08:16:41 -05:00
k8s-merge-robot 3cbfcdcdba Merge pull request #16810 from lavalamp/go2idl.2
Auto commit by PR queue bot
2015-12-03 04:25:08 -08:00
k8s-merge-robot 6479f5e93f Merge pull request #18136 from nikhiljindal/del-new-etcd-storage
Auto commit by PR queue bot
2015-12-03 04:10:00 -08:00
Wojciech Tyczynski 8952210304 Adjust client-gen to the new interfaces. 2015-12-03 11:54:33 +01:00
Marek Grabowski ffdfc68d11 Merge pull request #18075 from wojtek-t/only_list_options_in_list
Simplify List() signature in clients.
2015-12-03 10:38:33 +01:00
nikhiljindal 5c556baa2f Removing duplicate NewEtcdStorage code 2015-12-03 01:37:44 -08:00
Marek Grabowski 348e7ecc5d Merge pull request #17349 from PeterLamar/master
Small readability improvements in Kubelet
2015-12-03 10:08:58 +01:00
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
nikhiljindal 41ebe6f1a3 Cleaning up duplicate master config inits 2015-12-02 15:03:22 -08:00
Daniel Smith ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
Abhishek Shah 6c3a88cb3a SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst 2015-12-02 10:26:49 -08:00
k8s-merge-robot 689586c6ae Merge pull request #16153 from gmarek/use_api_ports
Auto commit by PR queue bot
2015-12-02 05:57:49 -08:00
gmarek 459131fd92 Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2. 2015-12-02 13:38:17 +01:00
k8s-merge-robot ac68536d44 Merge pull request #17832 from wojtek-t/list_options_in_list
Auto commit by PR queue bot
2015-12-02 02:34:17 -08:00
Fabio Yeon 7100d278e3 Revert "SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst" 2015-12-01 20:58:27 -08:00
k8s-merge-robot 4602220ad0 Merge pull request #15645 from ArtfulCoder/oneNS
Auto commit by PR queue bot
2015-12-01 13:51:37 -08:00
k8s-merge-robot 643cb7a1c7 Merge pull request #17891 from zhengguoyong/consistent_kubelet_package
Auto commit by PR queue bot
2015-12-01 08:37:01 -08:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
k8s-merge-robot a836b1e261 Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
Matt Liggett 08418a486d Add debugging output to mungedocs when --verbose=true.
Hope to understand why verify-generated-docs is failing on jenkins but
not here.
2015-11-30 13:43:19 -08:00
Chao Xu 6e192760e3 refactoring latest.go GroupVersion;
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
k8s-merge-robot cc71db9f99 Merge pull request #17304 from ZJU-SEL/fix-todo-master
Auto commit by PR queue bot
2015-11-30 04:51:10 -08:00
harry 477da92002 Move hostIP detection from master to server
Add PublicAddress in test files

Move valid public addr into util
2015-11-30 16:17:37 +08:00
Clayton Coleman 72df8bbfbe Allow go2idl to generate non-Go file types
Remove some indentation from file generation for specific languages,
allow SnippetWriter's io.Writer to be accessed, and add Path to
types.Name for languages where Package and Path can be disjoint.
2015-11-28 17:39:26 -05:00
zhengguoyong bff8334db9 Consistent import kubelet app package name 2015-11-28 08:51:39 +08:00
Chao Xu 8d00e3514a add generator for group's client 2015-11-27 16:03:38 -08:00
k8s-merge-robot 14bebe343c Merge pull request #17757 from caesarxuchao/go2idl-add-functions
Auto commit by PR queue bot
2015-11-27 00:22:36 -08:00
k8s-merge-robot c7cddbefc9 Merge pull request #17697 from dchen1107/event
Auto commit by PR queue bot
2015-11-26 13:42:05 -08:00
Abhishek Shah 015df14a4a SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst 2015-11-25 15:02:40 -08:00
k8s-merge-robot 46eca25d71 Merge pull request #17534 from caesarxuchao/make-client
Auto commit by PR queue bot
2015-11-25 11:21:55 -08:00
Chao Xu ff099bd460 First step of adding clinet-gen: add the generator that generates client code
for top-level types.
2015-11-25 10:06:31 -08:00
deads2k ed95a6d77f update scheme to use GroupVersion 2015-11-25 12:15:48 -05:00
deads2k 47e496364d update generators for groupVersion 2015-11-25 12:14:06 -05:00
k8s-merge-robot ff3f240de2 Merge pull request #17533 from Random-Liu/fix-fake-docker-client
Auto commit by PR queue bot
2015-11-25 08:44:26 -08:00
Prashanth Balasubramanian 9aa0efa393 Turn flannel off by default 2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian ad2d3d4c20 Docs etc 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian 7aa8ebe30f Flannel handshakes with kubelet. 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian 4cd1ee177b Salt configuration for flanneld 2015-11-25 09:42:59 +01:00
Chao Xu 75cf28b7df Track Func in Universe 2015-11-24 21:22:30 -08:00
k8s-merge-robot 4a9b0fc715 Merge pull request #17476 from jiangyaoguo/add-separate-client-for-events
Auto commit by PR queue bot
2015-11-24 21:14:58 -08:00
k8s-merge-robot d42030170b Merge pull request #15999 from aveshagarwal/master-issue-15624
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
jiangyaoguo e3ea9d7c40 add separate client for events in kubelet 2015-11-25 01:28:34 +08:00
Avesh Agarwal 3d5207fd73 This commit adds type information to events.
This addresses issue #15624.
2015-11-24 09:59:54 -05:00
k8s-merge-robot 683e908f0a Merge pull request #17265 from gambol99/rj/node_labels
Auto commit by PR queue bot
2015-11-24 06:55:31 -08:00
k8s-merge-robot 4fd6b6df06 Merge pull request #17316 from deads2k/gv-ClientForVersion
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Dawn Chen 0b734cec93 Have a sane default for RegistryPullQPS 2015-11-23 17:14:15 -08:00
Mike Danese 65b8d43543 remove code that puts kube-proxy into a special cgroup since it runs in a container now 2015-11-23 10:20:58 -08:00
k8s-merge-robot 7a2bd1562a Merge pull request #17207 from brendandburns/fix4
Auto commit by PR queue bot
2015-11-21 09:09:32 -08:00
deads2k a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
Lantao Liu 90ac508524 Cleanup fake_docker_client.go and manager_test.go 2015-11-19 19:03:35 -08:00
k8s-merge-robot 7536e776f3 Merge pull request #16931 from mikedanese/inclustercomponent
Auto commit by PR queue bot
2015-11-18 22:52:27 -08:00
Rohith c2526c93fa - adding the -node-label flag to the kubelet which allows for a initial tagging / labelling of the node on cluster registration
- the labels can come from a series of key=pair value or file:///path_to_file which contains key pairs
2015-11-18 23:20:58 +00:00
Jordan Liggitt 14c40fa741 Fix transposed controller manager args 2015-11-17 15:24:57 -05:00
Mike Danese fb056c47b2 use inClusterConfig before using default config for cluster components 2015-11-17 10:37:40 -08:00
k8s-merge-robot 849280f18d Merge pull request #16926 from liggitt/metrics_https
Auto commit by PR queue bot
2015-11-17 04:05:27 -08:00
cephaslr aef7af1ba4 Rename kubelet variable pods to maxPods in kubelet pkg to match pods variable in kubelet cmd.
Remove comment requesting modification of mesos contrib file, dependencies should be maintained in unit tests
2015-11-16 20:15:40 -05:00
Jeff Lowdermilk 70d89a3541 Merge pull request #13571 from yujuhong/lifecycle_v0
kubelet: add a generic pod lifecycle event generator
2015-11-16 14:59:40 -08:00
Jordan Liggitt 165d7d5030 Enable specifying scheme/port for metrics client 2015-11-16 13:18:40 -05:00
k8s-merge-robot 65c285f5ab Merge pull request #16344 from thockin/enable-iptables-proxy
Auto commit by PR queue bot
2015-11-16 09:48:38 -08:00
Dr. Stefan Schimanski bc7523a775 Make controller manager node monitor constant public 2015-11-16 11:48:04 +01:00
Tim Hockin 970c045848 Enable iptables kube-proxy by default in master 2015-11-13 18:38:01 -08:00
Tim Hockin 938f80b683 Change 'scary warning' to point to v1.1 2015-11-13 13:49:43 -08:00
Yu-Ju Hong ac778e8203 Adjust the sync/backoff period
Set resyncInterval to one minute now that we rely on the generic pleg to trigger
pod syncs on container events. When there is an error during syncing, pod
workers need to wake up sooner to retry. Set the sync error backoff period to
10 second in this case.
2015-11-13 09:57:25 -08:00
k8s-merge-robot d3777a08e0 Merge pull request #17110 from ZJU-SEL/fix-controllermanager-waiting-issue
Auto commit by PR queue bot
2015-11-13 07:41:30 -08:00
Brendan Burns 19c582c2b1 Add kubectl to the hyperkube binary 2015-11-12 22:18:16 -08:00
He Simei d76d57e0e1 wait for 10s before controller manager fails when api-server is not up 2015-11-13 14:16:39 +08:00
k8s-merge-robot 6649c43bf8 Merge pull request #17049 from wojtek-t/cleanup_tools
Auto commit by PR queue bot
2015-11-12 21:57:23 -08:00
k8s-merge-robot e88593d788 Merge pull request #14542 from vishh/kubelet-refactor
Auto commit by PR queue bot
2015-11-12 15:24:22 -08:00
Wojciech Tyczynski 3df5d1dbc3 Move storage-related dirs under pkg/storage. 2015-11-12 19:49:32 +01:00
Wojciech Tyczynski 68d2824a45 Generate deep copies with framework. 2015-11-12 10:38:25 +01:00