k8s-merge-robot
f5e1e9a227
Merge pull request #24912 from bprashanth/petset_controller
...
Automatic merge from submit-queue
Petset controller
Took longer than I expected. Main parts of this pr are:
1. Identity generation based on petset spec (volumes are mapped per discussion in #18016 )
2. Ensure that we create/delete pets in sequence
3. Ensuring that we create, wait for healthy, create; or delete, wait for terminationGrace, delete
4. Controller that watches apiserver and drives actual -> desired
PVCs are not deleted, yet.
2016-05-05 08:58:23 -07:00
k8s-merge-robot
085b172395
Merge pull request #24887 from nikhiljindal/runOptions
...
Automatic merge from submit-queue
Deleting duplicate code from federated-apiserver.Run()
This removes most of duplicate code from federated-apiserver.Run().
The code remaining is related to storage or authz and authn.
https://github.com/kubernetes/kubernetes/pull/24787 refactors the storage related code.
I am still figuring out authz and authn.
cc @jianhuiz
2016-05-05 06:50:56 -07:00
Chao Xu
4562a26d34
generated changes
2016-05-04 21:54:55 -07:00
Muhammed Uluyol
f3690e2d5e
build/pause: write in C
...
Builds statically against glibc. References to the old pause
image have been updated.
2016-05-04 21:45:52 -04:00
Prashanth Balasubramanian
6bc3052551
PetSet alpha controller
2016-05-04 18:39:17 -07:00
k8s-merge-robot
93e3df8e55
Merge pull request #24789 from wojtek-t/use_proper_codec_in_client
...
Automatic merge from submit-queue
Use proper codec in client
2016-05-04 11:00:04 -07:00
Wojciech Tyczynski
b4c83022e3
Add NegotiatedSerializer to config
2016-05-04 10:02:58 +02:00
Yu-Ju Hong
a3d5a4f358
Remove redundant RC and service tests in integration.go
2016-05-03 17:13:10 -07:00
nikhiljindal
16c0e0a21c
Deleting duplicate code from federated-apiserver
2016-05-03 14:04:09 -07:00
Clayton Coleman
c4b192b67b
Protobuf generation should strip empty-imports
...
The imports are generated because the packages are in the search tree,
but nothing in the generated code needs them. For now, strip them.
2016-05-02 18:12:20 -04:00
k8s-merge-robot
8fba6de835
Merge pull request #24117 from XiaoningDing/federation-client
...
Automatic merge from submit-queue
Federation client for cluster
generate v1alpha1 and unversioned client for federation/clusters
#23653 , requires #23847 , #23998
@nikhiljindal @quinton-hoole @caesarxuchao
2016-05-02 01:41:08 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
k8s-merge-robot
11298d02e0
Merge pull request #24455 from hongchaodeng/fl
...
Automatic merge from submit-queue
Provide flags to use etcd3 backed storage
ref: #24405
What's in this PR?
- Add a new flag "storage-backend" to choose "etcd2" or "etcd3". By default (i.e. empty), it's "etcd2".
- Take out etcd config code into a standalone package and let it create etcd2 or etcd3 storage backend given user input.
2016-04-29 08:49:04 -07:00
jianhuiz
d169fa6864
generate v1alpha and unversioned clientset for federation/clusters
2016-04-28 16:27:22 -07:00
k8s-merge-robot
4a0e0826e5
Merge pull request #24220 from gmarek/metrics
...
Automatic merge from submit-queue
Generated clients can return their RESTClients, RESTClient can return its RateLimiter
cc @lavalamp @krousey @wojtek-t @smarterclayton @timothysc
Ref. #22421
2016-04-27 19:25:38 -07:00
Hongchao Deng
c0071a1595
add flags to enable etcd3
2016-04-28 09:48:16 +08:00
Clayton Coleman
4636af5b87
mungedocs should not assume upstream remote
...
The standard Git convention is "origin", not "upstream", so make it
flexible in the scripts for those who are set up differently.
2016-04-27 21:33:09 -04:00
gmarek
3171aac57c
Generated clients can return their RESTClients, RESTClient can return its RateLimiter
2016-04-27 22:15:10 +02:00
k8s-merge-robot
3a19ad7908
Merge pull request #24559 from derekwaynecarr/eviction_flags
...
Automatic merge from submit-queue
Add kubelet flags for eviction threshold configuration
This PR just adds the flags for kubelet eviction and the associated generated code.
I am happy to tweak text, but we can also do that later at this point in the release.
Since this causes codegen, I wanted to stage this first.
/cc @vishh @kubernetes/sig-node
2016-04-27 10:25:48 -07:00
jianhuiz
3bdd4130cd
add protobuf generation
2016-04-26 02:08:10 -07:00
jianhuiz
fcb241d05c
add api group 'federation' and 'cluster' object
2016-04-26 02:05:51 -07:00
k8s-merge-robot
293b0d0815
Merge pull request #23493 from soltysh/move_job_internals
...
Automatic merge from submit-queue
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
This addressed the job part of #23216 , this is still WIP. Will notify once finished. I'd like to have it in before starting working on ScheduledJob.
@lavalamp @erictune fyi
2016-04-25 20:58:49 -07:00
k8s-merge-robot
b04f6ffc48
Merge pull request #24646 from nikhiljindal/removeMasterDep
...
Automatic merge from submit-queue
Move SSHTunneler to genericapiserver and remove federated-apiserver's dependency on pkg/master
cc @jianhuiz
2016-04-25 19:50:37 -07:00
Maciej Szulik
a3b4447305
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
2016-04-25 11:03:54 +02:00
derekwaynecarr
3c9ab576c2
Add kubelet flags for eviction threshold config
2016-04-24 19:03:23 -04:00
k8s-merge-robot
ea15d792a1
Merge pull request #24470 from deads2k/shared-cache-02
...
Automatic merge from submit-queue
update controllers watching all pods to share an informer
This plumbs the shared pod informer through the various controllers to avoid duplicated watches.
2016-04-23 17:18:47 -07:00
nikhiljindal
f9f1e21e08
Moving master.SSHTunneler to genericapiserver
2016-04-22 11:47:05 -07:00
k8s-merge-robot
495251b983
Merge pull request #24166 from gmarek/client
...
Automatic merge from submit-queue
All clients under ClientSet share one RateLimiter.
Currently we create a rate limiter for each client in client set. It makes the reasoning about rate limiting behavior much harder. This PR changes this behavior and now all clients in the set share single rate limiter. Ref. #24157
cc @lavalamp @wojtek-t
2016-04-21 22:31:23 -07:00
k8s-merge-robot
34fc7f0401
Merge pull request #24461 from wojtek-t/enable_components_to_use_protobufs
...
Automatic merge from submit-queue
Allow components to use protobufs while talking to apiserver.
2016-04-21 12:46:17 -07:00
k8s-merge-robot
145917368a
Merge pull request #24398 from caesarxuchao/fqresource-fake-client
...
Automatic merge from submit-queue
Make fake client actions use fully qualified resource
The output of a versioned clientset is version object. The fake client used to assume only internal objects will be returned. This PR removes this assumption by making fake actions initialized with a fully qualified resource instead of a resource string.
We have to regenerate fake clients in release_1_2 clientset to let it compile. For the test fakes, we are breaking the backwards compatibility promise.
Part of #24155 .
2016-04-21 10:45:32 -07:00
gmarek
b76bed0cc9
All clients under ClientSet share one RateLimiter.
2016-04-21 18:48:22 +02:00
deads2k
60fe17d338
update resource quota controller for shared informers
2016-04-21 08:20:39 -04:00
deads2k
8c4e3af1a3
switch job controller to shared informer
2016-04-21 08:20:39 -04:00
deads2k
8b707016f9
convert daemonset controller to SharedInformer
2016-04-21 08:20:39 -04:00
deads2k
6670b73b18
make storage enablement, serialization, and location orthogonal
2016-04-21 08:18:55 -04:00
Wojciech Tyczynski
d6896fa45a
Allow setting content-type in binaries
2016-04-21 14:12:13 +02:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
Prashanth Balasubramanian
0ac10c6cc2
PetSet type, apps apigroup
2016-04-20 18:49:31 -07:00
k8s-merge-robot
8a76a1bd36
Merge pull request #24234 from goltermann/vetclean
...
Automatic merge from submit-queue
Enable go vet.
2016-04-20 14:50:37 -07:00
k8s-merge-robot
6402b04cf3
Merge pull request #24395 from caesarxuchao/use-serializer
...
Automatic merge from submit-queue
client-gen: use serializer instead of codec for versioned client
For a versioned client, because the output of every client method is a versioned object, so it should use a serializer instead of a codec that does conversion.
@lavalamp @krousey
2016-04-20 10:48:41 -07:00
goltermann
3fa6c6f6d9
Enable vet
2016-04-20 09:48:24 -07:00
k8s-merge-robot
60afb8f005
Merge pull request #24454 from nikhiljindal/duplicateRun
...
Automatic merge from submit-queue
genericapiserver: Moving more flags to ServerRunOptions
Moving more apiserver flags to generic api server.
With this change, most of the Config is created in genericapiserver.NewConfig(). The plan is to move everything there.
I didnt touch Storage related params as they are being changed in https://github.com/kubernetes/kubernetes/pull/23208 .
And I will handle authz and authn in another PR (need to figure out a few things).
cc @lavalamp @kubernetes/sig-api-machinery
2016-04-20 03:49:35 -07:00
k8s-merge-robot
8c170ff5ff
Merge pull request #24498 from caesarxuchao/dot-deepcopy-gen
...
Automatic merge from submit-queue
Remove dot in generated deepcopy package name
ref https://github.com/kubernetes/kubernetes/pull/20573#issuecomment-212125061
cc @wojtek-t
I tested with #20573 to verify hack/codegen.sh worked and the generated code compiled.
2016-04-20 01:09:37 -07:00
k8s-merge-robot
28f968aa1a
Merge pull request #24505 from yujuhong/remove_test
...
Automatic merge from submit-queue
Remove disabled mirror pod test in cmd/integration
The new tests for mirror pods are being added in the node e2e suite.
This partially addresses #24440
2016-04-19 22:36:43 -07:00
CJ Cullen
760568796f
Masquerade traffic from off-cluster going through kube-proxy.
2016-04-19 21:39:34 -07:00
Yu-Ju Hong
3e2901a09a
Remove disabled mirror pod test in cmd/integration
...
The new tests for mirror pods are being added in the node e2e suite.
2016-04-19 16:38:12 -07:00
Chao Xu
2b0c849e83
remove dot in deepcopy package name
2016-04-19 14:01:41 -07:00
Chao Xu
4b5ef393c8
client-gen: use serializer instead of codec for versioned client
2016-04-19 13:42:07 -07:00
k8s-merge-robot
9187a7aeb3
Merge pull request #24416 from caesarxuchao/add-fake-testoutput
...
Automatic merge from submit-queue
Client-gen: Add fake clients to testoutput; fix the imports in fake clients
Start generating fake client in the testoutput, so that we can check the fake client is generated correctly under extreme conditions.
Fix the problem reported https://github.com/kubernetes/kubernetes/pull/20573#issuecomment-210556618 , where the import names contain dots when the group name contains dots.
cc @deads2k
2016-04-19 12:08:02 -07:00
Chao Xu
442c079e63
generate the fake clients in testoutput
2016-04-19 10:55:19 -07:00
Chao Xu
79c3d6683c
Client-gen: add fake clients to testoutput; in fake clients, fix the imports of packages that contains dots in the name
2016-04-19 10:55:01 -07:00
k8s-merge-robot
db28f73c3b
Merge pull request #24282 from goltermann/spelling
...
Automatic merge from submit-queue
Fix misspellings in comments
2016-04-19 03:47:07 -07:00
nikhiljindal
50a9aceabb
Moving more logic to genericapiserver
2016-04-19 00:03:28 -07:00
deads2k
f0c33d65b6
start sharing the pod cache and list/watch
2016-04-18 08:51:55 -04:00
k8s-merge-robot
62fd60565a
Merge pull request #24048 from liggitt/apiserver-defaults
...
Automatic merge from submit-queue
Use correct defaults when binding apiserver flags
defaults should be set in the struct-creating function, then the current struct field value used as the default when binding the flag
2016-04-17 20:59:38 -07:00
k8s-merge-robot
a275a045d1
Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable
...
Automatic merge from submit-queue
Make etcd cache size configurable
Instead of the prior 50K limit, allow users to specify a more sensible size for their cluster.
I'm not sure what a sensible default is here. I'm still experimenting on my own clusters. 50 gives me a 270MB max footprint. 50K caused my apiserver to run out of memory as it exceeded >2GB. I believe that number is far too large for most people's use cases.
There are some other fundamental issues that I'm not addressing here:
- Old etcd items are cached and potentially never removed (it stores using modifiedIndex, and doesn't remove the old object when it gets updated)
- Cache isn't LRU, so there's no guarantee the cache remains hot. This makes its performance difficult to predict. More of an issue with a smaller cache size.
- 1.2 etcd entries seem to have a larger memory footprint (I never had an issue in 1.1, even though this cache existed there). I suspect that's due to image lists on the node status.
This is provided as a fix for #23323
2016-04-17 00:06:31 -07:00
k8s-merge-robot
957ee1d50a
Merge pull request #23819 from rrati/controller-manager-startup-delay
...
Automatic merge from submit-queue
Added optional delays to starting controller managers. #22669
2016-04-16 15:33:32 -07:00
k8s-merge-robot
ff1da7674d
Merge pull request #24268 from wojtek-t/remove_old_conversions_generator
...
Automatic merge from submit-queue
Remove old conversion generator
2016-04-15 04:25:19 -07:00
Wojciech Tyczynski
89e860e622
Remove old conversion generator
2016-04-15 12:07:57 +02:00
Daniel Smith
597e26bd22
Merge pull request #24119 from smarterclayton/upstream_flags
...
Move a kubelet flag default to the right place
2016-04-14 16:57:09 -07:00
goltermann
c226c9435b
Fix misspellings in comments.
...
https://goreportcard.com/report/k8s.io/kubernetes#misspell
2016-04-14 13:57:45 -07:00
k8s-merge-robot
5cc7c9565f
Merge pull request #24059 from caesarxuchao/client-gen-dotted-group
...
Automatic merge from submit-queue
Client-gen: handle dotted group name, e.g., "authentication.k8s.io"
The client-gen used to assume the group name doesn't include dot, but it's not true, e.g., we have group `authentication.k8s.io`.
With this PR, Client-gen will use the full group name when creating directory (e.g., the client for the authentication group will be generated at pkg/client/clientset_generated/release_1_3/typed/`authentication.k8s.io`/v1/). However, because golang doesn't allow dot in variable/function names, so when the group name is used as part of variable/function name, client-gen extracts the part before the first dot (e.g., authentication).
This PR also changes the group name of the test group from `testgroup` to `testgroup.k8s.io` to verify if client-gen generates sane code.
cc @deads2k for #20573
2016-04-14 13:13:32 -07:00
Daniel Smith
490c68dbe3
Merge pull request #23768 from wojtek-t/conversions_with_framework_6
...
Migrate to new conversions generator - part 2
2016-04-14 11:30:21 -07:00
Chao Xu
bc0662b3e9
generated changes
2016-04-14 10:04:59 -07:00
Chao Xu
08fc35018a
Client-gen: handle dotted package name
2016-04-14 10:04:58 -07:00
Jordan Liggitt
6c1bcfa28d
Use correct defaults when binding apiserver flags
2016-04-14 10:12:51 -04:00
k8s-merge-robot
e121b562c5
Merge pull request #23262 from sttts/sttts-bash-completion-flag-equal
...
Automatic merge from submit-queue
Make kubectl bash-completion namespace and resource alias aware

- filter resource listing by `--namespace` flag given before in the command line
```bash
$ kubectl get pod --namespace=kube-system <tab><tab>
kube-dns-v9-2wuzj kube-dns-v9-llqxa
```
- add completion of `--namespace`
```bash
$ kubectl get pod --namespace=<tab><tab>
[*] default ingress kube-system
```
- add support for plural nouns and aliases like `rc`
2016-04-14 04:26:40 -07:00
k8s-merge-robot
1965c3cdd0
Merge pull request #23635 from Clarifai/version
...
Automatic merge from submit-queue
Add version string to "Kubelet started" log message
Not logging versions considered harmful.
2016-04-14 00:48:11 -07:00
k8s-merge-robot
df9f71fcd5
Merge pull request #23627 from ingvagabund/unit-test-for-negative-value-of-allocatable-resources
...
Automatic merge from submit-queue
Unit test for negative value of allocatable resources
Introduce unit test for checking resource quantities for kubelet's allocatable resources.
Covered values:
* negative quantity value: error expected
* invalid quantity unit: error expected
* valid quantity: error not expected
Running go test with -v, returned error are logged as well for more information:
```shell
=== RUN TestValueOfAllocatableResources
--- PASS: TestValueOfAllocatableResources (0.00s)
server_test.go:47: Returned err: "resource quantity for \"memory\" cannot be negative: -150G"
server_test.go:47: Returned err: "unable to parse quantity's suffix"
PASS
ok k8s.io/kubernetes/cmd/kubelet/app 0.020s
```
2016-04-14 00:48:10 -07:00
k8s-merge-robot
429228d403
Merge pull request #23953 from nikhiljindal/u8sServer
...
Automatic merge from submit-queue
moving genericapiserver command line flags to genericapiserver
cc @kubernetes/sig-api-machinery
2016-04-13 23:15:24 -07:00
k8s-merge-robot
20eccc24cd
Merge pull request #24143 from goltermann/vetclean
...
Automatic merge from submit-queue
Final vet fixes; enabling vet checks in verify scripts.
Fixes #22523 , #22524
2016-04-13 16:46:46 -07:00
Daniel Smith
e99f05a9bb
Merge pull request #23526 from tyangliu/generate-yaml-docs
...
Generate yaml docs for kubectl
2016-04-13 14:24:20 -07:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
nikhiljindal
8d7a8c6ae6
moving genericapiserver command line flags to genericapiserver
2016-04-13 13:28:18 -07:00
Tim St. Clair
b0d3f32e88
Update test/e2e for test/e2e/framework refactoring
2016-04-13 10:50:17 -07:00
Robert Rati
83de3e9733
Added optional delays to starting controller managers. #22669
2016-04-13 09:52:28 -04:00
k8s-merge-robot
f5e8e7453b
Merge pull request #23806 from smarterclayton/streaming_watch
...
Automatic merge from submit-queue
Implement a streaming serializer for watch
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
@wojtek-t @lavalamp
2016-04-13 05:18:17 -07:00
k8s-merge-robot
acf9492cb1
Merge pull request #23660 from goltermann/vetclean
...
Automatic merge from submit-queue
Additional go vet fixes
Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
James Ravn
5bb0595260
Make deserialization cache size configurable
...
Instead of the default 50K entries, allow users to specify more sensible
sizes for their cluster.
2016-04-12 13:42:27 +01:00
Thomas Liu
ad9f9d2ce0
Create cmd to generate kubectl yaml docs
2016-04-11 17:07:45 -07:00
Clayton Coleman
53b48fb414
Move a kubelet flag default to the right place
...
All defaults belong in the struct, not the flags
2016-04-11 19:30:37 -04:00
Clayton Coleman
3474911736
Implement a streaming serializer for watch
...
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
2016-04-11 11:22:05 -04:00
Wojciech Tyczynski
7448cc04e1
Switch to new generator
2016-04-11 08:04:45 +02:00
Wojciech Tyczynski
cd2de7d4cd
Merge pull request #23741 from wojtek-t/conversions_with_framework_5
...
Small improvements in conversion generator
2016-04-10 22:51:26 -07:00
Wojciech Tyczynski
6d954a1490
Merge pull request #23871 from smarterclayton/proto_timestamp
...
Implement a simpler unversioned.Time serialization
2016-04-10 22:47:49 -07:00
goltermann
696423e044
Vet fixes, mostly pass lock by value errors.
2016-04-06 11:27:40 -07:00
Chao Xu
db518cf4ff
Generated code
2016-04-06 10:17:48 -07:00
Chao Xu
027710baf5
client-gen now generates the "generated by" comment in doc.go
2016-04-05 15:24:31 -07:00
Clayton Coleman
529bd2bf98
Support protobuf.as=Message for aliasing
...
In order to allow a Go type to have a different internal representation,
provide the comment `// +protobuf.as=MESSAGENAME` which substitutes the
current message's members with the named message's members. Used by the
unversioned.Time type to have the same fields as unversioned.Timestamp
and to have an alternate serialization.
2016-04-04 23:00:35 -04:00
Wojciech Tyczynski
49d3c3962c
Small improvements in conversion generator
2016-04-05 02:10:23 +02:00
gmarek
4788eefbe3
Remove explicit docker api version from HollowNodes
2016-04-04 20:39:09 +02:00
Dr. Stefan Schimanski
7e0bb885f1
Make kubectl bash completion namespace aware and add noun aliases
...
- add namespace filtering to bash completion
- add --namespace flag bash completion
- add bash completion noun aliases
- adapt to new cobra package structure
2016-04-03 16:25:56 +02:00
k8s-merge-robot
7d7ca5ab72
Merge pull request #23608 from caesarxuchao/mv-typed-clients
...
Automatic merge from submit-queue
Move typed clients into clientset folder
Move typed clients from `pkg/client/typed/` to `pkg/client/clientset_generated/${clientset_name}/typed`.
The first commit changes the client-gen, the last commit updates the doc, other commits are just moving things around.
@lavalamp @krousey
2016-04-02 19:31:40 -07:00
k8s-merge-robot
c874d2809f
Merge pull request #23436 from AdoHe/kubelet_cluster_dns
...
Automatic merge from submit-queue
update kubelet cluster-dns doc
refer #23320 for more detail. @thockin ptal.
2016-04-01 13:33:48 -07:00
Fabio Yeon
bf07a6f5e1
Merge pull request #23452 from david-mcmahon/mungedocs
...
Add --norecurse bool to allow mungedocs to process kube root.
2016-04-01 12:06:56 -07:00
AdoHe
1b305ee3bd
update kubelet cluster-dns doc
2016-04-01 11:34:34 -04:00
k8s-merge-robot
f8ea3fab53
Merge pull request #23427 from wojtek-t/conversions_with_framework_4
...
Automatic merge from submit-queue
Migrate to the new conversion generator - part1
This PR contains two commits:
- few more fixes to the generator
- migration of the pkg/api/v1 to use the new generator
The second commit is big, but I reviewed the changes and they contain:
- conversions between types that we didn't even generating conversion between
- changes in how we handle maps/pointers/slices - previously we were explicitly referencing fields, now we are using "shadowing in, out" to make the code more generic
- lack of auto-generated method for ReplicationControllerSpec (because these types are different (*int vs int for Replicas) and a preexisting conversion already exists
Most of issues in the first commit (e.g. adding references to "in" and "out" for slices/maps/points) were discovered by our tests. So I'm pretty confident that this change is correct now.
2016-03-31 17:28:36 -07:00
David McMahon
37787ffe90
Add --norecurse bool to allow mungedocs to process kube root.
...
Run hack/after-build/update-generated-docs.sh on kube root with --norecurse and
--skip-munges=unversioned-warning.
2016-03-31 16:53:44 -07:00
Chao Xu
49559a3332
Generate the typed clients under the clientset folder
2016-03-31 15:28:45 -07:00
Clayton Coleman
f2139b186c
Add an experimental protobuf serializer
...
Provide a core protobuf serializer that can either write objects with
an envelope (a 4 byte prefix and a runtime.Object) or raw to a byte
array.
2016-03-31 10:41:11 -04:00
Janet Kuo
c1596e6711
Update guestbook examples; replace RC concepts with Deployment
2016-03-30 14:16:52 -07:00
Jan Chaloupka
106c5f0b08
Introduce unit test for checking resource quantities for kubelet's allocatable resources.
...
Covered values:
- negative quantity value: error expected
- invalid quantity unit: error expected
- valid quantity: error not expected
Running go test with -v, returned error are logged as well for more information:
=== RUN TestValueOfAllocatableResources
--- PASS: TestValueOfAllocatableResources (0.00s)
server_test.go:47: negative quantity value: resource quantity for \"memory\" cannot be negative: -150G
server_test.go:47: invalid quantity unit: unable to parse quantity's suffix
PASS
ok k8s.io/kubernetes/cmd/kubelet/app 0.020s
2016-03-30 19:58:21 +02:00
Rudi Chiarito
5b4f5de668
Add version string to "Kubelet started" log message
2016-03-30 12:57:10 -04:00
k8s-merge-robot
6226cbe6ca
Merge pull request #23308 from yifan-gu/rkt_bump
...
Automatic merge from submit-queue
rkt: bump rkt version to 1.2.1
Upon bumping the rkt version, `--hostname` is supported. Also we now gets the configs from the rkt api service, so `stage1-image` is deprecated.
cc @yujuhong @Random-Liu
2016-03-30 05:42:58 -07:00
k8s-merge-robot
2a690cc5e2
Merge pull request #23059 from luxas/auto_arch_pause
...
Automatic merge from submit-queue
Make kubelet use an arch-specific pause image depending on GOARCH
Related to: #22876 , #22683 and #15140
@ixdy @pwittrock @brendandburns @mikedanese @yujuhong @thockin @zmerlynn
2016-03-29 23:27:42 -07:00
Chao Xu
0d37fbdff9
changes in client-gen
2016-03-29 14:49:12 -07:00
Wojciech Tyczynski
9ee8278e4a
Fix remaining issues with conversion generator.
2016-03-29 09:49:27 +02:00
Yifan Gu
d814d973ff
rkt: Bump rkt required version. Get options from api service.
2016-03-28 17:06:14 -07:00
deads2k
e8fb35d4d8
refactor resource overrides as positive logic interface
2016-03-28 09:24:49 -04:00
k8s-merge-robot
95e09e303f
Merge pull request #22965 from caesarxuchao/delete-UID-precondition
...
Auto commit by PR queue bot
2016-03-26 09:36:28 -07:00
k8s-merge-robot
e44ad7a083
Merge pull request #22735 from resouer/throttle-dev
...
Auto commit by PR queue bot
2016-03-26 06:44:48 -07:00
k8s-merge-robot
f6fac0e4de
Merge pull request #23443 from goltermann/vet2
...
Auto commit by PR queue bot
2016-03-25 23:43:44 -07:00
Chao Xu
3aa26565fc
move fake discovery client to pkg/client/typed/discovery/fake
2016-03-25 16:02:08 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Lucas Käldström
c6172e58cf
Make kubelet use an arch-specific pause image depending on GOARCH
2016-03-25 23:45:59 +02:00
k8s-merge-robot
08e9ef0ef9
Merge pull request #22195 from jeffmendoza/wordpress-update
...
Auto commit by PR queue bot
2016-03-25 14:14:44 -07:00
Jeff Mendoza
fb601cd1e2
WordPress example major update.
...
Rewrite the WordPress example to use deployments, persistent volume
claims, and update the sample flow to the latest guidelines.
2016-03-25 11:40:35 -07:00
Chao Xu
31b425b3a1
add delete precondition
2016-03-25 11:21:39 -07:00
k8s-merge-robot
4e4ad61260
Merge pull request #23366 from goltermann/vet
...
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
harry
8472cfa214
Refactor throttle into util pkg
...
Fix missing throttle.go
2016-03-25 08:32:23 +08:00
k8s-merge-robot
8355cefb7b
Merge pull request #23373 from wojtek-t/conversions_with_framework_3
...
Auto commit by PR queue bot
2016-03-24 01:39:23 -07:00
Wojciech Tyczynski
42e7ecda5a
Fix bunch of issues with conversion generator.
2016-03-24 08:26:51 +01:00
nikhiljindal
1cccfc7074
Disabling swagger ui by default. Adding a flag to enable it
2016-03-23 13:19:22 -07:00
Jan Chaloupka
663fbce3a0
Kubelet: node allocatable resources: negative quantities should not be allowed
...
When setting kube/system-resources for a node, negative quantities can result in
node's allocatable being higher then node's capacity.
Let's check the quantity and return error if it is negative.
2016-03-23 18:02:07 +01:00
k8s-merge-robot
76369c42be
Merge pull request #22939 from resouer/util-sub-dir
...
Auto commit by PR queue bot
2016-03-23 03:34:33 -07:00
k8s-merge-robot
da58256187
Merge pull request #23328 from wojtek-t/conversions_with_framework_2
...
Auto commit by PR queue bot
2016-03-23 01:48:21 -07:00
Wojciech Tyczynski
7394721d5f
Use preexisting conversions in generator
2016-03-23 08:40:54 +01:00
k8s-merge-robot
4af38b52b9
Merge pull request #22736 from resouer/fix-util-dev
...
Auto commit by PR queue bot
2016-03-22 19:54:58 -07:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
Marc Lough
27c6224abe
The --etcd-config option has been removed from kube-apiserver so also remove the mention about it.
2016-03-22 20:14:48 +00:00
k8s-merge-robot
d124deeb2f
Merge pull request #23272 from wojtek-t/conversion_generator_with_framework
...
Auto commit by PR queue bot
2016-03-22 08:42:58 -07:00
k8s-merge-robot
e2f4141bb3
Merge pull request #23249 from fejta/hackcmd
...
Auto commit by PR queue bot
2016-03-22 08:07:43 -07:00
Wojciech Tyczynski
f1248b9c82
Migrate to new conversion generator
2016-03-22 08:43:02 +01:00
Harry Zhang
a4d04095d0
Refactor crlf & crypto
2016-03-21 20:20:05 +08:00
harry
343b1927d1
Refactor config map into sub pkg
2016-03-21 14:50:57 +08:00
Erick Fejta
4f22713add
Use tagged gcr.io images in cmd/integration/integration.go
2016-03-19 17:56:19 -07:00
Wojciech Tyczynski
ce9b2ab3e3
Remove old deep-copy generator.
2016-03-18 09:42:15 +01:00
Wojciech Tyczynski
04eb0d40bb
Migrate everything to new deep-copy generator.
2016-03-17 15:22:18 +01:00
Wojciech Tyczynski
74d005f1cf
Generate DeepCopies per directory.
2016-03-17 09:28:11 +01:00
k8s-merge-robot
76984d969e
Merge pull request #22982 from wojtek-t/protobuf_cleanups
...
Auto commit by PR queue bot
2016-03-16 09:25:33 -07:00
k8s-merge-robot
460ece34d5
Merge pull request #22928 from caesarxuchao/print-client-gen-command
...
Auto commit by PR queue bot
2016-03-16 00:38:39 -07:00
Wojciech Tyczynski
fe2287d0a2
Small cleanups in protobuf generator
2016-03-16 08:16:04 +01:00
k8s-merge-robot
2bb7960b61
Merge pull request #22738 from wojtek-t/build_protobufs_in_docker
...
Auto commit by PR queue bot
2016-03-15 16:56:26 -07:00
k8s-merge-robot
204d426dd3
Merge pull request #22310 from krousey/adapterbreak
...
Auto commit by PR queue bot
2016-03-15 14:28:38 -07:00
Wojciech Tyczynski
919afadbe7
Refactor import tracker
2016-03-15 16:02:18 +01:00
Kris
4d404ded1a
Moving adapters to their own packages
2016-03-14 14:22:34 -07:00
Chao Xu
f5ed9b3cd9
ignore verify-only flag
2016-03-14 10:28:20 -07:00
Chao Xu
ec02dfc9f0
generated changes
2016-03-14 10:28:20 -07:00
Chao Xu
d83175571d
include the client-gen arguments in the generated files
2016-03-14 10:28:20 -07:00
harry
f19d59cf35
Move flag into sub pkg
2016-03-14 21:30:38 +08:00
Jordan Liggitt
d008283942
Tolerate multiple registered versions in a single group
2016-03-12 12:49:41 -05:00
k8s-merge-robot
ec0c0d7219
Merge pull request #22850 from wojtek-t/refactor_assmble_file
...
Auto commit by PR queue bot
2016-03-12 02:13:03 -08:00
Brian Grant
532ba5a3c6
Merge pull request #21535 from AdoHe/restore_secure_etcd
...
restore ability to run against secured etcd
2016-03-11 12:14:06 -08:00
AdoHe
7228b9b987
restore ability to run against secured etcd
2016-03-11 11:21:16 -05:00
Wojciech Tyczynski
0db2012039
Refactor assmebling proto files to avoid code duplication
2016-03-11 15:54:10 +01:00
k8s-merge-robot
d7a87c2285
Merge pull request #22741 from wojtek-t/refactor_protobuf_generator
...
Auto commit by PR queue bot
2016-03-10 03:28:19 -08:00
Wojciech Tyczynski
62dc80c9a2
Fix package
2016-03-10 08:21:01 +01:00
Wojciech Tyczynski
454468f5c2
Remove dead code
2016-03-09 12:19:02 +01:00
Wojciech Tyczynski
dcf292174e
Refactor Rewrite functions
2016-03-09 12:19:02 +01:00
Wojciech Tyczynski
52798beef2
Generate protobuf-related files in Docker
2016-03-09 10:45:24 +01:00
David McMahon
dae84f5306
Update the latestReleaseBranch to release-1.2 in the munger.
2016-03-08 18:59:28 -08:00
k8s-merge-robot
dba955e112
Merge pull request #22521 from wojtek-t/support_go_16_in_gofmt
...
Auto commit by PR queue bot
2016-03-08 13:14:45 -08:00
k8s-merge-robot
55530bc8f7
Merge pull request #22664 from bprashanth/cleanup-hairpin
...
Auto commit by PR queue bot
2016-03-08 05:36:18 -08:00
Wojciech Tyczynski
525d14e0bc
Fix gofmt errors
2016-03-08 09:46:47 +01:00
Prashanth Balasubramanian
544d0a5c05
Cleanup hairpin flag in the kubelet.
2016-03-07 11:55:09 -08:00
Wojciech Tyczynski
e2ebc50648
Don't sync all objects for replenishment as often as ResourceQuota.
2016-03-07 08:31:09 +01:00
k8s-merge-robot
95ab1936ea
Merge pull request #22559 from krousey/discbreak
...
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
k8s-merge-robot
168711b3cd
Merge pull request #22281 from wojtek-t/increase_qps_limits
...
Auto commit by PR queue bot
2016-03-05 21:27:57 -08:00
k8s-merge-robot
b0bd196dc5
Merge pull request #21752 from BugRoger/kube_proxy_health_check
...
Auto commit by PR queue bot
2016-03-05 07:23:08 -08:00
k8s-merge-robot
2808973503
Merge pull request #22038 from mqliang/daemonset-cache
...
Auto commit by PR queue bot
2016-03-05 03:38:55 -08:00
Kris
dbde4fd798
Move the discovery client to its own package
2016-03-04 13:44:52 -08:00
Abhi Shah
b25a48d605
Revert "Move discovery client to its own package"
2016-03-04 09:24:54 -08:00
k8s-merge-robot
57670edc15
Merge pull request #22345 from fgrzadkowski/hpa_events
...
Auto commit by PR queue bot
2016-03-04 09:18:21 -08:00
Abhi Shah
627edd2588
Merge pull request #22016 from krousey/discbreak
...
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
k8s-merge-robot
0e3469dce3
Merge pull request #22183 from pmorie/config-quota
...
Auto commit by PR queue bot
2016-03-04 03:12:51 -08:00
k8s-merge-robot
258eac505f
Merge pull request #21400 from derekwaynecarr/namespace_deletion_discovery
...
Auto commit by PR queue bot
2016-03-03 21:33:01 -08:00
Filip Grzadkowski
b5c9af9762
Use controller framework in HPA controller.
...
Ref #22174
2016-03-03 11:55:44 +01:00
Wojciech Tyczynski
2f6d034cea
Workaround long latency of POST pods
2016-03-03 10:45:43 +01:00
derekwaynecarr
41057b02d5
Move namespace controller to use discovery and dynamic client
2016-03-02 23:34:18 -05:00
k8s-merge-robot
d81d823ca5
Merge pull request #22393 from eparis/blunderbuss
...
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294
Move blunderbuss assignees into tree
2016-03-02 20:46:32 -05:00
gmarek
89f0699035
Increase MaxPods in Kubemark
2016-03-02 16:21:16 +01:00
Paul Morie
834776aa1f
Add resource quota for ConfigMap
2016-03-02 09:59:51 -05:00
Dawn Chen
a90ac42dd8
Kill docker daemon after configing cbr0 if flag --babysit-daemon is true so that babysitter process can restart it again with proper configurations and checkpoint file.
2016-03-01 16:46:31 -08:00
Saad Ali
f9b1a33b12
Merge pull request #21953 from timstclair/testing
...
Move kubelet test-only files to test-only packages
2016-03-01 15:48:10 -08:00
k8s-merge-robot
bef2b8f1ed
Merge pull request #21927 from caesarxuchao/fix-404-links
...
Auto commit by PR queue bot
2016-03-01 15:41:32 -08:00
k8s-merge-robot
d5a4915cf3
Merge pull request #22036 from timstclair/docs
...
Auto commit by PR queue bot
2016-03-01 11:46:33 -08:00
Tim St. Clair
7b6d843309
Move test-only files to test-only packages
2016-03-01 09:11:32 -08:00
Wojciech Tyczynski
c47aa368bd
Increase QPS limits in integration and e2e tests
2016-03-01 16:49:38 +01:00
mqliang
7e1ab26c06
add lookup cache for daemonset
2016-03-01 22:04:56 +08:00
Kris
f22664159e
Move the discovery client to its own package
2016-02-29 15:37:21 -08:00
Chao Xu
7a85d54d4e
fix links
2016-02-29 13:27:29 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
Wojciech Tyczynski
cf7e6d0fc3
Merge pull request #21965 from mqliang/flag-abbreviation
...
avoid use abbreviation in flag
2016-02-29 14:43:26 +01:00
k8s-merge-robot
6f8a951f87
Merge pull request #20446 from derekwaynecarr/quota_scopes
...
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
k8s-merge-robot
5703945a29
Merge pull request #21361 from yujuhong/maxpods
...
Auto commit by PR queue bot
2016-02-27 09:18:48 -08:00
k8s-merge-robot
43792754d8
Merge pull request #21469 from wojtek-t/parallel_namespace_deletion
...
Auto commit by PR queue bot
2016-02-27 07:26:49 -08:00
k8s-merge-robot
f0c0af2561
Merge pull request #20528 from mikedanese/varz
...
Auto commit by PR queue bot
2016-02-27 00:27:18 -08:00
k8s-merge-robot
00d99ac261
Merge pull request #20347 from ericchiang/authz_grpc
...
Auto commit by PR queue bot
2016-02-26 22:00:42 -08:00
derekwaynecarr
af85fb57c3
Make ResourceQuota admission and controller work generically
2016-02-26 20:34:15 -05:00
Tim St. Clair
198c120036
Detect & fix backwards markdown links (of the form (foo)[bar])
2016-02-26 13:24:21 -08:00
k8s-merge-robot
f15d8528b6
Merge pull request #21603 from madhusudancs/scale-internal-autoscale
...
Auto commit by PR queue bot
2016-02-26 03:48:11 -08:00
Madhusudan.C.S
b69ec9faff
Teach serde test to deal with autoscaling group's duality.
2016-02-25 15:05:28 -08:00
Wojciech Tyczynski
506899008f
Parallelization of namespace deletion
2016-02-25 16:33:25 +01:00
mqliang
4a9a3aeeea
avoid use abbreviation in flag
2016-02-25 17:30:21 +08:00
k8s-merge-robot
9a4e3f8470
Merge pull request #21870 from mqliang/lookup-cache
...
Auto commit by PR queue bot
2016-02-24 20:01:29 -08:00
k8s-merge-robot
dcbeacded0
Merge pull request #21521 from mesosphere/jdef_kubelet_options1
...
Auto commit by PR queue bot
2016-02-24 18:35:10 -08:00
Mike Danese
5ec02bd021
add http handler to export configuration state
2016-02-24 14:12:28 -08:00
mqliang
e44e71ca87
make cache size configurable
2016-02-24 22:37:02 +08:00
Yu-Ju Hong
a07d1411a8
Change default --max-pods in kubelet to 110
...
Also increase maximum dead containers to 240
2016-02-23 15:37:36 -08:00
Michael Schmidt
0790a6a825
enable health check for kube-proxy when wrapped in hyperkube
2016-02-23 15:47:23 +01:00
Jeff Lowdermilk
c406665b2b
Plumb node labels through salt
...
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Dawn Chen
699c80b752
Merge pull request #21641 from bprashanth/promisc
...
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
Eric Chiang
3116346161
*: add webhook implementation of authorizer.Authorizer plugin
2016-02-22 11:39:07 -08:00
k8s-merge-robot
aee2eb3977
Merge pull request #21434 from erictune/job-ga
...
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
k8s-merge-robot
6d0e57b711
Merge pull request #20953 from yujuhong/log_error
...
Auto commit by PR queue bot
2016-02-21 02:45:23 -08:00
Prashanth Balasubramanian
2e8ff81de1
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-20 22:40:54 -08:00
Daniel Smith
a8b943dddd
Revert "Put the container bridge in promiscuous mode."
2016-02-19 23:14:53 -08:00
James DeFelice
6c09689c60
add functional Option type to Kubelet, add SetNodeStatus Option, migrate node statue update funcs to slice of callbacks
2016-02-20 02:09:54 +00:00
Prashanth Balasubramanian
a694a7ae4b
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-19 14:59:16 -08:00
k8s-merge-robot
1820da67a2
Merge pull request #21436 from caesarxuchao/clientget-doc
...
Auto commit by PR queue bot
2016-02-19 11:38:29 -08:00
Chao Xu
f255a723ac
add client-gen readme
2016-02-19 10:43:17 -08:00
Eric Tune
ab8cfb968f
Enabled batch API group in apiserver
2016-02-19 09:20:56 -08:00
Eric Tune
98a801a37b
Created batch API group and copied Job there
...
Modeled after on first commit (2fbc5bb
) of piosz:hpa-ga (#20501 ).
2016-02-19 09:20:56 -08:00
k8s-merge-robot
eb45154996
Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
...
Auto commit by PR queue bot
2016-02-18 23:02:05 -08:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
k8s-merge-robot
17325ef6ef
Merge pull request #20501 from piosz/hpa-ga
...
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
k8s-merge-robot
1a2f811a3b
Merge pull request #20063 from mqliang/imageGC-config
...
Auto commit by PR queue bot
2016-02-17 06:16:45 -08:00
Chao Xu
97aecd002a
remove underscore in imported pkg names
2016-02-16 10:54:51 -08:00
Chao Xu
b165ba2e00
generator's changes to remove underscore from imported package names
2016-02-16 10:19:32 -08:00
Chao Xu
e482501e8c
rename file names
2016-02-16 10:08:51 -08:00
Piotr Szczesniak
2b614179c7
Fixed options test
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
264c64ec0d
Enabled autoscaling API group in apiserver
2016-02-15 21:39:00 +01:00
Daniel Smith
74400c33ae
changes for cross-group moves
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
2fbc5bb767
Created autoscaling API group and copied HPA there
2016-02-15 21:39:00 +01:00
mqliang
641ba92aa3
move minGCAge to ImageGCPolicy and make it configurable
2016-02-15 22:54:54 +08:00
Paul Morie
d1dc259ef2
ConfigMap volume source
2016-02-14 16:19:17 -05:00
k8s-merge-robot
43fb544a4a
Merge pull request #21001 from ericchiang/oidc_groups
...
Auto commit by PR queue bot
2016-02-14 05:24:43 -08:00
k8s-merge-robot
315a509340
Merge pull request #20900 from jsafrane/devel/volume-names
...
Auto commit by PR queue bot
2016-02-13 17:58:29 -08:00
Jordan Liggitt
dd5d98d80a
regen codecs
2016-02-13 09:15:39 -05:00
Yu-Ju Hong
0eb04cb433
Log kubelet startup error messages
2016-02-12 16:43:54 -08:00
Mike Danese
695211e2ee
Merge pull request #21105 from caesarxuchao/watchCacheForIntegration
...
turn on and off watch cache in integration test
2016-02-12 14:02:47 -08:00
Eric Chiang
92d37d5cc5
plugin/pkg/auth/authenticator/token/oidc: get groups from custom claim
2016-02-12 09:58:18 -08:00
derekwaynecarr
e5e691ed5f
Default lockfile to empty string while alpha
2016-02-12 10:50:17 -05:00
Jan Safranek
1d0b1c227b
Add PV.Name into names of generated GCE/AWS/OSP volumes.
...
Volume names have now format <cluster-name>-dynamic-<pv-name>.
pv-name is guaranteed to be unique in Kubernetes cluster, adding
<cluster-name> ensures we don't conflict with any running cluster
in the cloud project (kube-controller-manager --cluster-name=XXX).
'kubernetes' is the default cluster name.
2016-02-12 09:46:59 +01:00
Chao Xu
18c1eb2d56
turn on and off watch cache in integration test
2016-02-11 13:51:03 -08:00
Mike Danese
31b8905da7
move controller manager to compoenent config
2016-02-11 13:13:03 -08:00
k8s-merge-robot
f6ae6b47ae
Merge pull request #20687 from vishh/systemd-support
...
Auto commit by PR queue bot
2016-02-11 13:06:29 -08:00
derekwaynecarr
56f5b992bb
Fix incorrect versions passed into namespace controller
2016-02-10 22:44:52 -05:00
Vishnu kannan
575812787d
Replace --resource-container
and --system-container
with
...
`--kubelet-cgroups` and `--system-cgroups` respectively.
Updated `--runtime-container` to `--runtime-cgroups`.
Cleaned up most of the kubelet code that consumes these flags to match
the flag name changes.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 17:33:28 -08:00
Chao Xu
1c84552757
generate the versioned clientset
2016-02-10 17:22:46 -08:00
Vishnu kannan
51e4ccf106
Updating the default values for the cgroups hierarchies that kubelet
...
creates for managing the nodes.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:36 -08:00
Vishnu kannan
38efc837b9
Make container runtime's cgroup configurable.
...
Use the real cgroups for metrics generation.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:34 -08:00
Mike Danese
b3172a4ccf
kubelet: add a pidfile
2016-02-10 11:38:50 -08:00
k8s-merge-robot
71b6b81102
Merge pull request #20076 from derekwaynecarr/namespace_controller_workers
...
Auto commit by PR queue bot
2016-02-10 00:55:57 -08:00
Prashanth B
f0620a5efd
Merge pull request #20883 from bprashanth/kubelet_flag
...
Kubelet flag for disabling hairpin mode
2016-02-09 17:31:30 -08:00
k8s-merge-robot
2ec49efd54
Merge pull request #19945 from Clarifai/fix-formatting
...
Auto commit by PR queue bot
2016-02-09 16:05:00 -08:00
derekwaynecarr
106693d9b3
Refactor namespace controller to use workers, do more delete collection calls
2016-02-09 16:39:13 -05:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
Huamin Chen
d7e4b826b9
support Azure File Service volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
Jordan Liggitt
545f6be573
Regenerate types.go
2016-02-08 17:19:15 -05:00
k8s-merge-robot
b32078d89b
Merge pull request #20496 from matthewdupre/masquerade-config
...
Auto commit by PR queue bot
2016-02-08 10:49:20 -08:00
James DeFelice
1aec798aa0
support optional envvars for pod-infra-container
2016-02-08 13:48:25 +00:00
Matt Dupre
9925cddc11
Change iptables fwmark to use single configurable bit instead of whole mark space
2016-02-08 11:12:09 +00:00
gmarek
6b2507485f
Add FakeNeverRateLimitter
2016-02-08 11:06:25 +01:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
k8s-merge-robot
c26087db45
Merge pull request #19611 from thockin/proxy-sysctl-decouple
...
Auto commit by PR queue bot
2016-02-06 23:01:48 -08:00
Tim Hockin
41ba8ced6d
Dont log errors on proxy leftover cleanup
2016-02-07 02:41:50 +00:00
Jordan Liggitt
544af0a910
Set kube-proxy arg default values
2016-02-06 11:01:13 -05:00
Madhusudan.C.S
4f9b8b2bfc
Link all the ReplicaSet controller boilerplate together.
...
1. Enable replica set in controller manager.
2. Enable replica set etcd storage in master package.
3. Add replica set support to kubectl commands.
2016-02-05 21:05:10 -08:00
k8s-merge-robot
fcf9c4a1e4
Merge pull request #19741 from pwittrock/syncfsmetrics
...
Auto commit by PR queue bot
2016-02-05 17:54:22 -08:00
Mike Danese
b1743a6887
this is a manual reversion of #20702
...
I can't revert with github which says "Sorry, this pull request couldn’t be
reverted automatically. It may have already been reverted, or the content may
have changed since it was merged."
Reverts commit: 0c191e787b
2016-02-05 16:34:02 -08:00
Phillip Wittrock
3de94cd23c
Supply volume fs metrics to server/stats/handler.go
...
* Metrics will not be expose until they are hooked up to a handler
* Metrics are not cached and expose a dos vector, this must be fixed before release or the stats should not be exposed through an api endpoint
2016-02-05 16:00:24 -08:00
Daniel Smith
5fe99f44c8
Merge pull request #20542 from mikedanese/kube-proxy-defaulting
...
componentconfig: move kube proxy defaulting into the exetrnal api
2016-02-05 15:51:12 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
k8s-merge-robot
14d74a1c01
Merge pull request #19365 from jsafrane/devel/retry-delete
...
Auto commit by PR queue bot
2016-02-05 09:55:21 -08:00
k8s-merge-robot
266d7aa5b3
Merge pull request #19783 from magicwang-cn/master
...
Auto commit by PR queue bot
2016-02-05 08:53:30 -08:00
Jan Safranek
76b6449715
Retry recycle or delete operation on failure.
...
Recycle controller tries to recycle or delete a PV several times.
It stores count of failed attempts and timestamp of the last attempt in
annotations of the PV.
By default, the controller tries to recycle/delete a PV 3 times in
10 minutes interval. These values are configurable by
kube-controller-manager --pv-recycler-maximum-retry=X --pvclaimbinder-sync-period=Y
arguments.
2016-02-05 17:02:13 +01:00
k8s-merge-robot
ae15a4437b
Merge pull request #19944 from mwielgus/simple-cm
...
Auto commit by PR queue bot
2016-02-05 06:41:28 -08:00
gmarek
0c191e787b
Split controller flags between controllers
2016-02-05 12:17:51 +01:00
Marcin Wielgus
bf0c881263
Set Docker custom metric label for cAdvisor if custom metric volume is mounted
2016-02-05 12:00:02 +01:00
magicwang-cn
d2cf858560
make watch cache sizes configuratable of kube-apiserver
2016-02-05 15:47:27 +08:00
Daniel Smith
15df7c7251
Merge pull request #20592 from erictune/fix-munge-2
...
Print line number of failed link conversion.
2016-02-04 23:26:05 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Nikhil Jindal
59820827d4
Merge pull request #20513 from nikhiljindal/apiserverExampleTest
...
Adding test for apiserver example
2016-02-04 11:28:58 -08:00
dingh
25e4cd37f1
update pod count in comment
2016-02-04 15:52:49 +08:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
k8s-merge-robot
bb7ad7cd09
Merge pull request #18795 from dcbw/cbr0-network-plugin
...
Auto commit by PR queue bot
2016-02-03 19:46:25 -08:00
nikhiljindal
c7beb9078c
Updating methods to return error rather than using glog.Fatalf
2016-02-03 16:00:45 -08:00
Eric Tune
cf4ad07adc
Print line number of failed link conversion.
2016-02-03 13:52:57 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
derekwaynecarr
070dce1bec
Fix DeleteCollection in FakeClient
2016-02-03 14:39:24 -05:00
Mike Danese
ee4e60d78c
componentconfig: move kube proxy defaulting into the exetrnal api
2016-02-03 11:04:24 -08:00
Rudi Chiarito
a0831a2378
Mass fix of Infof and co. missing the trailing "f", even when formatting placeholders are used
2016-02-03 11:34:59 -05:00
Dan Williams
fabb65c13f
Add a network plugin that duplicates "configureCBR0" functionality
2016-02-03 10:08:08 -06:00
Wojciech Tyczynski
205e6899be
Generate public deep-copy functions
2016-02-03 13:33:24 +01:00
k8s-merge-robot
a7ef693f84
Merge pull request #20464 from thockin/proxymode-iptables
...
Auto commit by PR queue bot
2016-02-03 00:17:38 -08:00
k8s-merge-robot
843c11e06a
Merge pull request #20452 from caesarxuchao/replace-client-kubelet
...
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Tim Hockin
11f75e61b9
Inject a kernel-compat tester for kube-proxy test
2016-02-02 22:11:39 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Chao Xu
fe7887f1ec
replace the client with clientset in controllers
2016-02-02 20:28:45 -08:00
k8s-merge-robot
8d8de2efb4
Merge pull request #19314 from cjcullen/tunnels
...
Auto commit by PR queue bot
2016-02-02 19:46:06 -08:00
Chao Xu
66f5cd259d
automatically generate the clientset
2016-02-02 16:06:43 -08:00
Tim Hockin
7ed83ad4f9
Make kube-proxy default to iptables (regression)
...
This was accidentally introduced as part of the component config changes.
2016-02-02 12:45:11 -08:00
CJ Cullen
04eb90a5d4
Make tunneler hold tunnels open and healthcheck vs. reopening every 5 minutes.
...
Also add a test for the Update() logic.
Reordered tunnels vs. storage initialization (prevent a nil ptr panic)
2016-02-02 12:00:29 -08:00
k8s-merge-robot
74c62aecc5
Merge pull request #20186 from lavalamp/import-boss
...
Auto commit by PR queue bot
2016-02-02 06:21:50 -08:00
k8s-merge-robot
c5260c8c71
Merge pull request #20145 from mqliang/quorum-read
...
Auto commit by PR queue bot
2016-02-02 05:50:41 -08:00
k8s-merge-robot
32ab64ce5b
Merge pull request #19778 from resouer/runtime
...
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
k8s-merge-robot
4eaffd2477
Merge pull request #19900 from vishh/kubelet-cpu-cfs
...
Auto commit by PR queue bot
2016-02-01 15:18:30 -08:00
k8s-merge-robot
2746b5e43d
Merge pull request #20320 from caesarxuchao/add-discovery
...
Auto commit by PR queue bot
2016-02-01 14:35:27 -08:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
k8s-merge-robot
03ed851c11
Merge pull request #20252 from smarterclayton/parameter_codec
...
Auto commit by PR queue bot
2016-01-30 13:07:52 -08:00
k8s-merge-robot
6f66dbb9ab
Merge pull request #20127 from smarterclayton/remove_conversion_scheme
...
Auto commit by PR queue bot
2016-01-30 12:39:44 -08:00
Clayton Coleman
8692d260f8
Use Parameter codec in request.VersionedParams()
2016-01-30 14:14:20 -05:00
Clayton Coleman
60b66665e1
Move conversion.Scheme to runtime
...
There is only one type registry to rule them all
2016-01-30 14:12:40 -05:00
Alex Robinson
5c53b3a13b
Merge pull request #20335 from aveshagarwal/master-integration-tests-issue
...
Fix docker version errors in integration tests.
2016-01-30 10:40:06 -08:00
mqliang
b0e06c14e5
add a knob to enable quorum read
2016-01-30 20:32:12 +08:00
k8s-merge-robot
0069c901d9
Merge pull request #20341 from caesarxuchao/ingress-plural
...
Auto commit by PR queue bot
2016-01-29 15:11:16 -08:00
Chao Xu
8531ef4979
change ingress and componentstatus plural form
2016-01-29 11:21:04 -08:00
Chao Xu
dd357ed86a
include DiscoveryClient in the generated clientset
2016-01-29 11:03:03 -08:00
Avesh Agarwal
de804332f4
Fix docker version errors in integration tests.
2016-01-29 13:48:07 -05:00
Mike Danese
309eac5f7f
update proxy server
2016-01-28 15:46:40 -08:00
Fabio Yeon
326a29d706
Merge pull request #20220 from krousey/integrationlogging
...
Add more logging to diagnose flake
2016-01-28 11:38:33 -08:00
Daniel Smith
46d12b185e
Add 'import-boss': enforce go import restrictions.
2016-01-27 16:18:46 -08:00
k8s-merge-robot
458eb5284a
Merge pull request #19105 from smarterclayton/prepare_negotiate
...
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Brendan Burns
266778170b
Merge pull request #20115 from hongchaodeng/hollow-kubelet
...
fix Version not found in docker.ENV in fakeDockerClient
2016-01-27 11:50:11 -08:00
Kris
d2f829edcc
Add more logging to diagnose flake
2016-01-27 10:22:35 -08:00
k8s-merge-robot
3f5e417999
Merge pull request #19502 from swagiaal/internalize-ownership
...
Auto commit by PR queue bot
2016-01-26 23:06:39 -08:00
k8s-merge-robot
91527c29cf
Merge pull request #17382 from caesarxuchao/rewrite-linkchecker
...
Auto commit by PR queue bot
2016-01-26 17:51:44 -08:00
Chao Xu
3ec4cd423e
linkchecker tool now visits the URL to determine if it's valid
2016-01-26 17:01:37 -08:00
k8s-merge-robot
67939eb933
Merge pull request #19958 from caesarxuchao/fix-resource-case
...
Auto commit by PR queue bot
2016-01-26 16:46:41 -08:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
k8s-merge-robot
3254df3a7c
Merge pull request #19426 from smarterclayton/rewrite_tags
...
Auto commit by PR queue bot
2016-01-26 13:11:58 -08:00
Clayton Coleman
14a3aaf479
protobuf: During generation, copy protobuf tags back
...
The protobuf tags contain the assigned tag id, which then ensures
subsequent generation is consistently tagging (tags don't change across
generations unless someone deletes the protobuf tag).
In addition, generate final proto IDL that is free of gogoproto
extensions for ease of generation into other languages.
Add a flag --keep-gogoproto which preserves the gogoproto extensions in
the final IDL.
2016-01-26 11:41:21 -05:00
k8s-merge-robot
8c821700f3
Merge pull request #19389 from justinsb/internal_cidr
...
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
k8s-merge-robot
88a72c2c9d
Merge pull request #19938 from mikedanese/ipvalidate
...
Auto commit by PR queue bot
2016-01-25 21:09:51 -08:00
Hongchao Deng
49887a197f
fix Version not found in docker.ENV in fakeDockerClient
2016-01-25 14:54:04 -08:00
k8s-merge-robot
d3b869ae14
Merge pull request #17922 from smarterclayton/split_codec
...
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
David Oppenheimer
2866ae7bca
Merge pull request #20037 from davidopp/flake1
...
Add time logging to runReplicationControllerTest to help debug timeouts in the future
2016-01-22 22:10:24 -08:00
David Oppenheimer
a8e742f462
Add time logging to runReplicationControllerTest to help debug
...
timeouts in the future.
2016-01-22 15:32:20 -08:00
Eric Tune
3a15a374ba
Merge pull request #19447 from Clarifai/ecr
...
Add ECR credential provider
2016-01-22 13:52:08 -08:00
Rudi Chiarito
bc0dd97a70
ECR credential provider
2016-01-22 15:03:25 -05:00
nikhiljindal
0ab152ddf2
Adding an example apiserver
2016-01-22 11:52:16 -08:00
Clayton Coleman
4a6935b31f
Remaining codec change refactors
2016-01-22 13:27:27 -05:00
Clayton Coleman
efe88e0818
Update client library to react to changes in Decoding
2016-01-22 13:27:24 -05:00
Clayton Coleman
4d127dc969
Initialize API servers with negotiated serializers
...
Pass down into the server initialization the necessary interface for
handling client/server content type negotiation. Add integration tests
for the negotiation.
2016-01-22 01:10:22 -05:00
Clayton Coleman
c49cd4edf9
Alter the build to generate for __internal correctly
2016-01-22 01:10:22 -05:00
Clayton Coleman
c1d932e44a
Switch API objects to not register per version codecs
...
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
Clayton Coleman
125ef6fbc8
Support content-type negotiation in the API server
...
A NegotiatedSerializer is passed into the API installer (and
ParameterCodec, which abstracts conversion of query params) that can be
used to negotiate client/server request/response serialization. All
error paths are now negotiation aware, and are at least minimally
version aware.
Watch is specially coded to only allow application/json - a follow up
change will convert it to use negotiation.
Ensure the swagger scheme will include supported serializations - this
now includes application/yaml as a negotiated option.
2016-01-22 00:12:50 -05:00
Clayton Coleman
63a7a41ddf
Simplify Codec and split responsibilities
...
Break Codec into two general purpose interfaces, Encoder and Decoder,
and move parameter codec responsibilities to ParameterCodec.
Make unversioned types explicit when registering - these types go
through conversion without modification.
Switch to use "__internal" instead of "" to represent the internal
version. Future commits will also add group defaulting (so that "" is
expanded internally into a known group version, and only cleared during
set).
For embedded types like runtime.Object -> runtime.RawExtension, put the
responsibility on the caller of Decode/Encode to handle transformation
into destination serialization. Future commits will expand RawExtension
and Unknown to accept a content encoding as well as bytes.
Make Unknown a bit more powerful and use it to carry unrecognized types.
2016-01-21 23:18:32 -05:00
Chao Xu
0734248e42
Use lowercase names in individual typed clients
2016-01-21 15:01:47 -08:00
Chao Xu
030043b5be
Ingress's plural
2016-01-21 15:01:47 -08:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Mike Danese
1fc630caa0
add ip validation to componentconfig command line
2016-01-21 13:33:30 -08:00
Justin Santa Barbara
58191c446c
Allow non-masquerade-cidr to be passed to the kubelet
...
Removing the hard-coding of 10.0.0.0/8
Issue #11204
2016-01-21 15:18:31 -05:00
Alex Mohr
1b6cc1e263
Merge pull request #19823 from erictune/test-spew
...
Stop test spew on non-Linux.
2016-01-21 10:45:25 -08:00
Vishnu kannan
214b85e708
Enable CPU CFS quota by default.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-21 10:33:28 -08:00
Alex Mohr
d2d349bc84
Merge pull request #19334 from resouer/network
...
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
k8s-merge-robot
03ecde1277
Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
...
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Chao Xu
ee6f03f55a
Fix UpdateStatus
2016-01-20 21:15:07 -08:00
k8s-merge-robot
ecf6038720
Merge pull request #19734 from caesarxuchao/generate-fake-client
...
Auto commit by PR queue bot
2016-01-19 20:42:59 -08:00
Chao Xu
fb81b2278e
client-gen now generates the fake client.
2016-01-19 17:27:17 -08:00
k8s-merge-robot
864065be97
Merge pull request #19621 from mikedanese/retrofit-controller-manager
...
Auto commit by PR queue bot
2016-01-19 17:22:42 -08:00
k8s-merge-robot
064356775d
Merge pull request #19280 from erictune/fix-munge-1
...
Auto commit by PR queue bot
2016-01-19 17:20:01 -08:00
James DeFelice
75f487f7bf
AbsPath should be compatible with proxy-prefixes:
...
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Eric Tune
0bb716d6b2
Stop test spew on non-Linux.
...
Make kube-proxy test not run on non-linux to avoid
error spew.
2016-01-19 06:54:38 -08:00
Mike Danese
a885d84cc9
leaderelection: retrofit controller-manager with leaderelection client
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-18 14:05:55 -08:00
k8s-merge-robot
f2d273d481
Merge pull request #19128 from resouer/qps-limit
...
Auto commit by PR queue bot
2016-01-16 10:03:00 -08:00
k8s-merge-robot
f26713f997
Merge pull request #19137 from gmarek/fix-test
...
Auto commit by PR queue bot
2016-01-15 20:38:24 -08:00
k8s-merge-robot
fab5fbde7c
Merge pull request #19507 from mikedanese/kubelet-config
...
Auto commit by PR queue bot
2016-01-15 18:14:53 -08:00
Chao Xu
9d23d75071
Merge pull request #19499 from caesarxuchao/scale-client-gen
...
client-gen: typed client with only the expansion interface
2016-01-15 15:49:25 -08:00
Mike Danese
1162cfd3b1
kubelet: move most of kubelet server configuration to a config object.
...
This is part of migrating kubelet configuration to the componentconfig api
group and is preliminary to retrofitting client configuration and
implementing full fledged API group mechinary.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-15 15:31:59 -08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Mike Danese
9745d1cbf0
Merge pull request #19626 from mikedanese/kubelet-labels
...
kubelet: use ConfigurationMap instead of json
2016-01-14 14:08:53 -08:00
Chao Xu
00b18446ac
allow client-gen genereate typed client with only expansion methods
2016-01-14 12:13:01 -08:00
Chao Xu
ec9771ccb6
add nonNamespaced comment tag; change the interface name
2016-01-14 10:46:08 -08:00
Mike Danese
35a3785cf6
kubelet: use ConfigurationMap instead of json
2016-01-14 09:32:42 -08:00
k8s-merge-robot
ec78f3d5a9
Merge pull request #19349 from caesarxuchao/generate-updatestatus
...
Auto commit by PR queue bot
2016-01-13 16:51:33 -08:00
Chao Xu
5addb86f6a
conditionally generate UpdateStatus method
2016-01-13 15:45:21 -08:00
k8s-merge-robot
e7f29514ab
Merge pull request #19307 from caesarxuchao/remove-namespaceifscoped
...
Auto commit by PR queue bot
2016-01-13 11:01:54 -08:00
Sami Wagiaalla
125295ba40
Remove manageVolumeOwnership from kubelet
2016-01-13 10:37:10 -05:00
harry
080cb60dab
Fix duplicated rate limit in scheduler
...
Remove BindingRateLimiterSaturation metrics
Update generated doc
2016-01-13 20:51:55 +08:00
k8s-merge-robot
9e66a8f134
Merge pull request #18855 from deads2k/gv-stop-reverse
...
Auto commit by PR queue bot
2016-01-13 01:37:31 -08:00
Tim St. Clair
e2ffd007f7
Implement node Allocatable
...
Add `kube-reserved` and `system-reserved` flags for configuration
reserved resources for usage outside of kubernetes pods. Allocatable is
provided by the Kubelet according to the formula:
```
Allocatable = Capacity - KubeReserved - SystemReserved
```
Also provides a method for estimating a reasonable default for
`KubeReserved`, but the current implementation probably is low and needs
more tuning.
2016-01-12 17:00:43 -08:00
Mike Danese
bf763bba95
Merge pull request #19498 from pwittrock/nodelabels
...
Node labels: Remove node-labels-file command line option. Change --n…
2016-01-12 15:12:57 -08:00
k8s-merge-robot
6d367480f9
Merge pull request #19267 from caesarxuchao/options-client-gen
...
Auto commit by PR queue bot
2016-01-12 14:23:21 -08:00
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
k8s-merge-robot
87343f32ff
Merge pull request #17083 from zhengguoyong/add_log
...
Auto commit by PR queue bot
2015-11-12 01:17:43 -08:00
Vishnu kannan
4ad3d6f5fe
Move container manager into a separate package.
...
Inject container manager into Kubelet. This lets us stub out container
manager during integration testing.
2015-11-11 15:00:37 -08:00
k8s-merge-robot
4b8f232ec4
Merge pull request #17009 from wojtek-t/raw_namer_with_package
...
Auto commit by PR queue bot
2015-11-11 03:26:14 -08:00
zhengguoyong
7ef35b15fa
When check pod exist on node, if pod is not running, it will return false, add log it.
2015-11-11 10:42:57 +08:00
Avesh Agarwal
f111033641
Fix defaults for MaxPods and MaxOpenFiles.
...
Fix go formatting and docs.
2015-11-10 12:20:54 -05:00
Avesh Agarwal
a71a9a9164
Fix default value for StreamingConnectionIdleTimeout.
2015-11-10 11:29:28 -05:00
Wojciech Tyczynski
f991586db2
Support current package in RawNamer.
2015-11-09 13:31:18 +01:00
k8s-merge-robot
d71a667aab
Merge pull request #16821 from caesarxuchao/restclient-timeout
...
Auto commit by PR queue bot
2015-11-07 03:11:26 -08:00
k8s-merge-robot
c3a072768b
Merge pull request #16728 from markturansky/lengthen_pv_sync
...
Auto commit by PR queue bot
2015-11-05 00:35:12 -08:00
Chao Xu
ac0b7b5d3b
remove RESTClient.Timeout
2015-11-04 16:48:24 -08:00
k8s-merge-robot
456220ff1a
Merge pull request #16637 from lavalamp/go2idl.2
...
Auto commit by PR queue bot
2015-11-04 03:33:27 -08:00
markturansky
468bc39a63
Lengthened pvsync period
2015-11-04 00:42:44 -05:00
Daniel Smith
241551e36e
set-gen example
2015-11-03 15:14:51 -08:00
Daniel Smith
048e42a36c
new generator helper package, implements main()
2015-11-03 15:14:51 -08:00
derekwaynecarr
b403e30d1a
Kubelet serialize image pulls had incorrect default
2015-11-03 15:24:01 -05:00
k8s-merge-robot
76083f73dc
Merge pull request #16671 from DirectXMan12/refactor/hpa-heapster-service
...
Auto commit by PR queue bot
2015-11-03 03:58:26 -08:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
Solly Ross
f262560cac
Customize HPA Heapster service namespace/name
...
This commit makes the HPA metrics client configurable in where
it looks for heapster instead of hard coding it to
"kube-system/heapster". The values of "kube-system/heapster"
are still recorded as constants in the metrics client package
for use as default values.
2015-11-02 11:14:08 -05:00
Mike Danese
9bdb860eeb
add apigroup installer and tests
2015-10-31 11:42:38 -07:00
Mike Danese
e6d3b47eb0
add componentconfig api group to autogen stuff
2015-10-31 11:42:38 -07:00
Dawn Chen
a39e1e96dc
Mark NodeNotReady for docker version below 1.6.2
2015-10-30 13:48:51 -07:00
Deyuan Deng
638411d744
Wait apiserver in controller manager startup process
2015-10-29 00:15:33 +08:00
k8s-merge-robot
ec9b493647
Merge pull request #14639 from gmarek/hollow-proxy
...
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
gmarek
5a4e4d4d57
Add a HollowProxy to the HollowNode.
2015-10-27 18:23:29 +01:00
Andy Goldstein
325e0ce68b
Fix kubelet help typo
...
Fix double percent (%%) typo for image-gc-high-threshold and
image-gc-low-threshold help text.
2015-10-26 10:37:46 -04:00
k8s-merge-robot
54706661ad
Merge pull request #15479 from feiskyer/gendocs
...
Auto commit by PR queue bot
2015-10-25 17:47:14 -07:00
k8s-merge-robot
6b330a8db5
Merge pull request #16112 from deads2k/expose-resync
...
Auto commit by PR queue bot
2015-10-25 05:16:29 -07:00
feisky
13dce74adb
Gendocs for docs/admin/kube-*
2015-10-25 19:24:23 +08:00
k8s-merge-robot
e1559e9fb5
Merge pull request #15352 from pmorie/fsgroup
...
Auto commit by PR queue bot
2015-10-24 01:55:45 -07:00
k8s-merge-robot
c291eb5497
Merge pull request #15946 from upmc-enterprises/fix_cap_of_acronyms
...
Auto commit by PR queue bot
2015-10-24 00:57:41 -07:00
Saad Ali
a5c3c16994
Merge pull request #15981 from nikhiljindal/docsUpdate
...
Updating documentation to reflect the latest status of extension resources
2015-10-23 12:07:31 -07:00
Steve Sloka
4302208aa9
globally search/replace 'KubeApiQps' to 'KubeAPIQPS' and 'KubeApiBurst' to 'KubeAPIBurst' to match GO rules
2015-10-23 08:24:19 -04:00
Filip Grzadkowski
edd10d8a83
Merge pull request #15914 from vishh/serialize-pull
...
make kubelet image pulls serialized by default.
2015-10-23 14:04:23 +02:00
k8s-merge-robot
29c2706ba0
Merge pull request #15797 from ArtfulCoder/udpTimeoutFlag
...
Auto commit by PR queue bot
2015-10-22 22:52:40 -07:00
Saad Ali
76c5e0e553
Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config"
2015-10-22 21:25:38 -07:00
k8s-merge-robot
a6b8e112ac
Merge pull request #12919 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Vishnu kannan
0df4b46d4c
Adding a kubelet flag to optionally enable parallel image pulls.
2015-10-22 17:19:51 -07:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
deads2k
33c860c81f
expose ResyncPeriod for easier composition
2015-10-22 14:20:03 -04:00
Abhishek Shah
d172ca6986
Added UdpIdleTimeout flag
2015-10-21 17:25:35 -07:00
nikhiljindal
72914fd81b
Updating documentation to reflect the latest status of extension resources
2015-10-21 13:03:33 -07:00
Daniel Smith
4deda6ea98
Vendor in go1.5.1 dependency
...
* Changes to make vendored packages accept new home.
* Fix go2idl to import vendored packages.
2015-10-21 09:56:36 -07:00
Daniel Smith
5ac9b16ade
First iteration of go2idl.
...
* Add support for pointers, map keys, more builtins, Alias types
* Support for packages & imports
* Add helper functions to types
* change generation interface
* fix naming/ordering
* SnippetWriter for templates
* Naming systems
* Use the standard packages for import resolution
* Documentation
2015-10-21 09:56:36 -07:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
k8s-merge-robot
3ec037194f
Merge pull request #15769 from mqliang/importAlias-pkg_runtime
...
Auto commit by PR queue bot
2015-10-21 06:38:43 -07:00
k8s-merge-robot
6dc3dcf36a
Merge pull request #15414 from thockin/exp-beta-annotations
...
Auto commit by PR queue bot
2015-10-20 17:45:32 -07:00
k8s-merge-robot
e90a890e19
Merge pull request #15608 from feihujiang/removeDeprecatedShorthandInManPage
...
Auto commit by PR queue bot
2015-10-20 16:48:26 -07:00
k8s-merge-robot
e12019c658
Merge pull request #15682 from smarterclayton/make_proxy_resync_longer
...
Auto commit by PR queue bot
2015-10-16 20:30:36 -07:00
k8s-merge-robot
68717ddae0
Merge pull request #15659 from caesarxuchao/discovery-client
...
Auto commit by PR queue bot
2015-10-16 20:03:33 -07:00
Chao Xu
5859da3e1f
add discovery client
2015-10-16 14:20:21 -07:00
k8s-merge-robot
4ed2121de5
Merge pull request #15183 from mikedanese/enable-gc
...
Auto commit by PR queue bot
2015-10-16 06:20:17 -07:00
mqliang
569035f2d2
fix imported package names to not use under_scores
2015-10-16 16:37:03 +08:00
nikhiljindal
7bcc4a6755
Allowing runtimeConfig to support enabling/disabling specific extension resources
2015-10-15 14:24:22 -07:00
Clayton Coleman
9440d17041
Proxy resync period should not be 30 seconds
2015-10-15 11:26:49 -04:00
k8s-merge-robot
7ef2a1b293
Merge pull request #15427 from brendandburns/controllerversion
...
Auto commit by PR queue bot
2015-10-15 05:38:33 -07:00
k8s-merge-robot
8c753c84eb
Merge pull request #15191 from caesarxuchao/validate-UID
...
Auto commit by PR queue bot
2015-10-15 04:20:24 -07:00
Brendan Burns
0c730f4ea7
update
2015-10-14 18:22:19 -07:00
Brendan Burns
947a558320
Dynamically enable controllers based on what resources the server has.
...
Dynamically delete namespaces based on what resources the server has.
2015-10-14 15:53:19 -07:00
Tim Hockin
4a2e64d3eb
Add beta annotation for kube-proxy
2015-10-14 15:31:37 -07:00
feihujiang
f3673b8f31
Hide deprecated shorthand in man page
2015-10-15 01:29:13 +08:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
Chao Xu
be0754750f
add common fields validation before updaing a resource; make the repair of malformed update request flippable by a flag.
2015-10-13 16:28:32 -07:00
Chao Xu
c4ee22b5b6
grep sed NewExperimental
2015-10-13 13:22:22 -07:00
Chao Xu
9a812bd0c5
grep sed ExperimentalClient
2015-10-13 13:22:22 -07:00
k8s-merge-robot
ae9f7c8ff8
Merge pull request #15426 from zhengguoyong/adjust_package_name_pkgcontroller
...
Auto commit by PR queue bot
2015-10-13 06:05:23 -07:00
Dawn Chen
69a8dc64c7
Merge pull request #15247 from spiffxp/kube-api-limits
...
Expose kube-api burst/qps settings for kube components
2015-10-12 15:19:46 -07:00
Dawn Chen
9766f25902
Merge pull request #14946 from aveshagarwal/master-proxy-changes
...
Adds new tests to improve coverage and removes unused params passed to proxy server.
2015-10-12 14:53:03 -07:00
Aaron Crickenberger
69351e3e88
Expose kube-api burst/qps settings for kube components
...
Default to hardcodes for components that had them, and 5.0 qps, 10 burst
for those that relied on client defaults
Unclear if maybe it'd be better to just assume these are set as part of
the incoming kubeconfig. For now just exposing them as flags since it's
easier for me to manually tweak.
2015-10-12 11:56:15 -04:00
Jordan Liggitt
1043126135
Refactor SSH tunneling, fix proxy transport TLS/Dial extraction
2015-10-12 11:17:01 -04:00
gmarek
fb56afe4b4
HollowNode refactoring
2015-10-12 12:13:10 +02:00
k8s-merge-robot
632e32d8f6
Merge pull request #14487 from zhengguoyong/update-minion2
...
Auto commit by PR queue bot
2015-10-12 02:58:29 -07:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
k8s-merge-robot
95b265390e
Merge pull request #14900 from mqliang/log
...
Auto commit by PR queue bot
2015-10-10 09:29:53 -07:00
k8s-merge-robot
fa557f6101
Merge pull request #15409 from caesarxuchao/extension/v1beta1
...
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
Mike Danese
392f33e417
Merge pull request #14054 from mikedanese/register-master
...
register master kubelet with the apiserver
2015-10-09 17:12:37 -07:00
Chao Xu
53eab7ef1e
gofmt
2015-10-09 16:04:43 -07:00
Chao Xu
4342e1d789
net.extensions.kubernetes -> net.experimental.kubernetes
2015-10-09 15:49:42 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
f3caff2a79
testapi.Experimental -> testapi.Extensions
2015-10-09 15:15:35 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
Yu-Ju Hong
a3e60cc32e
Rename imported package local name kubeletTypes to kubetypes
...
According to the naming guidelines, package name should not include mixedCaps.
2015-10-09 10:24:31 -07:00
k8s-merge-robot
b793c3edf1
Merge pull request #14700 from liggitt/kubelet_authz
...
Auto commit by PR queue bot
2015-10-09 03:01:43 -07:00
k8s-merge-robot
538cf72208
Merge pull request #15051 from feiskyer/kubelet/garbage-collection
...
Auto commit by PR queue bot
2015-10-09 02:11:47 -07:00
Jordan Liggitt
9d6b52881d
Add authentication/authorization interfaces to kubelet, always include /metrics with /stats
2015-10-09 03:10:00 -04:00
Mike Danese
fa60bbe8e6
add flag to kubelet to ignore the cidr passed down by the apiserver on the master
2015-10-08 21:21:19 -07:00
feisky
d624c7de51
Pass the ContainerGCPolicy in Runtime.GarbageCollect
2015-10-09 06:57:10 +08:00
Yu-Ju Hong
098ab05997
kubelet: move common types to kubelet/types
...
This would faciliate tasks such as moving code in pkg/kubelet to sub packages.
2015-10-08 14:38:01 -07:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
eulerzgy
7399bfe8e8
change minion to node
2015-10-08 11:55:50 +08:00
Paul Morie
123a5bd465
Merge pull request #13978 from jayunit100/api_server_append_13152
...
NodePort option: Allowing for apiservers behind load-balanced endpoint.
2015-10-06 20:09:03 -04:00
Avesh Agarwal
888a488162
Adds new tests and increases code coverage.
2015-10-06 18:24:08 -04:00
Avesh Agarwal
8fb96afff4
This removes unused params passed to proxy server.
2015-10-06 18:21:16 -04:00
Mike Danese
df1a3d3fdf
enable pod gc by default with terminated pod gc threshold of 12500
2015-10-06 14:53:16 -07:00
Janet Kuo
f4bbb32bd9
Merge pull request #15024 from mikedanese/expcontroller
...
enable all experimental controllers in controller-manager with one flag
2015-10-06 14:20:11 -07:00
mqliang
5a349aeb58
capitalize the first letter of log files in module cmd
2015-10-06 13:56:37 +08:00
jayvyas
be2a2ec3cd
NodePort apiserver option for exposing KubernetesMasterService NodePort on startup.
2015-10-05 20:34:25 -04:00
Alex Robinson
99936383b0
Merge pull request #15079 from gmarek/fix-kubemark
...
Turn on smarter FakeDockerClient in HollowNode.
2015-10-05 17:00:49 -07:00
Alex Robinson
32b9d8aad0
Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
...
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese
833be48d61
enable all experimental flags with one controller
2015-10-05 14:54:19 -07:00
Alex Robinson
fe185f5ea7
Merge pull request #14415 from mesosphere/sttts-code-dedup-kubelet-init
...
Preparation for Mesos kubelet code-deduplication
2015-10-05 14:43:06 -07:00
gmarek
22b318fc5c
Turn on smarter FakeDockerClient in HollowNode.
2015-10-05 21:36:54 +02:00
Abhi Shah
9d4fc34571
Merge pull request #15021 from ArtfulCoder/admission
...
allow hostNetwork, hostPID and hostIPC by default
2015-10-05 11:37:21 -07:00
Wojciech Tyczynski
0f1cbe37a4
Events in separate etcd
2015-10-05 10:54:24 +02:00
k8s-merge-robot
bd58984844
Merge pull request #14736 from aveshagarwal/master-proxy-crash
...
Auto commit by PR queue bot
2015-10-02 18:37:38 -07:00
Tim Hockin
6260759c51
Merge pull request #14328 from agonzalezro/flocker
...
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
Abhishek Shah
37692d498c
allow hostNetwork, hostPID and hostIPC by default
2015-10-02 15:26:17 -07:00
k8s-merge-robot
7007481f00
Merge pull request #14917 from nikhiljindal/deploymentController
...
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
Dr. Stefan Schimanski
df5e9f8a4d
Allow to override the pod config in CreateAndInitKubelet
2015-10-02 19:38:03 +02:00
Dr. Stefan Schimanski
2c03c04879
Make createAndInitKubelet public to be reusable
2015-10-02 19:38:02 +02:00
Dr. Stefan Schimanski
cd760cc4ea
Make kubelet builder customizable
...
This is the preparation to remove a lot of duplicated code for kubelet
initialization in https://github.com/kubernetes/kubernetes/pull/13036 .
2015-10-02 19:38:02 +02:00
k8s-merge-robot
6ca515c312
Merge pull request #14820 from gmarek/playground
...
Auto commit by PR queue bot
2015-10-02 07:37:45 -07:00
k8s-merge-robot
b42942c8f4
Merge pull request #14660 from mesosphere/sttts-fix-broken-km-after-kubeproxy-refactoring
...
Auto commit by PR queue bot
2015-10-02 03:48:21 -07:00
gmarek
bc76b1616f
Add SSL to communication in Kubemark
2015-10-02 10:39:24 +02:00
k8s-merge-robot
4e63cafde1
Merge pull request #14748 from gmarek/nodecontroller
...
Auto commit by PR queue bot
2015-10-01 17:38:53 -07:00
nikhiljindal
c6deb442f9
Adding events to deployment
2015-10-01 16:38:08 -07:00
gmarek
fc79ce347e
Allow usining FakeOOMAdjuster in Kubelet
2015-10-01 10:55:08 +02:00
Wojciech Tyczynski
7f9df8c062
Merge pull request #14721 from zhengguoyong/err_value
...
add log err value
2015-10-01 09:37:36 +02:00
k8s-merge-robot
698441cad3
Merge pull request #14655 from aveshagarwal/master-proxy-issue
...
Auto commit by PR queue bot
2015-09-30 22:51:20 -07:00
Avesh Agarwal
af90318222
Fixes crash when proxy is run with --cleanup-iptables=true.
2015-09-30 23:13:13 -04:00
k8s-merge-robot
7f13cc4392
Merge pull request #14704 from aveshagarwal/master-proxy-issues-2
...
Auto commit by PR queue bot
2015-09-30 19:40:46 -07:00
Álex González
fa39c2b032
Add flocker volume plugin
...
Flocker [1] is an open-source container data volume manager for
Dockerized applications.
This PR adds a volume plugin for Flocker.
The plugin interfaces the Flocker Control Service REST API [2] to
attachment attach the volume to the pod.
Each kubelet host should run Flocker agents (Container Agent and Dataset
Agent).
The kubelet will also require environment variables that contain the
host and port of the Flocker Control Service. (see Flocker architecture
[3] for more).
- `FLOCKER_CONTROL_SERVICE_HOST`
- `FLOCKER_CONTROL_SERVICE_PORT`
The contribution introduces a new 'flocker' volume type to the API with
fields:
- `datasetName`: which indicates the name of the dataset in Flocker
added to metadata;
- `size`: a human-readable number that indicates the maximum size of the
requested dataset.
Full documentation can be found docs/user-guide/volumes.md and examples
can be found at the examples/ folder
[1] https://clusterhq.com/flocker/introduction/
[2] https://docs.clusterhq.com/en/1.3.1/reference/api.html
[3] https://docs.clusterhq.com/en/1.3.1/concepts/architecture.html
2015-10-01 01:10:00 +01:00
Brendan Burns
7328301cf3
Extend the timeout for the total integration test.
2015-09-30 10:17:36 -07:00
gmarek
a3723e2045
Separate deletion and termination evictors in NodeController, and fix rate_limited_queue.go
2015-09-30 09:42:01 +02:00
Tim Hockin
5fbcb72241
Merge pull request #14525 from dcbw/cni
...
CNI network plugin
2015-09-29 21:13:26 -07:00
Avesh Agarwal
310d4f48e6
Fixes erroneous declaration of oomAdjuster.
...
Fixes duplication of execer, dbus, iptInterface.
Fixes default assignment of SyncPeriod.
2015-09-29 23:00:14 -04:00
Brendan Burns
a227cce20a
Merge pull request #14681 from brendandburns/fix2
...
Increase the timeout for integration tests.
2015-09-29 19:27:58 -07:00
k8s-merge-robot
b661cfd21e
Merge pull request #14643 from liguangbo/change_Oom_to_OOM
...
Auto commit by PR queue bot
2015-09-29 18:54:22 -07:00
eulerzgy
b1be6bc8ea
add log err value
2015-09-29 17:09:25 +08:00
gmarek
7cfb3479e0
Small fixes to Kubemark scripts
2015-09-29 10:24:46 +02:00
Tim Hockin
abe5a7d5ad
Merge pull request #14527 from thockin/lower-udp-timeout
...
Changes to make kube-proxy userspace scale better
2015-09-28 23:32:40 -07:00
Brendan Burns
6163b3f545
Increase the timeout for integration tests.
2015-09-28 16:16:18 -07:00
Dr. Stefan Schimanski
fd5ee2a9ea
Fix broken hypercube due to too early proxy intitialization
...
This was introduced in 1c25c2cd99
.
2015-09-28 18:54:41 +02:00
Avesh Agarwal
7c1ff97e39
execer is already created earliler, and so there is no need to create it
...
again.
2015-09-28 09:56:57 -04:00
liguangbo
12299087da
Change Oom to OOM
2015-09-28 18:18:04 +08:00
gmarek
dd3bd73948
Initial Kubemark commit
2015-09-28 11:39:05 +02:00
Rajat Chopra
01dd813ce3
CNI network plugin
...
Add an experimental network plugin implementation named "cni" that
uses the Container Networking Interface (CNI) specification for
configuring networking for pods.
https://github.com/appc/cni/blob/master/SPEC.md
2015-09-25 22:30:37 -05:00
Brian Grant
49154c09db
Merge pull request #14583 from thockin/mungedocs-preformat-imbalance
...
Add a munger check for files that end in preformat
2015-09-25 17:14:14 -07:00
Tim Hockin
026054f73e
Set iptables refresh to 30s
2015-09-25 14:02:24 -07:00
Tim Hockin
15e2c62a3e
Add a munger check for files that end in preformat
2015-09-25 13:56:50 -07:00
Brian Grant
a0872fbdaa
Merge pull request #14287 from gmarek/mock-proxy
...
Refactor KubeProxy to allow mocking of all moving parts.
2015-09-25 13:28:44 -07:00
Brian Grant
44b0bb1ae7
Merge pull request #14325 from mikedanese/podgc
...
add pod garbage collection
2015-09-25 11:24:01 -07:00
Brian Grant
bd3a3f1443
Revert "cni network plugin"
2015-09-24 23:24:21 -07:00
Mike Danese
376faea1cf
add pod garbage collection
2015-09-24 22:47:53 -07:00
Brian Grant
17ecefe9f7
Merge pull request #13766 from rajatchopra/cni
...
cni network plugin
2015-09-24 22:42:31 -07:00
Chao Xu
c449baea46
Remove ExpStorageVersion and Add StorageVersions to APIServer struct
2015-09-24 17:44:59 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Jerzy Szczepkowski
c8238c079a
E2E tests for horizontal pod autoscaler.
...
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Eric Tune
d3beca6f06
Merge pull request #14381 from dchen1107/fix
...
Flag controlled RLIMIT_NOFILE for kubelet.
2015-09-23 16:30:11 -07:00
gmarek
1c25c2cd99
Refactor KubeProxy to allow mocking of all moving parts.
2015-09-23 18:47:05 +02:00
Dawn Chen
38583307ca
flag controlled RLIMIT_NOFILE for kubelet.
2015-09-22 15:18:34 -07:00
Chao Xu
6dc61f1bea
fix the package in cmd/kube-version-change/import_known_versions.go
2015-09-22 11:23:55 -07:00
Rajat Chopra
4dc7485d94
cni network plugin
2015-09-22 11:16:41 -07:00
k8s-merge-robot
b747697000
Merge pull request #14310 from thockin/kube-proxy-mode-annotation
...
Auto commit by PR queue bot
2015-09-21 23:07:27 -07:00
k8s-merge-robot
65c8629247
Merge pull request #14239 from caesarxuchao/import-versions-in-kube-version-change
...
Auto commit by PR queue bot
2015-09-21 19:47:12 -07:00
Tim Hockin
bd3cd82a12
Change kube-proxy flag: annotation for proxy-mode
...
This changes the --legacy-userspace-proxy flag to be a string flag
--proxy-mode. If specified, the flag will be respected ('userspace' and
'iptables' being valid values). If left blank (default) we will choose the
"best". best means userspace for now UNLESS the user adds an annotation
(net.experimental.kubernetes.io/proxy-mode) to their node, in which case we
will try to use that.
This allows people to try it on a single machine without fear of global failure
and without it getting rolled back on reboots. It is a poor-man's config blob.
2015-09-21 18:06:24 -07:00
k8s-merge-robot
6c30a0e170
Merge pull request #13955 from caesarxuchao/API-discovery
...
Auto commit by PR queue bot
2015-09-21 14:01:36 -07:00
Chao Xu
1278771b34
let apiserver support api discovery
2015-09-21 12:20:24 -07:00
k8s-merge-robot
843134885e
Merge pull request #12470 from simon3z/add-host-ipc
...
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
k8s-merge-robot
6dad530a1f
Merge pull request #12599 from rootfs/fc_volume
...
Auto commit by PR queue bot
2015-09-20 17:20:26 -07:00