deads2k
912e6741b9
promote /metrics to genericapiserver
2016-11-01 14:42:01 -04:00
deads2k
f56cbfa8d5
add healthz to genericapiserver
2016-11-01 14:39:33 -04:00
deads2k
7e65d5693b
remove non-reuseable bits of MasterServer
2016-10-31 08:50:05 -04:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
mbohlool
75451b49f4
- Add GroupVersion as tags to OpenAPI spec
...
- Remove all end-point specs as they are not useful in light of GroupVersion tags in main spec
2016-10-25 14:27:48 -07:00
Dr. Stefan Schimanski
05fcc6b56a
Update bazel
2016-10-22 14:31:56 +02:00
Dr. Stefan Schimanski
cca05af615
Move swagger+openapi setup to routes and decouple from run
2016-10-22 13:42:22 +02:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
deads2k
9578523180
move proxytransport config out of the genericapiserver
2016-10-20 11:23:53 -04:00
deads2k
f9cbc42581
separate third party resources from master (moves + consequences)
2016-10-19 07:40:58 -04:00
Dr. Stefan Schimanski
08d4fa5c4f
Turn APIGroupPrefix into a constant
2016-10-19 11:52:15 +02:00
Kubernetes Submit Queue
f39e86c0a5
Merge pull request #34474 from liggitt/connection-info-refactor
...
Automatic merge from submit-queue
Remove static kubelet client, refactor ConnectionInfoGetter
Follow up to https://github.com/kubernetes/kubernetes/pull/33718
* Collapses the multi-valued return to a `ConnectionInfo` struct
* Removes the "raw" connection info method and interface, since it was only used in a single non-test location (by the "real" connection info method)
* Disentangles the node REST object from being a ConnectionInfoProvider itself by extracting an implementation of ConnectionInfoProvider that takes a node (using a provided NodeGetter) and determines ConnectionInfo
* Plumbs the KubeletClientConfig to the point where we construct the helper object that combines the config and the node lookup. I anticipate adding a preference order for choosing an address type in https://github.com/kubernetes/kubernetes/pull/34259
2016-10-18 13:20:25 -07:00
Kubernetes Submit Queue
2f990ac429
Merge pull request #34979 from deads2k/tpr-04-storage-post-hook
...
Automatic merge from submit-queue
convert TPR controller to posthook instead of disable flag
Converts the third party resource controller into a posthook using a loopback client instead going direct to etcd. This let's us eliminate more flags and special-casing during initialization. Also, using a client brings us closer to building this without side-effects for downstream composers.
2016-10-18 06:39:41 -07:00
deads2k
1423654295
convert TPR controller to posthook instead of disable flag
2016-10-17 16:24:02 -04:00
deads2k
5a9b16d40a
make version an explicit choice so zero config and customized work
2016-10-17 16:10:07 -04:00
Jordan Liggitt
a082a2e749
Remove static kubelet client, refactor ConnectionInfoGetter
2016-10-15 22:15:04 -04:00
deads2k
7412be4465
default serializer
2016-10-14 11:27:32 -04:00
deads2k
fbd5032da2
split genericapiserver configuration apart so that you can run without flag options
2016-10-13 13:09:53 -04:00
Kubernetes Submit Queue
dd529f3c4a
Merge pull request #34551 from deads2k/api-23-remove-legacy-prefixy
...
Automatic merge from submit-queue
Change legacy API resource registration
Updates the legacy API resource registration to emphasize its different-ness and to simplify supporting objects. The option has to remain in the genericapiserverconfig for multiple prefixes to enable cases where composers/extenders had composed additional groupless APIs. See OpenShift as an example.
However this is now transparent to "normal" composers.
@ncdc since sttts is out.
2016-10-13 08:23:35 -07:00
mbohlool
5ba06cf2bc
Make Kubernetes OpenAPI operation IDs unique
2016-10-12 14:54:12 -07:00
deads2k
6406aacb59
remove legacy API prefix from generic
2016-10-12 15:32:27 -04:00
deads2k
406c0a36ae
cleanup cruft from API server structs
2016-10-11 10:56:05 -04:00
deads2k
5d3a210321
convert bootstrap controller to posthook to tighten master.go
2016-10-10 08:15:45 -04:00
Kubernetes Submit Queue
f2016df2cc
Merge pull request #34054 from deads2k/testapi-01-remove-default.groupversion
...
Automatic merge from submit-queue
remove testapi.Default.GroupVersion
I'm going to try to take this as a series of mechanicals. This removes `testapi.Default.GroupVersion()` and replaces it with `registered.GroupOrDie(api.GroupName).GroupVersion`.
@caesarxuchao I'm trying to see how much of `pkg/api/testapi` I can remove.
2016-10-07 20:30:34 -07:00
Kubernetes Submit Queue
f765f5e5d0
Merge pull request #33927 from deads2k/api-21-fix-improper-eviction
...
Automatic merge from submit-queue
fix pod eviction storage
Refactor pod eviction storage to remove the tight order coupling of the storage. This also gets us ready to deal with cases where API groups are not co-located on the same server, though the particular client being used would assume a proxy.
2016-10-07 08:18:28 -07:00
deads2k
518d5500c7
remove testapi.Default.GroupVersion
2016-10-07 10:10:54 -04:00
Dr. Stefan Schimanski
68cee1d9ac
Make genericapiserver handler chain customizable
2016-10-05 10:32:36 -04:00
deads2k
28358e4775
fix pod eviction storage
2016-10-05 07:55:49 -04:00
Lucas Käldström
348717c50a
Remove the flannel experimental overlay
2016-10-04 11:53:53 +03:00
deads2k
1123f6788b
move third party resource tests
2016-09-29 13:52:20 -04:00
deads2k
1c667e4fc5
move core storage out of master.go
2016-09-29 09:39:23 -04:00
Kubernetes Submit Queue
50e12ff5a2
Merge pull request #33575 from sttts/sttts-defaulted-config
...
Automatic merge from submit-queue
Decouple genericapiserver setDefault from New()
2016-09-29 01:52:46 -07:00
Dr. Stefan Schimanski
6f781625db
Make genericapiserver Config.Complete type safe
2016-09-29 08:09:39 +02:00
Dr. Stefan Schimanski
61409c821b
Turn embedding into composition: master.Config.{Config -> GenericConfig}
2016-09-29 08:09:39 +02:00
Dr. Stefan Schimanski
8391a19b57
Decouple defaulting from genericapiserver and master
2016-09-28 23:16:09 +02:00
Dr. Stefan Schimanski
b4c6a68036
Unify genericapiserver Config.New() and master Config.New()
2016-09-28 19:19:54 +02:00
Dr. Stefan Schimanski
10cbaf7ce0
Store RequestInfo in Context
...
... in order to replace the manual RequestInfoResolver dependency injection
through out the code.
2016-09-28 18:51:34 +02:00
Kubernetes Submit Queue
a845c92207
Merge pull request #33368 from sttts/sttts-prune-serviceerrorhandler
...
Automatic merge from submit-queue
Prune unused parameters and call only once
Two parameters of `InstallServiceErrorHandler` were not used. Pruning them allows us to move the service error handler installation for each api group to be moved into the constructor.
2016-09-26 22:29:52 -07:00
deads2k
7897691483
move straggler registry package
2016-09-23 16:24:49 -04:00
deads2k
17a21c7bdb
move reststorage providers to their correct packages
2016-09-23 16:24:48 -04:00
Dr. Stefan Schimanski
acf0a5264a
Prune unused parameters and call only once
2016-09-23 14:53:09 +02:00
Dr. Stefan Schimanski
87356c0623
Cleanup handler chain
2016-09-23 12:03:58 +02:00
Kubernetes Submit Queue
1063903d01
Merge pull request #33266 from sttts/sttts-one-installapigroups
...
Automatic merge from submit-queue
Reduce genericapiserver api surface
2016-09-23 02:32:07 -07:00
deads2k
f6882e8465
remove storage related fields from genericapiserver
2016-09-22 09:21:34 -04:00
Dr. Stefan Schimanski
c727e27602
Reduce genericapiserver api surface
2016-09-22 13:43:32 +02:00
deads2k
561f8d75a5
move core resource registry packages
2016-09-21 10:11:50 -04:00
deads2k
e9c1b87b80
move extensions registry packages
2016-09-21 09:14:38 -04:00
deads2k
7ee8596a02
refactor small API group packages
2016-09-21 09:14:38 -04:00
mbohlool
38b2567d8b
Move generated openAPI specs out of genericapiserver and make it configurable
2016-09-20 14:06:10 -07:00
deads2k
a2a6423574
separate RESTStorage by API group
2016-09-20 08:00:50 -04:00
deads2k
7d1f13d3e0
add GenericAPIServer posthooks for initialization
2016-09-19 14:58:27 -04:00
Kubernetes Submit Queue
12d916750e
Merge pull request #32387 from sttts/sttts-handler-cleanup
...
Automatic merge from submit-queue
Cleanup non-rest apiserver handlers
- rename MuxHelper -> PathRecorderMux
- move non-rest handlers into routes packages within genericapiserver and `pkg/routes` (those from master)
- move ui and logs handlers out of genericapiserver (they are
not generic)
- make version handler configurable (`config.EnableVersion`)
2016-09-16 08:58:06 -07:00
Kubernetes Submit Queue
e3f0ce2347
Merge pull request #32586 from deads2k/api-05-restrict-versions
...
Automatic merge from submit-queue
restrict discoverable versions to those that have resources
Prevents versions with no resources from appearing in discovery.
@soltysh ptal. I think you have some issues for this, mind wiring them up?
```
kubectl api-versions
apps/v1alpha1
authentication.k8s.io/v1beta1
authorization.k8s.io/v1beta1
autoscaling/v1
batch/v1
certificates.k8s.io/v1alpha1
extensions/v1beta1
policy/v1alpha1
rbac.authorization.k8s.io/v1alpha1
storage.k8s.io/v1beta1
v1
```
Fixes #29998 .
2016-09-15 05:56:34 -07:00
Dr. Stefan Schimanski
7f78661d0b
Cleanup non-rest apiserver handlers
...
- rename MuxHelper -> PathRecorderMux
- move non-rest handlers into routes packages within genericapiserver and
`pkg/routes` (those from master)
- move ui and logs handlers out of genericapiserver (they are
not generic)
- make version handler configurable (`config.EnableVersion`)
2016-09-15 13:22:45 +02:00
Clayton Coleman
acb4c00b39
EnableGarbageCollection should be a struct member on RESTOptions
...
Not a global. Now that we have RESTOptions this was an easy change.
2016-09-15 00:09:28 -04:00
deads2k
26558da40d
restrict discoverable versions to those that have resources
2016-09-14 09:16:11 -04:00
Timothy St. Clair
9f3841b452
Revert "Revert "Enable v3 Client as the default on UTs""
...
This reverts commit 9dcef2e3cd
.
2016-09-14 07:27:21 -05:00
deads2k
8fac64b43f
add localSAR
2016-09-13 08:54:23 -04:00
Kubernetes Submit Queue
544e64a7fb
Merge pull request #32315 from liggitt/api-group-suffix
...
Automatic merge from submit-queue
Doc API group suffix, add test to catch new groups
Spawned from discussion in https://github.com/kubernetes/kubernetes/pull/31887
Doc and add tests to ensure new API groups are suffixed.
Also changed the doc to reference an API group containing the suffix as a starting point for new API groups.
2016-09-13 02:42:45 -07:00
mbohlool
54fee8c253
Improvements on OpenAPI spec generation:
...
- Generating models using go2idl library (no reflection anymore)
- Remove dependencies on go-restful/swagger
- Generate one swagger.json file for each web-service
- Bugfix: fixed a bug in trie implementation
2016-09-12 18:47:03 -07:00
Kubernetes Submit Queue
87526da3d9
Merge pull request #32198 from deads2k/storage-01-make-easier-to-inspect
...
Automatic merge from submit-queue
add logging for enabled/disabled API Groups
Adds logging to the apiserver to indicate which API groups are enabled and disabled as go through. This will make it easier to identify what's gone wrong in cases where the API server is down during diagnoses and the config is inaccessible, like in GKE tests. For example https://github.com/kubernetes/kubernetes/issues/32185#issuecomment-245255700 .
@wojtek-t This may have made the problem more obvious.
2016-09-09 23:05:07 -07:00
Jordan Liggitt
620cc66ead
Doc API group suffix, add test to catch new groups
2016-09-09 15:56:08 -04:00
deads2k
0e37530b09
add logging for enabled/disabled API groups
2016-09-09 11:31:15 -04:00
deads2k
b0d770ad7b
refactor genericapiserver new to combine initialization
2016-09-08 08:57:10 -04:00
Kubernetes Submit Queue
bf4e9e9db8
Merge pull request #31245 from deads2k/api-02
...
Automatic merge from submit-queue
privatize, document, and scrub GenericAPIServer
I've gone through more of the `GenericAPIServer` struct, started documenting what the fields do and privatizing ones that aren't used elsewhere or are only used by components that need some refactoring too.
2016-09-08 03:47:50 -07:00
Kubernetes Submit Queue
7a4d81ea43
Merge pull request #31271 from deads2k/self-sar
...
Automatic merge from submit-queue
add selfsubjectaccessreview API
Exposes the REST API for self subject access reviews. This allows a user to see whether or not they can perform a particular action.
@kubernetes/sig-auth
2016-09-08 01:29:48 -07:00
deads2k
cd5b6cc491
move StorageClass to its own group
2016-09-06 08:41:17 -04:00
deads2k
554ff48da2
privatize, document, and scrub GenericAPIServer
2016-08-30 09:53:33 -04:00
deads2k
97529e3687
add selfsubjectaccessreview API
2016-08-29 09:51:54 -04:00
Hongchao Deng
9fc0e1e98d
return destroy func to clean up internal resources of storage
2016-08-25 08:32:21 -07:00
Daniel Smith
9dcef2e3cd
Revert "Enable v3 Client as the default on UTs"
2016-08-24 13:16:40 -07:00
Kubernetes Submit Queue
9484b2c0a0
Merge pull request #30890 from timothysc/etcd3_v3client
...
Automatic merge from submit-queue
Enable v3 Client as the default on UTs
Updates the default initialization to use clientv3 interface to etcd3, and fixes the UTs.
This PR includes a cherry-pick of https://github.com/kubernetes/kubernetes/pull/30634 so we can validate the tests, so do not merge until that PR is complete.
2016-08-23 08:04:02 -07:00
Kubernetes Submit Queue
f3329b7bae
Merge pull request #30923 from Q-Lee/configure-webhook
...
Automatic merge from submit-queue
Configure webhook
**What this PR does / why we need it**: this configures the image policy webhook + admission controller for gce/gci.
addresses: #22888
**Release note**:
```Configure image verification admission controller and webhook on gce.
```
2016-08-22 21:46:47 -07:00
Timothy St. Clair
49b7ebd791
Switch UT default settings to leverage etcd3.v3client
2016-08-22 22:17:55 -05:00
Quintin Lee
2be0b40c55
Actually link in ImagePolicyWebhook and run initialization.
2016-08-22 16:54:03 -07:00
Matt Liggett
c86b84ccc0
Add /eviction subresource.
...
This is for #12611 .
2016-08-22 16:38:00 -07:00
mbohlool
c5f1d63d6f
Generates OpenAPI (aka Swagger 2.0) Spec on /swagger.json path
2016-08-18 15:32:04 -07:00
Timothy St. Clair
730fc70107
Update etcd default ports for v3, and validate tests
2016-08-17 07:49:19 -05:00
Kubernetes Submit Queue
69419a145a
Merge pull request #29802 from jfrazelle/fix-go-vet-errors
...
Automatic merge from submit-queue
fix go vet errors
<!--
Checklist for submitting a Pull Request
Please remove this comment block before submitting.
1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md ).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md ).
3. If you want this PR to automatically close an issue when it is merged,
add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests ).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes ) in the block below.
-->
```release-note
```
This fixes the `go vet` errors brought about by go 1.7 testing re (#28742 ).
The are all pretty trivial and mostly related to literal composites.
also related to #16086
2016-08-15 13:10:08 -07:00
Kubernetes Submit Queue
3a8b21b3a5
Merge pull request #29724 from brendandburns/thirdparty3
...
Automatic merge from submit-queue
Fix third party APIResource reporting
@polvi @caesarxuchao @deads2k
This "fixes" some additional bugs in third party `APIResourceList` reporting.
This code needs a bunch of cleanup, and more tests, but sending it out for a quick smell check review in case I'm doing something stupid.
Fixes the bug referenced here: https://github.com/kubernetes/kubernetes/pull/28414#issuecomment-235346108 and in https://github.com/kubernetes/kubernetes/issues/23831
Fixes https://github.com/kubernetes/kubernetes/issues/25570
2016-08-13 17:10:20 -07:00
Brendan Burns
b3658c7b16
Fix third party APIResource reporting
2016-08-13 15:51:34 -07:00
Hongchao Deng
d0938094d9
move new etcd storage into cacher
2016-08-12 18:40:20 -07:00
Jess Frazelle
7e9d82129e
fix go vet errors
...
Signed-off-by: Jess Frazelle <jessfraz@google.com>
fix composites
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-08-10 16:45:41 -07:00
AdoHe
a6539f846a
move RangeRegistry to a separate package for generic usage
2016-08-09 13:10:48 +08:00
Kubernetes Submit Queue
5f9447a91a
Merge pull request #20573 from deads2k/plumb-in-SAR
...
Automatic merge from submit-queue
add subjectaccessreviews resource
Adds a subjectaccessreviews endpoint that uses the API server's authorizer to determine if a subject is allowed to perform an action.
Part of kubernetes/features#37
2016-08-05 14:39:28 -07:00
Kubernetes Submit Queue
f9cadb290b
Merge pull request #22919 from liggitt/http-test-etcd
...
Automatic merge from submit-queue
Allow starting test etcd with http
There are cases where we'll want to start a test etcd without https (external tools monitoring tests, tests with lots of parallelism, etc). This makes it an option.
Helps with https://github.com/kubernetes/kubernetes/issues/23127
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/22919 )
<!-- Reviewable:end -->
2016-08-05 12:06:12 -07:00
deads2k
32920b5617
add subjectaccessreviews resource
2016-08-05 11:20:56 -04:00
Kubernetes Submit Queue
7921a9ce67
Merge pull request #25816 from soltysh/scheduledjob_kubectl
...
Automatic merge from submit-queue
ScheduledJob kubectl
@erictune the last part (kubectl) of the ScheduledJob, as usual builds on top of previous PRs, so only last 2 commits matter (the kubectl one and storage leftovers).
```release-note
* Introducing ScheduledJobs as described in [the proposal](https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/scheduledjob.md ) as part of `batch/v2alpha1` version (experimental feature).
```
[]()
2016-08-04 17:36:07 -07:00
Maciej Szulik
f0b8edaccc
ScheduledJob storage leftovers
2016-08-03 17:25:35 +02:00
deads2k
60dd4a5d26
interesting changes to add tokenreviews endpoint to implement webhook
2016-08-03 08:37:45 -04:00
Kubernetes Submit Queue
24216fe02f
Merge pull request #26958 from resouer/util-line
...
Automatic merge from submit-queue
Refactoring runner resource container linedelimiter to it's own pkg
Continuing my work ref #15634
Anyone is ok to review this fix.
2016-08-03 02:26:12 -07:00
deads2k
c30690a3bb
separate out api group storage registration
2016-08-01 08:26:19 -04:00
Harry Zhang
e0ab76019e
Rename runnter pkg name
2016-07-29 02:37:00 -04:00
childsb
f5bd7d471e
API Changes for StorageClass
2016-07-28 19:01:01 -04:00
deads2k
aa3db4d995
make the resource prefix in etcd configurable for cohabitation
2016-07-27 07:51:40 -04:00
deads2k
6f7007afc5
make addition group registration easier
2016-07-25 08:23:24 -04:00
k8s-merge-robot
63e23a2c75
Merge pull request #28414 from brendandburns/thirdparty
...
Automatic merge from submit-queue
Allow multiple APIs to register for the same API Group
Fixes https://github.com/kubernetes/kubernetes/issues/23831
@kubernetes/sig-api-machinery
[]()
2016-07-22 15:35:00 -07:00
Wojciech Tyczynski
4d0d115690
Revert "add tokenreviews endpoint to implement webhook"
2016-07-21 09:40:35 +02:00
deads2k
2c4a9f2e8d
interesting changes to add tokenreviews endpoint to implement webhook
2016-07-20 15:11:56 -04:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
Jordan Liggitt
d4d6a0ee4c
Allow starting test etcd with http
2016-07-10 22:28:01 -04:00
Casey Davenport
988359d0fe
Enable extensions/v1beta1/NetworkPolicy by default
2016-07-07 10:04:46 -07:00
Wojciech Tyczynski
4fa3aba0c2
Get rid of DeleteAllEtcdKeys
2016-07-05 22:10:47 +02:00
Brendan Burns
ca9a61b3fb
Fix third party APIs to allow multiple APIs to register for the same group
2016-07-01 23:23:11 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
k8s-merge-robot
32eccd413f
Merge pull request #25562 from gtank/certificates-api-v9
...
Automatic merge from submit-queue
TLS bootstrap API group (alpha)
This PR only covers the new types and related client/storage code- the vast majority of the line count is codegen. The implementation differs slightly from the current proposal document based on discussions in design thread (#20439 ). The controller logic and kubelet support mentioned in the proposal are forthcoming in separate requests.
I submit that #18762 ("Creating a new API group is really hard") is, if anything, understating it. I've tried to structure the commits to illustrate the process.
@mikedanese @erictune @smarterclayton @deads2k
```release-note-experimental
An alpha implementation of the the TLS bootstrap API described in docs/proposals/kubelet-tls-bootstrap.md.
```
[]()
2016-06-28 13:25:22 -07:00
George Tankersley
56a2cf40e6
tests: add certificates to existing test infrastructure
2016-06-28 12:05:40 -07:00
k8s-merge-robot
eb4b402d2e
Merge pull request #28025 from ncdc/refactor-master-bootstrap-controller
...
Automatic merge from submit-queue
Add EndpointReconcilerConfig to master Config
Add EndpointReconcilerConfig to master Config to allow downstream integrators to customize the reconciler and reconciliation interval when starting a customized master
@kubernetes/sig-api-machinery @deads2k @smarterclayton @liggitt @kubernetes/rh-cluster-infra
2016-06-28 08:07:41 -07:00
George Tankersley
0439b694ca
apiserver: enable certificates api
2016-06-27 14:29:16 -07:00
Andy Goldstein
b55cede866
Add EndpointReconcilerConfig to master Config
...
Add EndpointReconcilerConfig to master Config to allow downstream integrators to customize the reconciler
and reconciliation interval when starting a customized master.
2016-06-27 09:22:30 -04:00
k8s-merge-robot
6dff5d24d1
Merge pull request #25769 from deads2k/remove-dead-discovery-code
...
Automatic merge from submit-queue
remove confusing, dead code from master.go
Found while chasing something else, looks completely dead.
2016-06-24 13:56:31 -07:00
Maciej Szulik
feb43c5e6d
Reapply ScheduledJob tests ( 2ab885a53a
)
2016-06-21 14:55:00 +02:00
Andy Goldstein
04ce042ff9
Extract interface for master endpoints reconciler.
...
Make the master endpoints reconciler an interface so its implementation can be overridden, if
desired.
2016-06-06 17:56:23 -04:00
k8s-merge-robot
421c16addd
Merge pull request #25894 from brendandburns/thirdparty-watch
...
Automatic merge from submit-queue
Fix third party
Fixes https://github.com/kubernetes/kubernetes/issues/25421
Fixes https://github.com/kubernetes/kubernetes/issues/25422
@AdoHe @sjenning @caesarxuchao @lavalamp
@kubernetes/sig-api-machinery
[]()
2016-06-04 15:42:41 -07:00
Brendan Burns
328a8392b1
Fix third party
2016-06-02 10:24:14 -07:00
k8s-merge-robot
99fab4a87d
Merge pull request #25374 from brendandburns/plural
...
Automatic merge from submit-queue
Fix a bug with pluralization of third party resources
Fixes https://github.com/kubernetes/kubernetes/issues/25129
@kubernetes/sig-api-machinery
[]()
2016-06-01 02:25:30 -07:00
deads2k
82096d1279
remove confusing, dead code from master.go
2016-05-31 15:48:36 -04:00
Eric Chiang
ef40aa9572
pkg/master: enable certificates API and add rbac authorizer
2016-05-25 14:24:47 -07:00
Jordan Liggitt
29252acd1a
Change rest storage Update interface to retrieve updated object
...
Add OldObject to admission attributes
Update resthandler Patch/Update admission plumbing
2016-05-23 21:09:26 -04:00
Casey Davenport
47248f3698
v1beta1 NetworkPolicy API definition and client support
2016-05-19 19:02:54 -07:00
Matt Liggett
f5e8d41431
Finish implementing policy API.
...
Registry implementation and addition to the master.
2016-05-13 17:27:58 -07:00
k8s-merge-robot
667f586083
Merge pull request #25196 from luxas/auto_create_kube_system
...
Automatic merge from submit-queue
Automatically create the kube-system namespace
At the same time we ensure that the `default` namespace is present, it also creates `kube-system` if it doesn't exist.
`kube-system` will now exist from the beginning, and will be recreated every 10s if deleted, in the same manner as the `default` ns
This makes UX much better, no need for `kubectl`ing a `kube-system.yaml` file anymore for a function that is essential to Kubernetes (addons). For instance, this makes dashboard deployment much easier when there's no need to check for the `kube-system` ns first.
A follow up in the future may remove places where logic to manually create the kube-system namespace is present.
Also fixed a small bug where `CreateNamespaceIfNeeded` ignored the `ns` parameter and was hardcoded to `api.NamespaceDefault`.
@davidopp @lavalamp @thockin @mikedanese @bryk @cheld @fgrzadkowski @smarterclayton @wojtek-t @dlorenc @vishh @dchen1107 @bgrant0607 @roberthbailey
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/25196 )
<!-- Reviewable:end -->
2016-05-12 11:17:09 -07:00
k8s-merge-robot
4513b7c2a4
Merge pull request #25495 from davidopp/change-owners
...
Automatic merge from submit-queue
Remove myself from a bunch of OWNERS files
For the time being I am too overloaded to do non scheduler/admission related reviews that aren't explicitly assigned to me.
cc/ @brendandburns
2016-05-11 19:18:33 -07:00
k8s-merge-robot
ac50a70992
Merge pull request #25459 from errm/misspell
...
Automatic merge from submit-queue
Corrects some misspellings in comments
This should help to make
https://goreportcard.com/report/k8s.io/kubernetes#misspell
look a little nicer.
2016-05-11 19:18:30 -07:00
David Oppenheimer
4ae37df7b7
Remove myself from a bunch of OWNERS files, as I am too overloaded
...
to do so many code reviews right now.
2016-05-11 13:34:51 -07:00
Ed Robinson
afdbad078a
Corrects some misspellings in comments
...
This should help to make
https://goreportcard.com/report/k8s.io/kubernetes#misspell
look a little nicer.
2016-05-11 08:16:13 +01:00
Maciej Szulik
a31ca0dc98
enable batch/v2alpha1 tests
2016-05-10 22:40:24 +02:00
Maciej Szulik
5ef870d4c7
Added JobTemplate, a preliminary step for ScheduledJob and Workflow
2016-05-10 21:48:39 +02:00
Brendan Burns
b2bf960649
Add a test for pluralizing third party resources, fix bug.
2016-05-09 14:47:02 -07:00
Matt Liggett
c00fa39eee
Define PodDisruption API types.
2016-05-06 17:24:53 -07:00
Lucas Käldström
8ea3a9319c
Automatically create the kube-system namespace
2016-05-05 22:27:49 +03:00
Clayton Coleman
e0ebcf4216
Split the storage and negotiation parts of Codecs
...
The codec factory should support two distinct interfaces - negotiating
for a serializer with a client, vs reading or writing data to a storage
form (etcd, disk, etc). Make the EncodeForVersion and DecodeToVersion
methods only take Encoder and Decoder, and slight refactoring elsewhere.
In the storage factory, use a content type to control what serializer to
pick, and use the universal deserializer. This ensures that storage can
read JSON (which might be from older objects) while only writing
protobuf. Add exceptions for those resources that may not be able to
write to protobuf (specifically third party resources, but potentially
others in the future).
2016-05-05 12:08:23 -04: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
k8s-merge-robot
d0b887e4e0
Merge pull request #24595 from zhouhaibing089/httpserverclose
...
Automatic merge from submit-queue
Uncomment the code that caused by #19254
Fix https://github.com/kubernetes/kubernetes/issues/24546 .
@lavalamp
2016-04-28 01:41:16 -07:00
Hongchao Deng
c0071a1595
add flags to enable etcd3
2016-04-28 09:48:16 +08:00
jianhuiz
fdfe42ea44
move install of version handler to genericapiserver
2016-04-27 10:21:08 -07:00
Paul Morie
c386850d23
Reduce LOC in third party controller test
2016-04-27 02:50:46 -04: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
zhouhaibing089
bf1a3f99c0
Uncomment the code that cause by #19254
2016-04-25 23:21:31 +08:00
Wojciech Tyczynski
c0020aff59
Merge pull request #24539 from smarterclayton/unify_stream_and_serial
...
Unify Streaming and normal Serializers
2016-04-25 11:25:16 +02:00
k8s-merge-robot
0d4b039d87
Merge pull request #24474 from deads2k/fix-version-registration
...
Automatic merge from submit-queue
stop changing the root path of the root webservice
We shouldn't mutate the root path of the root webservice (see usage). Just write the path we want.
2016-04-23 17:51:56 -07:00
nikhiljindal
f9f1e21e08
Moving master.SSHTunneler to genericapiserver
2016-04-22 11:47:05 -07:00
Clayton Coleman
3111985564
Handle streaming serializers more consistently
...
Add tests to watch behavior in both protocols (http and websocket)
against all 3 media types. Adopt the
`application/vnd.kubernetes.protobuf;stream=watch` media type for the
content that comes back from a watch call so that it can be
distinguished from a Status result.
2016-04-22 11:07:24 -04:00
deads2k
6670b73b18
make storage enablement, serialization, and location orthogonal
2016-04-21 08:18:55 -04:00
Prashanth Balasubramanian
0ac10c6cc2
PetSet type, apps apigroup
2016-04-20 18:49:31 -07:00
deads2k
a79cb3c44e
stop changing the root path of the root webservice
2016-04-19 13:08:46 -04:00
k8s-merge-robot
e81663c824
Merge pull request #24006 from caesarxuchao/thirdparty-preferredversion
...
Automatic merge from submit-queue
Use the first version as thirdparty resource preferredVersion
First commit is a one-liner, which implements the server-half of #23985 .
The other two commits rearrange the test code, and add back a commented out test of thirdparty resource.
@lavalamp @nikhiljindal
2016-04-17 16:02:59 -07:00
k8s-merge-robot
2b9637da6a
Merge pull request #23945 from smarterclayton/move_reset_metrics
...
Automatic merge from submit-queue
Move /resetMetrics to DELETE /metrics
Reduces the surface area of the API server slightly and allows
downstream components to have deleteable metrics. After this change
genericapiserver will *not* have metrics unless the caller defines it
(allows different apiserver implementations to make that choice on their
own).
@wojtek-t
2016-04-17 05:58:26 -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
d44457ebaf
Merge pull request #23903 from zhouhaibing089/https-fix
...
Automatic merge from submit-queue
the component status health check should check whether the scheme of backend storage url is https or not
fix https://github.com/kubernetes/kubernetes/issues/23897 , when querying the component status of etcd (backend storage), the scheme of url is not checked and use `http` always, this commit aims to fix this.
2016-04-16 20:22:57 -07:00
Clayton Coleman
0f95b91f96
Move /resetMetrics to DELETE /metrics
...
Reduces the surface area of the API server slightly and allows
downstream components to have deleteable metrics. After this change
genericapiserver will *not* have metrics unless the caller defines it
(allows different apiserver implementations to make that choice on their
own).
2016-04-15 11:44:17 -04:00
Daniel Smith
4c539bf082
Merge pull request #23490 from wojtek-t/remove_set_from_storage_interface
...
Remove Set() from storage.Interface.
2016-04-13 14:22:05 -07: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
Chao Xu
f315ffd8b1
make default thirdparty resource preferredVersion; adding back discovery tests
2016-04-12 10:09:09 -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
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
zhouhaibing089
597fdede5a
the component status health check should check whether the scheme of backend storage url is https or not
2016-04-08 07:26:27 +08:00
goltermann
696423e044
Vet fixes, mostly pass lock by value errors.
2016-04-06 11:27:40 -07:00
Wojciech Tyczynski
53f433f019
Remove Set() from storage.Interface.
2016-04-04 17:54:18 +02:00
Brendan Burns
be6c5b332b
Add third party support to kubectl
2016-03-31 10:53:32 -07:00
deads2k
e8fb35d4d8
refactor resource overrides as positive logic interface
2016-03-28 09:24:49 -04:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
k8s-merge-robot
b8e390a0f3
Merge pull request #22824 from brendandburns/enable
...
Auto commit by PR queue bot
2016-03-24 22:26:39 -07:00
Brendan Burns
1f5b4b8802
Address comments.
2016-03-24 15:44:31 -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
Brendan Burns
87a1635c93
Machine generated stuff
2016-03-22 14:41:37 -07:00
k8s-merge-robot
76acfd4b7d
Merge pull request #22916 from liggitt/namespace-subresources
...
Auto commit by PR queue bot
2016-03-22 01:25:58 -07:00
Brendan Burns
a0fcbd1495
Enable third party resources.
2016-03-21 17:02:18 -07:00
CJ Cullen
5f3929f75d
Add a SSHKey sync check to the master's healthz (when using SSHTunnels).
2016-03-17 19:14:25 -07:00
Mike Danese
e21ebbcac4
give the kubernetes service client ip session affinity
2016-03-17 09:38:22 -07:00
Jordan Liggitt
ad20045c8d
Correctly identify namespace subresources in GetRequestInfo
2016-03-14 13:03:33 -04:00
k8s-merge-robot
5db0feb202
Merge pull request #22017 from caesarxuchao/fix-21955
...
Auto commit by PR queue bot
2016-03-10 14:37:43 -08:00
Madhusudan.C.S
fe26381c90
Support for both map-based and set-based selectors in extensions/v1beta1.Scale
...
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
extensions Scale type (extensions/v1beta1.Scale). This is a serialized
version of either the map-based selector (in case of ReplicationControllers)
or the unversioned.LabelSelector struct (in case of Deployments and
ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
single internal selector field. The rules for conversion are as follows:
i. If the target resource that this scale targets supports LabelSelector
(Deployments and ReplicaSets), then serialize the LabelSelector and
store the string in the TargetSelector field in the external version
and leave the map-based Selector field as nil.
ii. If the target resource only supports a map-based selector
(ReplicationControllers), then still serialize that selector and
store the serialized string in the TargetSelector field. Also,
set the the Selector map field in the external Scale type.
iii. When converting from external to internal version, parse the
TargetSelector string into LabelSelector struct if the string isn't
empty. If it is empty, then check if the Selector map is set and just
assign that map to the MatchLabels component of the LabelSelector.
iv. When converting from internal to external version, serialize the
LabelSelector and store it in the TargetSelector field. If only
the MatchLabel component is set, then also copy that value to
the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
k8s-merge-robot
89c9c24987
Merge pull request #21964 from caesarxuchao/fix-thirdparty-parameter
...
Auto commit by PR queue bot
2016-03-07 00:59:17 -08:00
k8s-merge-robot
a435537e27
Merge pull request #21966 from madhusudancs/scale-deployment-replicaset
...
Auto commit by PR queue bot
2016-03-04 14:40:10 -08:00
Madhusudan.C.S
fa0794098f
Define etcd storage methods for replicationcontrollers/scale subresource.
...
Also register replicationcontrollers/scale subresource. Along with
registering the resource, also specify the cross-group override for the
subresource since Scale belongs belongs to autoscaling/v1 but
ReplicationController belongs to api/v1.
2016-03-04 11:02:37 -08:00
Madhusudan.C.S
9e99f9fa0e
Register scale subresource for Deployments and ReplicaSets.
...
Define etcd registry methods for scale subresource in Deployments and
ReplicaSets. Register them with the API server.
2016-03-04 11:01:36 -08: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
Chao Xu
56bddbcae5
fix thirdparty discovery, add test
2016-02-25 14:13:28 -08:00
Chao Xu
4adb110516
adding a unit test
2016-02-25 11:09:26 -08:00
Wojciech Tyczynski
506899008f
Parallelization of namespace deletion
2016-02-25 16:33:25 +01:00
Chao Xu
5b108acb38
fix ParameterCodec for thirdparty resource
2016-02-24 21:45:30 -08:00
Wojciech Tyczynski
4eadc5e97b
Introduce RESTOptions to configure per-resource storage
2016-02-22 16:28:28 +01: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
Chao Xu
39838745e5
Strip version when encoding discovery API objects at endpoints that exist since release 1.1
2016-02-19 15:05:20 -08:00
Eric Tune
da44473a38
Comment out test to fix later.
2016-02-19 11:20:58 -08:00
Eric Tune
d5f303d3d7
Fixed and added tests
2016-02-19 09:20:56 -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
5d7d0eea2e
Merge pull request #20626 from nikhiljindal/serverIPInDiscovery
...
Auto commit by PR queue bot
2016-02-18 21:53:24 -08:00
k8s-merge-robot
f1cbaed60f
Merge pull request #17493 from feihujiang/supportSubresourceOfServiceProxy
...
Auto commit by PR queue bot
2016-02-18 18:22:59 -08:00
nikhiljindal
20ce4aed0e
Adding hostname to groups discovery information
2016-02-18 11:58:11 -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
feihujiang
ac9f890238
Support the subresource of service proxy
2016-02-18 15:16:05 +08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Madhusudan.C.S
ab1e9c200f
Graduate DaemonSet to v1beta1 API, enable it by default.
2016-02-17 15:03:12 -08:00
k8s-merge-robot
0866c377e9
Merge pull request #18010 from feihujiang/supportSubresourceOfNodeProxy
...
Auto commit by PR queue bot
2016-02-17 08:15:50 -08:00
feihujiang
e85253916f
Support the subresource of node proxy
2016-02-16 17:02:45 +08:00
George Tankersley
31463502ec
Fix comment typo
2016-02-15 21:05:51 -08:00
Piotr Szczesniak
264c64ec0d
Enabled autoscaling API group in apiserver
2016-02-15 21:39:00 +01:00
Piotr Szczesniak
d9705940d6
Fixed and added tests
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
k8s-merge-robot
94b8554c91
Merge pull request #21033 from nikhiljindal/swaggerspecInGenericServer
...
Auto commit by PR queue bot
2016-02-14 11:39:56 -08:00
Janet Kuo
2874f30c05
Enable Deployments by default
2016-02-12 12:29:14 -08:00
nikhiljindal
e2bffac285
Moving installing swagger spec to generic api server
2016-02-10 18:33:47 -08:00
Madhusudan.C.S
e7a9f30936
Address review comments.
2016-02-09 15:50:01 -08:00
Madhusudan.C.S
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
Paul Weil
619ccb7023
don't enable psp by default and fix comment
2016-02-08 08:56:52 -05:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
Madhusudan.C.S
48c4173f5f
Enable ReplicaSets in e2e tests.
2016-02-06 03:46:17 -08: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
Daniel Smith
60cc5d10b7
Merge pull request #20013 from spxtr/fix-ssh
...
Retry SSH connection for E2E log gathering.
2016-02-05 15:52:34 -08:00
Nikhil Jindal
4606d1408b
Merge pull request #20532 from nikhiljindal/genericServerAPIs
...
Moving /apis handler to generic api server
2016-02-05 13:13:57 -08:00
Paul Weil
03261146b0
api
2016-02-05 08:45:50 -05:00
nikhiljindal
d267ab5f92
Moving /apis handler to generic server
2016-02-04 17:58:13 -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
Wojciech Tyczynski
f23034d5da
Reset more metrics before scalability tests
2016-02-04 11:47:13 +01:00
Joe Finney
7a59683e41
Retry SSH connection for E2E log gathering.
2016-02-03 16:06:02 -08:00
nikhiljindal
c7beb9078c
Updating methods to return error rather than using glog.Fatalf
2016-02-03 16:00: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
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -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
c5260c8c71
Merge pull request #20145 from mqliang/quorum-read
...
Auto commit by PR queue bot
2016-02-02 05:50:41 -08:00
Daniel Smith
4a7d70aef1
extend fake clock
2016-02-01 15:36:15 -08:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
Chao Xu
90b4662d8d
Add services/status path, and let the service controller uses Services.UpdateStatus()
2016-01-31 12:39:45 -08:00
Janet Kuo
3396db9510
Add rollback subresource; add rollback logic to deployment controller
2016-01-30 16:00:34 -08:00
mqliang
b0e06c14e5
add a knob to enable quorum read
2016-01-30 20:32:12 +08:00
Fabio Yeon
eb2c2d1af4
Merge pull request #20111 from fabioy/fix-tmp-tests
...
Add temp directory creation method for tests.
2016-01-29 09:51:12 -08:00
Paul Morie
9030f16071
Move ConfigMap to main API
2016-01-28 17:07:05 -05:00
Fabio Yeon
7205a160ac
Remove all instances of "/tmp" from unit tests and replace with a common
...
tmp directory creator. Exception is documented.
2016-01-27 16:11:22 -08: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
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -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
deads2k
14396fc464
add subject access review types
2016-01-20 08:24:15 -05: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
k8s-merge-robot
c059dfdb9b
Merge pull request #18712 from pmorie/config-kubectl
...
Auto commit by PR queue bot
2016-01-13 13:51:29 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Paul Morie
9c18067e60
Add kubectl support for ConfigMap
2016-01-06 09:03:39 -05:00
nikhiljindal
87ce093c77
Moving API registration logic to generic api server
2015-12-30 14:22:14 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
k8s-merge-robot
44fc4d3f34
Merge pull request #18484 from brendandburns/3rdparty5
...
Auto commit by PR queue bot
2015-12-19 10:12:35 -08:00
Brendan Burns
e594407ab5
Add dynamic APIs to the list of discoverable APIs
2015-12-18 14:03:43 -08:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
nikhiljindal
2d952aaa87
Extracting APIServer machinery code into a library
2015-12-16 13:54:23 -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
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
k8s-merge-robot
c458cd7bb7
Merge pull request #18379 from deads2k/gv-newobject
...
Auto commit by PR queue bot
2015-12-13 13:33:16 -08:00
nikhiljindal
724b098855
Deleting unused master.ClusterName param
2015-12-11 13:39:19 -08:00
Timothy St. Clair
a428246960
Abstract the error handling for the storage layer to eliminate the
...
direct etcd dependency.
2015-12-10 08:06:19 -06:00
deads2k
519b4e80d1
update NewObject for groupversionkind
2015-12-09 08:13:15 -05:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
k8s-merge-robot
9bd5995841
Merge pull request #18158 from gmarek/master
...
Auto commit by PR queue bot
2015-12-04 02:14:38 -08:00
gmarek
38b9132e3f
Remove unused KubeletStatusPort from ports.go
2015-12-03 16:00:49 +01:00
nikhiljindal
5c556baa2f
Removing duplicate NewEtcdStorage code
2015-12-03 01:37:44 -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
60925e67fe
Merge pull request #17920 from abutcher/check-endpoints
...
Auto commit by PR queue bot
2015-12-02 01:35:00 -08:00
Andrew Butcher
101a9927e4
Do not update kubernetes endpoints when endpoint address count is less than or equal to master count.
...
checkEndpointSubsetFormat ensures that,
1. the current master's IP is in the list of addresses
2. the number of IPs in the list exactly matches the master count
This is problematic while masters are in the process of starting
because it causes frequent updates to the kubernetes endpoints until
all masters have started and added themselves to the list.
checkEndpointSubsetFormat should report success if the current
master's IP is found and the count of addresses is less than or equal
to the expected count.
2015-12-01 14:31:22 -05: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
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
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
Marek Grabowski
62009344cc
Merge pull request #17761 from gmarek/flannel
...
Rebase of @bprashant Flannel out of the box
2015-11-25 16:04:35 +01:00
Prashanth Balasubramanian
321bc73264
Flannel server in static pod with private etcd.
2015-11-25 09:42:59 +01:00
Tim St. Clair
20ead45af9
Move etcd_util.go to separate package
2015-11-23 11:32:50 -08:00
Wojciech Tyczynski
846356d437
Remove tools.EtcdClient reference from master_test
2015-11-20 16:59:21 +01:00
k8s-merge-robot
ce492e7a28
Merge pull request #17378 from wojtek-t/remove_fake_client_from_master_test_2
...
Auto commit by PR queue bot
2015-11-19 08:18:14 -08:00
Wojciech Tyczynski
514c41c157
Delete usage of FakeEtcdClient from master_test.go
2015-11-19 10:05:48 +01:00
Abhi Shah
7033e423aa
Merge pull request #17361 from zhengguoyong/del_repeat_import_packagge
...
Del repeat imported package
2015-11-18 14:58:22 -08:00
k8s-merge-robot
0798915490
Merge pull request #17261 from nikhiljindal/masterClean
...
Auto commit by PR queue bot
2015-11-17 08:16:18 -08:00
Wojciech Tyczynski
a06ecebc71
Delete some usage of FakeEtcdClient from master_test.go
2015-11-17 15:42:29 +01:00
k8s-merge-robot
5e20dcfd6f
Merge pull request #17227 from deads2k/gv-apigv
...
Auto commit by PR queue bot
2015-11-17 01:53:17 -08:00
k8s-merge-robot
7780c1718c
Merge pull request #17093 from Pendoragon/master
...
Auto commit by PR queue bot
2015-11-17 00:17:41 -08:00
zhengguoyong
1c07a56299
Del repeat imported package
2015-11-17 16:13:11 +08:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
deads2k
bf983e942c
use GroupVersion in APIGroupVersion for api installer
2015-11-16 07:42:00 -05:00
nikhiljindal
e31a08bbc1
Remove unused NodeRegexp var from master
2015-11-13 15:56:50 -08:00
David Eads
486103d887
Revert "use GroupVersion in APIGroupVersion for api installer"
2015-11-13 12:55:08 -05:00
deads2k
3c725f17ea
use GroupVersion in APIGroupVersion for api installer
2015-11-13 09:00:04 -05:00
Wojciech Tyczynski
a5a8717539
Pass versioner to cacher.
2015-11-13 08:35:28 +01:00
Wojciech Tyczynski
3df5d1dbc3
Move storage-related dirs under pkg/storage.
2015-11-12 19:49:32 +01:00
Pengcheng Tang
6d94dd1a05
Change order of CORS and authenticatedHandler for secureHandler.
2015-11-12 09:55:36 +08:00
ZhuPeng
b94b1efdb0
Avoid log wrong information until got PublicAddress
2015-11-10 10:45:51 +08:00
Chao Xu
15e6ca5ac5
rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery
2015-11-05 14:52:58 -08:00
k8s-merge-robot
2842d9476b
Merge pull request #16496 from wojtek-t/switch_cacher_for_other_resources
...
Auto commit by PR queue bot
2015-11-04 03:01:24 -08:00
Nikhil Jindal
34cbe48736
Merge pull request #16690 from nikhiljindal/apiDeclNotFound
...
Fixing missing swagger spec for apis/extensions
2015-11-03 14:36:31 -08:00
Wojciech Tyczynski
030a272db5
Enable cacher for all resources.
2015-11-03 11:55:37 +01:00
k8s-merge-robot
b79379516f
Merge pull request #16584 from wojtek-t/refactor_use_cacher
...
Auto commit by PR queue bot
2015-11-03 01:10:13 -08:00
nikhiljindal
7612bded3e
Removing an erroneous /
2015-11-02 14:18:57 -08:00
Wojciech Tyczynski
8f385c563f
Refactor code for creating Cacher.
2015-11-02 20:56:46 +01:00
feihujiang
3603b14977
Move service strategy to registry/service package
2015-11-02 19:56:03 +08:00
Mike Danese
9bdb860eeb
add apigroup installer and tests
2015-10-31 11:42:38 -07:00
k8s-merge-robot
cc53619372
Merge pull request #15791 from abutcher/set-service
...
Auto commit by PR queue bot
2015-10-30 06:55:16 -07:00
Andrew Butcher
0c4aafaf1e
Update master service ports and type via controller.
2015-10-29 10:56:46 -04:00
Wojciech Tyczynski
9c53f301f1
Merge selectors with ListOptions.
2015-10-29 15:42:57 +01:00
k8s-merge-robot
d5be3635e5
Merge pull request #16273 from wojtek-t/list_options_in_api
...
Auto commit by PR queue bot
2015-10-29 01:57:29 -07:00
Wojciech Tyczynski
aa30e38183
Pass resource version to storage List operation.
2015-10-27 10:03:58 +01:00
Mike Danese
8acf01d620
add status subresource for deployment
2015-10-26 00:12:58 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
Saad Ali
ebf3ee3fb2
Merge pull request #16035 from deads2k/typo
...
fix horizonal typo
2015-10-23 12:09:11 -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
Filip Grzadkowski
52136bdb68
Merge pull request #15958 from deads2k/add-is-api-url
...
add nonResourceURL detection
2015-10-22 14:47:54 +02:00
deads2k
b74aa0145b
fix horizonal typo
2015-10-21 13:32:01 -04:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
deads2k
6fbb3f4b6e
add nonResourceURL detection
2015-10-20 16:23:30 -04:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
k8s-merge-robot
ff7ce44e74
Merge pull request #14517 from jayunit100/reorder
...
Auto commit by PR queue bot
2015-10-18 09:04:23 -07:00
Piotr Szczesniak
52d8527761
Migrate hpa e2e tests to the new API
...
Fixed the issue with enabling HPA
2015-10-16 11:06:47 +02:00
nikhiljindal
7bcc4a6755
Allowing runtimeConfig to support enabling/disabling specific extension resources
2015-10-15 14:24:22 -07:00
derekwaynecarr
eae56c3b2d
Add status subresource to Ingress
2015-10-14 14:36:29 -04:00
Andrew Butcher
a2c97c7b0e
Ports could be in reverse order or otherwise.
2015-10-13 07:42:43 -04:00
Andrew Butcher
efd8e3c9c7
Additional service ports config for master service.
2015-10-13 07:42:40 -04:00
k8s-merge-robot
2dec0826f7
Merge pull request #15351 from caesarxuchao/fix-14584-1
...
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
Dawn Chen
0901e5050d
Merge pull request #15371 from timothysc/etcd-contexts
...
New etcd client modifications part 1 (context support)
2015-10-12 16:04:13 -07:00
Dawn Chen
782102d437
Merge pull request #15224 from liggitt/proxy_https
...
Allow specifying scheme when proxying
2015-10-12 14:39:21 -07:00
Chao Xu
7817c2312c
fix rebase
2015-10-12 13:48:14 -07:00
Chao Xu
cbeb307a60
run grep-sed
2015-10-12 13:34:07 -07:00
Chao Xu
29d3351b69
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
e3d984be27
run grep-sed
2015-10-12 13:33:13 -07:00
derekwaynecarr
3c012db30f
Add status subresource to HorizontalPodAutoscaler
2015-10-12 11:27:56 -04:00
Jordan Liggitt
1043126135
Refactor SSH tunneling, fix proxy transport TLS/Dial extraction
2015-10-12 11:17:01 -04:00
Timothy St. Clair
2a2a2d79ff
New etcd client modifications part 1 (context support)
...
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05: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
derekwaynecarr
544b453e31
Add replication controller status subresource
2015-10-07 14:39:33 -04:00
jayvyas
be2a2ec3cd
NodePort apiserver option for exposing KubernetesMasterService NodePort on startup.
2015-10-05 20:34:25 -04:00
Wojciech Tyczynski
0f1cbe37a4
Events in separate etcd
2015-10-05 10:54:24 +02:00
k8s-merge-robot
e330b1197e
Merge pull request #14459 from bprashanth/l7_ingress_resource_refactor
...
Auto commit by PR queue bot
2015-10-02 10:20:48 -07:00
k8s-merge-robot
f5adbb7e12
Merge pull request #14926 from caesarxuchao/fix-discovery-1
...
Auto commit by PR queue bot
2015-10-02 06:39:44 -07:00
Chao Xu
4927cec3be
fix groups exposes at apis/
2015-10-01 18:32:42 -07:00
Chao Xu
f4ff0f7683
fix thirdparty API, now the config file of thirdpartyresource also need to group/version instead of version
2015-10-01 12:30:51 -07:00
deads2k
df870cf36a
remove Kind from APIRequestInfo
2015-09-30 09:46:22 -04:00
deads2k
dc8d0de70b
update APIRequestInfo for APIGroup
2015-09-30 09:45:10 -04:00
Prashanth Balasubramanian
16921f961a
Ingress registry
2015-09-29 18:51:24 -07:00
Jerzy Szczepkowski
0fd5a74450
Fixed update of scale sub-resource for experimental RC.
...
Fixed update of scale sub-resource for experimental RC. Resolves #14656 .
2015-09-29 10:55:29 +02:00
derekwaynecarr
aead9d3291
DaemonSets adds a Status subresource
2015-09-25 12:13:54 -04:00
jayunit100
a2f9957745
MasterCount explain logic around reorder+wraparound
2015-09-25 10:10:54 -04:00
Chao Xu
3473212ea5
remove thirdParty API from api/v1/ and api/
2015-09-24 16:31:00 -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
Eric Tune
95a44be2ef
Job status updates.
...
Added status REST storage.
Added validation for Status Updates.
Changed job controller to update status rather than just job
(which ignores status updates).
2015-09-22 11:39:35 -07:00
k8s-merge-robot
98231d1f68
Merge pull request #14171 from jszczepkowski/deployment-scale
...
Auto commit by PR queue bot
2015-09-22 01:37:41 -07:00
Chao Xu
f1de364a0e
Make latest.AllGroups public; fix thirdPartyResourceDataCreator.New
2015-09-21 22:32:24 -07:00
Brendan Burns
fb9efac68c
Complete initial third party API support in the master
2015-09-21 15:56:36 -07:00
Chao Xu
1278771b34
let apiserver support api discovery
2015-09-21 12:20:24 -07:00
Jerzy Szczepkowski
53dab136ed
Implemented Scale sub-resource for Deployment.
...
Implemented Scale sub-resource for Deployment.
2015-09-18 13:55:26 +02:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
Alex Mohr
f893245f4e
Merge pull request #14103 from feihujiang/fixWrongPathOfDocument
...
Fixes the wrong path of documents
2015-09-17 10:27:41 -07:00
k8s-merge-robot
62d8cfb615
Merge pull request #13765 from brendandburns/schema-api-5
...
Auto commit by PR queue bot
2015-09-17 09:32:04 -07:00
feihujiang
51f59f3c78
Fix the wrong path of document
2015-09-17 20:38:08 +08:00
Chao Xu
9bef5ff99d
register experimental apis as apis/experimental/..
...
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
Brendan Burns
8d0016b542
Address comments.
2015-09-14 16:19:03 -07:00
Brendan Burns
0a3aa2242b
Add a third party controller that creates/deletes third party apis
2015-09-14 14:21:14 -07:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
Chao Xu
c733124920
address lavalamp's comments
2015-09-11 17:34:32 -07:00
Chao Xu
0d2110c3f4
fix boilerplate
2015-09-11 17:33:22 -07:00
Chao Xu
0b6fd8c5c4
fixing tests
2015-09-11 17:33:22 -07:00
Chao Xu
190ca2ebf2
add import_known_versions.go
2015-09-11 17:32:23 -07:00
Chao Xu
64bf839e9f
refactor tests to use testapi rather than latest directly
2015-09-11 17:32:23 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Chao Xu
e400a15f84
make a central latest package
2015-09-11 17:29:37 -07:00
Daniel Smith
ccd9e3e247
Run all automated tools
2015-09-11 16:11:08 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
k8s-merge-robot
bafa7627db
Merge pull request #12910 from soltysh/job_controller
...
Auto commit by PR queue bot
2015-09-11 15:52:37 -07:00
Maciej Szulik
e55c59e8c2
New Job resource
2015-09-11 21:36:20 +02:00
Steve Milner
66dff577f4
test: improved master coverage.
2015-09-11 09:10:05 -04:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
k8s-merge-robot
1313e3b14e
Merge pull request #13700 from mikedanese/daemon_set
...
Auto commit by PR queue bot
2015-09-10 10:15:45 -07:00
Mike Danese
bf881f187e
rename expapi.Daemon to expapi.DaemonSet
2015-09-10 08:34:26 -07:00
Wojciech Tyczynski
cd1ac360de
Rename "minion" to "node" in few places.
2015-09-09 16:18:23 +02:00
k8s-merge-robot
0a7921e988
Merge pull request #13538 from brendandburns/thirdparty
...
Auto commit by PR queue bot
2015-09-08 23:17:56 -07:00
Brendan Burns
61f272c8cd
Update the third party data codec to automatically include everything
...
in api.ObjectMeta. Add more tests.
2015-09-08 21:13:06 -07:00
Piotr Szczesniak
48b9c365c7
Merge pull request #13308 from timothysc/watch-cache-disable
...
Plumb through configuration option to disable watch cache
2015-09-04 13:40:46 +02:00
Brendan Burns
6aa7ce2689
addressed comments.
2015-09-01 12:00:56 -07:00
Brendan Burns
d993b8891d
Addressed changes
2015-08-31 21:13:37 -07:00
Brendan Burns
855c7cedcc
Address comments.
2015-08-31 21:13:37 -07:00
Brendan Burns
b196d0f84b
Add support for installing custom object APIs
2015-08-31 21:13:36 -07:00
Brendan Burns
7bfc8b5f37
Add dynamic APIs
2015-08-31 21:13:07 -07:00
k8s-merge-robot
044e4854e1
Merge pull request #13347 from nikhiljindal/expDeployment
...
Auto commit by PR queue bot
2015-08-31 14:31:23 -07:00
Jordan Liggitt
b5e8f7aa41
Recover panics in finishRequest, write correct API response
2015-08-31 14:55:18 -04:00
nikhiljindal
13ecd8a72c
Adding deployment registry and exposing deployments in master
2015-08-31 10:47:04 -07:00
Timothy St. Clair
2145371c45
Plumb through configuration option to disable watch cache
...
because we are seeing anomolies on our cluster.
2015-08-28 12:36:40 -05:00
Mike Danese
bee3fd02e4
enable daemon controller in the experimental api
2015-08-27 11:47:35 -07:00
Wojciech Tyczynski
c0aba1dc8a
Reenable watch in apiserver
2015-08-26 10:39:01 +02:00
Wojciech Tyczynski
f0b8749450
Revert "Reenable Cacher"
2015-08-25 08:06:49 +02:00
Wojciech Tyczynski
102b618ce3
Reenable Cacher.
2015-08-24 13:07:10 +02:00
Brendan Burns
5d664892f2
Add a storage implementation for thirdpartyresources.
2015-08-21 17:21:40 -07:00
Wojciech Tyczynski
4e76ed31aa
Switch off cacher
2015-08-21 15:28:28 +02:00
Wojciech Tyczynski
ec6556987e
Switch on Cacher for pods, endpoints and nodes.
2015-08-21 09:24:49 +02:00
Wojciech Tyczynski
5931cc74cc
Unification refactoring to pkg/registry
2015-08-20 11:17:23 +02:00
Tim Hockin
86f4535871
Check loopback and link-local multicast endpoints
...
Previously we just disallowed link-local (unicast). This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Wojciech Tyczynski
56fb29a83a
Merge pull request #12344 from jszczepkowski/hpa-api
...
Added HorizontalPodAutoscaler object to experimental API.
2015-08-13 10:33:31 +02:00
Wojciech Tyczynski
5de0f11b1d
Unify events registry to be generic.
2015-08-12 11:23:07 +02:00
Jerzy Szczepkowski
baa1612241
Added HorizontalPodAutoscaler object to experimental API.
...
Added HorizontalPodAutoscaler object to experimental API. Related to #12087 .
2015-08-12 11:03:21 +02:00
Jerzy Szczepkowski
84af5594b3
Cleanup: "scaler" -> "scale".
...
Cosmetic cleanup: "scaler" replaced with "scale" (the proper name for sub-resource).
2015-08-12 09:14:05 +02:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Wojciech Tyczynski
5ea99310f1
Unify limitrange registry to be generic.
2015-08-11 09:06:44 +02:00
Alex Robinson
42e12f1c5f
Merge pull request #12340 from wojtek-t/rewrite_service_etcd
...
Refactor "service" registry to use standard REST storage (and generic etcd)
2015-08-10 15:38:50 -07:00
Marek Grabowski
5f9cefc1d8
Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
...
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
87250d075f
Merge pull request #12217 from mwielgus/exp_scale
...
Experimental Scale subresource
2015-08-10 16:32:59 +02:00
Wojciech Tyczynski
79125f460c
Services using standard REST storage
2015-08-10 13:27:44 +02:00
Wojciech Tyczynski
d11ab96446
Extract non-storage operations from service etcd
2015-08-10 13:27:44 +02:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Marcin Wielgus
91584c6b3b
Experimental Scale subresource
2015-08-07 12:00:42 +02:00
David Walter
792fc2269b
change underscores to dashes to match the command line argument
2015-08-06 22:13:44 -05:00
Eric Paris
7cbb52ce04
Use the pflag StringSlice instead of implementing it ourselves
...
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Wojciech Tyczynski
20e84d2eb1
Remove unused members
2015-08-06 09:00:42 +02:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Mike Danese
a23ee556ad
Merge pull request #11999 from brendandburns/attach2
...
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Brendan Burns
e8e756a719
Add pod/attach to the APIServer.
2015-07-30 10:55:53 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
99d6b0e9f4
Rename storage interfaces
2015-07-30 10:34:57 +02:00
Wojciech Tyczynski
d17985f1ad
Move StorageInterface to pkg/storage.
2015-07-30 09:32:04 +02:00
Chi Vinh Le
d91932f0b7
SSH tunnels fallback to LegacyHostIP
2015-07-28 10:10:48 +02:00
Wojciech Tyczynski
9d943df397
Private EtcdHelper
2015-07-27 09:20:13 +02:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Vish Kannan
136d53466a
Merge pull request #10892 from nikhiljindal/beta1
...
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
Wojciech Tyczynski
ee92aa3897
Prepare for extracting EtcdHelper interface
2015-07-23 09:37:39 +02:00
Brendan Burns
25d3834b74
Add monitoring and healthz based on tunnel health.
2015-07-14 14:37:38 -07:00
nikhiljindal
c465a50891
Stop exposing v1beta3 by default
2015-07-08 15:27:41 -07:00
nikhiljindal
fc4da6844e
removing references to pre v1beta3 apis
2015-07-08 13:51:43 -07:00
Eric Paris
7a29af4d2c
Add Subject Alt Names to self signed apiserver certs
...
A cert from GCE shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes,
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
- DNS:kubernetes.default.svc.cluster.local
- DNS:e2e-test-zml-master
A similarly configured self signed cert shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
So we are missing the fqdn kubernetes.default.svc.cluster.local. The
apiserver does not even know the fqdn! it's defined entirely by the
kubelet! We also do not have the cluster name certificate. This may be
--cluster-name= argument to the apiserver but will take a bit more
research.
2015-07-01 17:05:17 -04:00
CJ Cullen
ea2d617944
Don't hold lock while opening new sshTunnels.
2015-06-29 16:16:25 -07:00
Maxwell Forbes
712f303350
Merge pull request #9736 from sdminonne/bug_fix2
...
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Brendan Burns
f4e97be78e
Switch to using the official etcd health check.
2015-06-24 10:18:39 -07:00
Wojciech Tyczynski
23d405ad86
Expose /resetMetrics handle in apiserver
2015-06-23 11:12:45 +02:00
Salvatore Dario Minonne
4b13faa346
To add validation for service ports when defined as string (fixing issue #9734 )
2015-06-22 17:21:51 +02:00
Filip Grzadkowski
4c0c7dd879
Fix intializing IP/Port allocators when etcd is not reachable.
2015-06-19 21:20:52 +02:00
Satnam Singh
d8e5225144
Merge pull request #10069 from lavalamp/sshLockingFix
...
fix locking around ssh tunnels
2015-06-18 17:50:06 -07:00
Daniel Smith
4126622388
fix locking around ssh tunnels
2015-06-18 16:52:10 -07:00
Satnam Singh
3e7799d9a8
Merge pull request #9845 from liggitt/kubernetes_service_uid
...
Apply BeforeCreate logic to kubernetes service
2015-06-18 16:28:49 -07:00
Satnam Singh
28197e07d6
Merge pull request #9841 from smarterclayton/fix_apiserver_abstractions
...
Cleaning up apiserver method signatures
2015-06-18 15:36:52 -07:00
Clayton Coleman
debd42a07d
Cleaning up apiserver method signatures
...
A lot of the changes in apiserver could have been represented more
cleanly - this returns the signatures to their older behavior (and
unbreaks OpenShift).
2015-06-18 15:13:41 -04:00
Satnam Singh
798739f013
Merge pull request #10006 from brendandburns/ssh
...
Truncate SSH usernames to 32 chars.
2015-06-18 11:44:26 -07:00
Brendan Burns
075c075b9e
Truncate SSH usernames to 32 chars.
2015-06-17 23:10:32 -07:00
CJ Cullen
15596ede41
Make AddSSHKeys a controller loop. Make sure master's always initializes m.tunnels.
2015-06-17 17:46:27 -07:00
Jordan Liggitt
e869d5c6fc
Apply BeforeCreate logic to kubernetes service
2015-06-16 21:08:42 -04:00
CJ Cullen
48f672af92
Change SSHTunnelList to struct to make Open() semantics better.
2015-06-16 10:36:38 -07:00
CJ Cullen
66fb8ccb02
Add ssh tunnel-open metrics
2015-06-15 17:28:54 -07:00
CJ Cullen
faa9313eea
Fix several potential crashes in sshtunnel open/close code.
2015-06-15 14:38:37 -07:00
Justin Santa Barbara
6f3879e3bb
Actually pass down ServiceNodePortRange so it is used
...
Also fix default range to match what we've documented (off-by-one)
Fix #9318
2015-06-08 18:03:42 -04:00
CJ Cullen
9ab329827a
Change sshproxy to poll registry for nodes every 10 seconds (reduces window where closed tunnels from scaling down may exist).
2015-06-05 15:24:17 -07:00
CJ Cullen
cb317604ab
Some refactoring. Only selectively use ssh proxy.
...
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen
1ae8801387
Fix transport creation logic.
...
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
Brendan Burns
7ea533d871
Add the SSHTunnel transport to the kubelet client.
2015-06-05 14:55:15 -07:00
CJ Cullen
de9a5f43bc
Specify sshUser, sshKeyfile in kube-apiserver manifest.
...
Trim space on ssh key so GCE doesn't treat it as 2 lines.
A couple other minor fixes.
2015-06-05 14:55:15 -07:00
Brendan Burns
5115fd5703
Add key generation.
2015-06-05 14:55:15 -07:00
Brendan Burns
30a89968a4
Initial proxy tunnelling.
2015-06-05 14:54:20 -07:00
Quinton Hoole
521446503a
Merge pull request #9269 from caesarxuchao/make-v1-enabled-by-default
...
Make v1 enabled by default
2015-06-04 13:29:48 -07:00
Chao Xu
ef61b031f5
make v1 enabled by default
2015-06-04 11:37:44 -07:00
Chao Xu
c2e21fe5d7
use c.EtcdHelper in master.go
2015-06-04 09:39:05 -07:00
Daniel Smith
1690617ee6
remove ro service
2015-06-03 16:45:54 -07:00
Daniel Smith
3f454b7599
remove ro refs from more places
2015-06-03 15:41:09 -07:00
Prashanth Balasubramanian
0162529ea5
Default minRequestTimeout to 1800s
2015-06-03 08:47:45 -07:00
Prashanth Balasubramanian
448867073d
Pipe minRequestTimeout as an arg to the apiserver
2015-06-03 08:44:14 -07:00
CJ Cullen
934c553c04
Clarify description/usage of --advertise-address, Master.PublicAddress
2015-06-02 15:23:32 -07:00
CJ Cullen
085a48a70e
Add an advertise-address flag. This allows the address that the apiserver binds
...
to (possibly 0.0.0.0) to be different than the address on which members of the cluster
can reach the apiserver (possibly not a local interface).
2015-06-02 14:33:15 -07:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
CJ Cullen
36d54b2094
Remove /Validate endpoint
2015-05-26 10:49:18 -07:00
Justin Santa Barbara
9255770068
Fix a few occurences of old language (e.g. visibility -> ServiceType)
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
3bb2fe2425
Create port allocator, based on IP allocator mechanism
...
Including some refactoring of IP allocator
2015-05-22 19:14:28 -04:00
Tim Hockin
a548d542db
Rename AffinityType to ServiceAffinity
2015-05-18 17:21:30 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
Derek Carr
c1158fa696
Merge pull request #7969 from smarterclayton/rest_fixes
...
Fixes to apiserver for subresources and naming
2015-05-12 10:57:34 -04:00
Nikhil Jindal
3d31883829
Merge pull request #8083 from brendandburns/kubectl
...
Add a flag to disable legacy APIs
2015-05-11 17:35:28 -07:00
Clayton Coleman
0617951ead
Public read only port is incorrect in master
2015-05-11 19:20:38 -04:00
Brendan Burns
d8f48290e9
Add a flag to disable legacy APIs
2015-05-11 16:09:25 -07:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Clayton Coleman
84d1f19016
Subresources should be in their parent rest scope
...
A subresource like "Binding" does not necessarily have
to have a namespace. The RESTScope of a subresource
should always be its parent resource.
2015-05-11 15:51:05 -04:00
Clayton Coleman
5bcb96dae1
Separate out the master's control loops
...
These are "Bootstrap Controllers" as distinct from
the controllers in the controller-manager binary - they
are necessary for the cluster to start running.
2015-05-08 16:04:03 -04:00
Clayton Coleman
e200d5a317
Make PortalIP alloc HA
...
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards
Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
Quinton Hoole
8a4a39d9b4
Merge pull request #7273 from lavalamp/fix7
...
fix master service endpoint system for multiple masters
2015-05-05 11:59:30 -07:00
Wojciech Tyczynski
bd3d853242
Merge pull request #7737 from lavalamp/fixTimeAfter
...
Reduce usage of time.After
2015-05-05 09:28:07 +02:00
Daniel Smith
a41a57cfe1
fix master service endpoint system for multiple masters
2015-05-04 22:55:51 -07:00
Fabio Yeon
1709cf0dbb
Remove node status from "componentstatuses" call.
...
The legacy "/validate" behavior remains unchanged.
2015-05-04 14:34:20 -07:00
Daniel Smith
16a6fb8ef7
Replace calls to time.After with time.NewTimer for explicit stopping
2015-05-04 14:29:33 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Filip Grzadkowski
15e9bfd9ae
Add a simple cache for objects stored in etcd.
2015-04-30 12:08:56 +02:00
CJ Cullen
182f47ee3d
Revert "Add a simple cache for objects stored in etcd"
2015-04-29 12:06:52 -07:00
Daniel Smith
2802b18b0a
Merge pull request #7288 from fgrzadkowski/perf
...
Add a simple cache for objects stored in etcd
2015-04-29 09:00:33 -07:00
Paul Morie
8fa21ebd62
Merge pull request #7419 from liggitt/secrets_etcd
...
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-29 09:59:22 -04:00
Filip Grzadkowski
016e20167b
Add a simple cache for objects stored in etcd.
2015-04-29 13:14:31 +02:00
Brian Grant
a4316aa638
Merge pull request #7454 from nikhiljindal/v1
...
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 18:06:57 -07:00
nikhiljindal
c4d7e19c8c
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 16:06:03 -07:00
Jordan Liggitt
ac67fff1cf
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-28 15:00:20 -04:00
Robert Bailey
4304b1d24a
Set the 'WWW-Authenticate' header on 401 responses when basic
...
auth is enabled. This is required for basic auth to work with
web browsers.
2015-04-28 11:00:05 -07:00
Daniel Smith
83093af8b0
Merge pull request #5707 from endocode/kbeecher/etcd_prefix
...
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
nikhiljindal
120904df5f
Fixing serviceErrorHandler to use apiVersion specific codec
2015-04-23 14:32:05 -07:00
Clayton Coleman
10c2ace6bf
Pod Templates
2015-04-22 12:54:25 -04:00
Fabio Yeon
951a125751
Add "componentstatus" to API for easier cluster health check.
2015-04-17 11:58:23 -07:00
Clayton Coleman
b3f03b934d
Merge pull request #6869 from csrwng/pod_connect
...
Pod proxy, portforward and exec subresources
2015-04-17 09:49:12 -04:00
nikhiljindal
f9132dc572
Registering serviceErrorHandler with go-restful
2015-04-16 14:59:44 -07:00
Cesar Wong
d672363387
Pod proxy, exec and portforward subresources
...
Makes it possible to access the following subresources:
/namespaces/<ns>/pods/<pod-name>[:port]/proxy
/namespaces/<ns>/pods/<pod-name>/exec?container=<container>&command=<cmd>
/namespaces/<ns>/pods/<pod-name>/portforward
2015-04-16 10:20:17 -04:00
Alex Robinson
2b14fc1d14
Remove the cloud provider field from the services REST handler and the master
...
now that load balancers are handled by the ServiceController.
2015-04-14 18:56:47 +00:00
Daniel Smith
629d94657e
Merge pull request #6624 from gmarek/status_to_subresource
...
Update NodeStatus use subresources.
2015-04-09 16:00:15 -07:00
Wojciech Tyczynski
0e5b478b4d
ListMinions support for selectors
2015-04-09 14:22:09 +02:00
gmarek
ccc56d3c3c
Update NodeStatus use subresources.
2015-04-09 14:07:40 +02:00
Tim Hockin
f2c8decffe
Clarify network-related flags in the master
...
Rename and rejigger flags to make it more obvious what is happening. Change
the default listen from ChooseHostInterface() to 0.0.0.0.
2015-04-07 15:55:51 -07:00
Derek Carr
27c12d5160
Merge pull request #6473 from markturansky/yoko_pv_client
...
Added PVClaim status subresource
2015-04-07 11:39:58 -04:00
Cesar Wong
8df4758ee9
Pod log subresource
...
Adds a Log subresource to Pod storage. The Log subresource implements
rest.GetterWithOptions and produces a ResourceStreamer resource that
will stream the log output from the pod's host node.
2015-04-07 07:56:24 -04:00
Cesar Wong
58a1b308c1
Refactor storage return for pod etcd storage
...
Convert the return value of pods rest.NewStorage to a struct.
This will allow returning more storage objects for a pod (sub resources)
without awkwardly adding more return values.
2015-04-07 07:46:30 -04:00
markturansky
4e528a847a
added PVClaim status subresource
2015-04-06 14:42:22 -04:00
markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
Robert Bailey
4488ff95a2
Create an insecure (http) read-only port on the kubelet so that
...
heapster can collect metrics. Update the heapster config to
point to the non-secured port.
2015-04-02 10:45:49 -07:00
Robert Bailey
f15e34a1bf
Revert "Merge pull request #6309 from GoogleCloudPlatform/revert-6243-kubelet-ssl"
...
This reverts commit 96a0a0d618
, reversing
changes made to 2af9b54147
.
2015-04-02 10:44:37 -07:00
Robert Bailey
32a1c052dc
Revert "Configure the kubelet to use HTTPS"
2015-04-01 13:59:31 -07:00
Robert Bailey
58bc792e68
Configure the master to connect to the kubelet using HTTPS.
2015-04-01 09:09:29 -07:00
Brian Grant
af858c99e2
Merge pull request #6098 from nikhiljindal/enableInMaster
...
Enabling v1beta3 api version by default in master
2015-03-31 15:31:18 -07:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Robert Bailey
bc8af553a3
Configure the kubelet to bind a simple healthz server to a localhost
...
port for monitoring by monit. This is in preparation for the standard
kubelet port to switch to SSL only (and eventually to only accepting
connections on the SSL port that present a proper client SSL cert).
Also standardize the formatting of the monit config files a bit.
2015-03-30 14:20:30 -07:00
nikhiljindal
478b7d5edf
Repurposing enableV1beta3 to disableV1beta3 in master config to enable v1beta3 by default
2015-03-30 11:50:10 -07:00
Brian Grant
f0da47b2dd
Merge pull request #5763 from smarterclayton/get_input_parameters_versioned
...
Expose versioned query parameters and make watch an operation on List
2015-03-27 14:35:23 -07:00
Tim Hockin
8ae203825b
Implement multi-port endpoints
...
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}. To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets. This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).
This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.
This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.
This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Clayton Coleman
1618c39a46
Convert List query parameters via object conversion
...
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
Brendan Burns
7c684e4331
Pipe through the ability to set the external hostname for swagger URLs.
2015-03-25 21:08:05 -07:00
Masahiro Sano
c49af0b7cb
port minion registry to generic etcd
2015-03-26 02:44:35 +09:00
Saad Ali
1f50bd226b
Merge pull request #5854 from fgrzadkowski/delete_pod_cache
...
Delete pod_cache and rely on updating pod status by kublet.
2015-03-25 09:17:09 -07:00
Filip Grzadkowski
74da3b14b0
Delete pod_cache and rely on updating pod status by kublet.
2015-03-25 15:08:09 +01:00
Masahiro Sano
410e11c305
port endpoints to generic etcd
2015-03-25 22:15:19 +09:00
Deyuan Deng
ca68f4a9d1
Rename ConditionFull->ConditionTrue, ConditionNone->ConditionFalse
2015-03-24 17:28:59 -04:00
Clayton Coleman
aee9bdd69a
Merge pull request #5805 from liggitt/node_proxy
...
Improve ResourceLocation API, allow proxy to use authenticated transport
2015-03-24 13:01:54 -04:00
Clayton Coleman
97560c409f
Merge pull request #5554 from derekwaynecarr/namespace_controller
...
Namespace Controller to support Namespace Termination
2015-03-24 12:59:00 -04:00
Jordan Liggitt
a75b501821
Improve ResourceLocation API, allow proxy to use authenticated transport
2015-03-24 11:11:34 -04:00
derekwaynecarr
29c491ef2e
Namespace.Spec.Finalizer support
2015-03-24 10:36:06 -04:00
Prashanth Balasubramanian
ef6601646d
Migrate replication controllers to generic etcd
2015-03-23 17:59:25 -07:00
Clayton Coleman
9bb797fe93
Rename NewREST -> NewStorage to align on terminology
2015-03-23 16:52:21 -04:00
Clayton Coleman
d46087db50
Move REST* interfaces into pkg/api/rest
...
Dependency chain is now api -> api/rest -> apiserver. Makes the
interfaces much cleaner to read, and cleans up some inconsistenties
that crept in along the way.
2015-03-23 16:52:21 -04:00
Jerzy Szczepkowski
34a8a3a844
Running node selector predicate on kubelet.
...
Added checking on kubelet if scheduled pods have matching node selector. This is the last step to fix #5207 .
2015-03-23 08:21:58 +01:00
CJ Cullen
2e7356bca7
Merge pull request #5534 from bprashanth/generic_storage_interface
...
Add a GenericRESTStorage interface
2015-03-19 09:35:06 -07:00
Prashanth Balasubramanian
960e16c397
Embed etcdgeneric in RESTStorage for pods
2015-03-18 16:31:33 -07:00
Brian Grant
11f9733599
Merge pull request #5587 from nikhiljindal/enable3
...
Updating integration tests to test both API versions - v1beta1 and 3
2015-03-18 16:14:20 -07:00
nikhiljindal
7e36bbab3c
Updating integration tests to test both API versions - v1beta1 and 3
2015-03-18 15:24:11 -07:00
Filip Grzadkowski
1a352b74ba
Periodically update pod status from kubelet.
2015-03-18 12:11:39 +01:00
Filip Grzadkowski
18b728ff44
Revert "Periodically update pod status from kubelet."
2015-03-17 13:51:45 +01:00
Filip Grzadkowski
336525a27d
Periodically update pod status from kubelet.
2015-03-16 23:03:03 +01:00
Tim Hockin
9eebaa8168
Merge pull request #4115 from sub-mod/master_changes
...
Use discovery heuristics in ChooseHostInterface method to fetch PublicAddress
2015-03-16 14:31:15 -07:00
Clayton Coleman
bddef32193
Prepare EtcdHelper to extract more data from Node
...
In order to support graceful deletion, the resource object will
need access to the TTL value in etcd. Also, in the future we
may want to get the creation index (distinct from modifiedindex)
and expose it to clients. Change EtcdResourceVersioner to be
more type specific (objects vs lists) and provide a default
implementation that relies on the internal API convention.
Also, rename etcd_tools.go to etcd_helper.go and split a few
things up.
2015-03-16 15:33:50 -04:00
Subin M
1138045185
use ChooseHostInterface to get IP
2015-03-16 23:37:00 +05:30