Kenneth Owens
7c772ab2ad
autogenerated code
2017-11-03 10:16:43 -07:00
Kenneth Owens
26bf978c07
Promotes the StatefulSet, ControllerRevision, Deployment, and ReplicaSet kinds to the apps/v1 group version.
2017-11-02 14:19:04 -07:00
Dr. Stefan Schimanski
2452afffe0
admission: wire create+update validation func into kube registries
2017-11-02 09:29:16 +01:00
Janet Kuo
78d74fa6ec
Validate apps/v1 DaemonSet selector immutable on updates
2017-10-30 15:35:17 -07:00
Jordan Liggitt
729a0da155
Specify correct subresource discovery info
2017-10-27 23:57:38 -04:00
Dr. Stefan Schimanski
cad0364e73
Update bazel
2017-10-18 17:24:04 +02:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Dr. Stefan Schimanski
ecb65a6a71
Update generated files
2017-10-07 11:28:47 +02:00
Dr. Stefan Schimanski
509df603b1
apimachinery: mechanical removal of ObjectCopier plumbing
2017-10-06 19:21:03 +02:00
Clayton Coleman
fc2d201e15
Allow watch cache to be disabled per type
...
Currently setting watch cache size for a given resource does not disable
the watch cache. This commit adds a new `default-watch-cache-size` flag
to map to the existing field, and refactors how watch cache sizes are
calculated to bring all of the code into one place. It also adds debug
logging to startup to allow us to verify watch cache enablement in
production.
2017-09-08 13:42:28 -04:00
Kubernetes Submit Queue
f9a82dd3b7
Merge pull request #50924 from liggitt/alpha-fields
...
Automatic merge from submit-queue (batch tested with PRs 51682, 51546, 51369, 50924, 51827)
Clear values for disabled alpha fields
Fixes #51831
Before persisting new or updated resources, alpha fields that are disabled by feature gate must be removed from the incoming objects.
This adds a helper for clearing these values for pod specs and calls it from the strategies of all in-tree resources containing pod specs.
Addresses https://github.com/kubernetes/community/pull/869
2017-09-03 15:54:22 -07:00
Jordan Liggitt
02281898f8
Clear values for disabled alpha fields
2017-09-01 14:34:01 -04:00
David Eads
65d0f188f6
expose discovery information on scalable resources
2017-09-01 10:52:26 -04:00
crimsonfaith91
9929e03f87
ignore selector changes for deployment, replicaset and daemonset prior update
2017-08-30 13:15:19 -07:00
Kubernetes Submit Queue
69187e0651
Merge pull request #51244 from lichuqiang/fix_rollback
...
Automatic merge from submit-queue (batch tested with PRs 51244, 50559, 49770, 51194, 50901)
fix status in deployment_rollback response
**What this PR does / why we need it**:
fix status in deployment_rollback response
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
#51243
2017-08-25 04:11:05 -07:00
lichuqiang
d5a937dc20
fix status in deployment_rollback response
2017-08-24 17:09:00 +08:00
Clayton Coleman
da5265d19a
Enable server side printers for converted types
2017-08-17 17:41:34 -04:00
Dr. Stefan Schimanski
6bc9f3fba6
Update generated files
2017-08-15 11:56:46 +02:00
Dr. Stefan Schimanski
b0b5de6eaf
Port internal extensions/Network* to networking.k8s.io API group
2017-08-15 11:56:46 +02:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Kubernetes Submit Queue
4dc4c3c4a4
Merge pull request #49624 from guangxuli/fix_daemonset_resource_type
...
Automatic merge from submit-queue (batch tested with PRs 50306, 49624)
Add daemonset to all categories
**What this PR does / why we need it**:
We could get daemonset resource by running command `kubectl get all`.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
fix https://github.com/kubernetes/kubernetes/issues/49620
2017-08-10 06:27:19 -07:00
deads2k
ec397c4374
convert default predicates to use the default
2017-08-07 09:05:17 -04:00
Shiyang Wang
2eda19da7b
Fix NotFound errors do not line up with API endpoint's group version
2017-08-07 16:30:40 +08:00
guangxuli
7db36811be
add daemonset to all categories
2017-07-26 15:41:47 +08:00
deads2k
254e71bfc6
bulk delete of tpr packages
2017-07-05 11:02:23 -04:00
deads2k
3ee458d246
remove tpr API access
2017-07-03 11:25:59 -04:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
cde4772928
run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles
2017-06-22 11:30:52 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Kubernetes Submit Queue
08c705e875
Merge pull request #46800 from deads2k/agg-33-priority
...
Automatic merge from submit-queue (batch tested with PRs 47492, 47542, 46800, 47545, 45764)
separate group and version priority
Fixes https://github.com/kubernetes/kubernetes/issues/46322
This just modifies the API and does the minimal plumbing. I can extend this pull or do another to fix the priority problem.
2017-06-14 21:43:44 -07:00
Anthony Yeh
17cbc5e014
Fix TPR watches.
2017-06-14 16:58:49 -07:00
deads2k
963c85e1c8
sort current API versions and fallback for others
2017-06-14 09:29:44 -04:00
Christoph Blecker
1bdc7a29ae
Update docs/ URLs to point to proper locations
2017-06-05 22:13:54 -07:00
Fabiano Franz
058f9b4f32
Add group alias names to discovery in registry
2017-06-05 20:18:12 -03:00
Clayton Coleman
2568a92119
Grow signature for predicate attributes to include init status
2017-06-02 22:09:04 -04:00
Clayton Coleman
331eea67d8
Allow initialization of resources
...
Add support for creating resources that are not immediately visible to
naive clients, but must first be initialized by one or more privileged
cluster agents. These controllers can mark the object as initialized,
allowing others to see them.
Permission to override initialization defaults or modify an initializing
object is limited per resource to a virtual subresource "RESOURCE/initialize"
via RBAC.
Initialization is currently alpha.
2017-06-02 22:09:03 -04:00
Anthony Yeh
ba59e14d44
Add TPR to CRD migration helper.
2017-05-31 19:07:38 -07:00
xilabao
d555b1e265
fix err message in storage extensions
2017-05-23 10:22:01 +08:00
Dr. Stefan Schimanski
b799e62e1a
apiserver: tri-state watch cache capacity: off, default, value
2017-05-08 11:29:01 +02:00
Dr. Stefan Schimanski
b0b711119b
apimachinery: rename meta.{ -> UnsafeGuess}KindToResource
2017-05-03 09:49:02 +02:00
Kubernetes Submit Queue
3e16a27d5b
Merge pull request #44808 from shiywang/SemanticDeepEqual
...
Automatic merge from submit-queue (batch tested with PRs 44931, 44808)
Update to use Semantic.DeepEqual in regsitry
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/kubernetes/kubernetes/issues/43402
**Release note**:
```
NONE
```
/assign @janetkuo
2017-04-26 05:48:41 -07:00
Shiyang Wang
34a114f6a9
Update to use Semantic.DeepEqual in regsitry
2017-04-23 14:52:05 +08:00
Monis Khan
ed35deb69d
Default ObjectNameFunc for all REST Stores
...
All Stores in Kubernetes follow the same logic for determining the name
of an object. This change makes it so that CompleteWithOptions defaults
the ObjectNameFunc if it is not specified. Thus a user does not need to
remember to use ObjectMeta.Name. Using the wrong field as the name can
lead to an object which has a name that bypasses normal object name
validation.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2017-04-21 15:47:25 -04:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
Nikhita Raghunath
eb88c4bce4
Preserve int data when unmarshalling for TPR
...
The Go json package converts all numbers to float64.
This exposes many of the int64 fields to corruption when marshalled back to json.
The json package provided by kubernetes also provides a way to defer conversion of numbers
(https://golang.org/pkg/encoding/json/#Decoder.UseNumber ) and does the conversions to int or float.
This is also implemented in the custom json package. See:
(https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/util/json/json.go )
Fixes #30213
Update bazel build and add one more test case
Fix for gofmt error
2017-04-05 19:48:56 +05:30
deads2k
8895f314b4
move category expansion out of restmapper
2017-03-27 13:54:05 -04:00
Janet Kuo
f780f32c1e
Use Semantic.DeepEqual to compare DaemonSet template on updates
2017-03-20 13:58:49 -07:00
Kubernetes Submit Queue
d306acca86
Merge pull request #42175 from enisoc/controller-ref-dep
...
Automatic merge from submit-queue
Deployment: Fully Respect ControllerRef
**What this PR does / why we need it**:
This is part of the completion of the [ControllerRef](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/controller-ref.md ) proposal. It brings Deployment into full compliance with ControllerRef. See the individual commit messages for details.
**Which issue this PR fixes**:
This ensures that Deployment does not fight with other controllers over control of Pods and ReplicaSets.
Ref: https://github.com/kubernetes/kubernetes/issues/24433
**Special notes for your reviewer**:
**Release note**:
```release-note
Deployment now fully respects ControllerRef to avoid fighting over Pods and ReplicaSets. At the time of upgrade, **you must not have Deployments with selectors that overlap**, or else [ownership of ReplicaSets may change](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/controller-ref.md#upgrading ).
```
cc @erictune @kubernetes/sig-apps-pr-reviews
2017-03-07 20:44:36 -08:00
Anthony Yeh
2217363845
DaemonSet: Set DefaultGarbageCollectionPolicy to OrphanDependents.
...
Now that DaemonSet adds ControllerRef to Pods it creates,
we need to set this default so legacy behavior is maintained.
2017-03-07 16:42:28 -08:00
Anthony Yeh
cec3899b96
Deployment: Remove Overlap and SelectorUpdate annotations.
...
These are not used anymore since ControllerRef now protects against
fighting between controllers with overlapping selectors.
2017-03-06 15:12:08 -08:00
Łukasz Oleś
620310c12f
Move TemplateGeneration to the Spec
2017-02-27 09:15:56 +01:00
Łukasz Oleś
b27308c317
DaemonSet updates
...
It implements https://github.com/kubernetes/community/blob/master/contributors/design-proposals/daemonset-update.md
Feature https://github.com/kubernetes/features/issues/124
2017-02-27 09:15:56 +01:00
nikhiljindal
1d32897eed
Updating the registry to return whether the resource was immediately deleted
2017-02-21 11:00:35 -08:00
Dr. Stefan Schimanski
0e9c1f75bf
Update bazel
2017-02-15 10:25:15 +01:00
Dr. Stefan Schimanski
27e01b5c46
k8s.io/apiserver: fixup imports and renamed packages
2017-02-15 10:24:58 +01:00
p0lyn0mial
b2cce0ac8e
added short names for resources which are exposed during discovery
2017-02-06 23:35:07 +01:00
Dr. Stefan Schimanski
6af3210d6f
Update generated files
2017-02-03 08:15:46 +01:00
Dr. Stefan Schimanski
536460e1d9
Mechanical fixup imports: pkg/genericapiserver
2017-02-03 08:15:45 +01:00
Dr. Stefan Schimanski
80b96b441b
Mechanical import fixup: pkg/storage
2017-02-03 07:33:43 +01:00
Kubernetes Submit Queue
62c9cb4684
Merge pull request #40853 from sttts/sttts-more-cutoffs-7
...
Automatic merge from submit-queue (batch tested with PRs 35782, 35831, 39279, 40853, 40867)
genericapiserver: cut off more dependencies – episode 7
Follow-up of https://github.com/kubernetes/kubernetes/pull/40822
approved based on #40363
2017-02-02 09:53:52 -08:00
Piotr Szczesniak
868118d49f
Autogenerated changes
2017-02-02 15:26:10 +01:00
Dr. Stefan Schimanski
de2eee391a
Update bazel
2017-02-02 15:19:04 +01:00
Dr. Stefan Schimanski
b8142896a7
pkg/genericapiserver: cut off pkg/registry/cachesize dependency
2017-02-02 15:19:03 +01:00
Dr. Stefan Schimanski
bfe0d50ce8
pkg/genericapiserver/server: cut off from pkg/api
2017-02-02 15:19:01 +01:00
Dr. Stefan Schimanski
871fc426b3
pkg/storage: move errors here from pkg/api/errors/storage
2017-02-02 15:17:34 +01:00
Piotr Szczesniak
a35ad8f6ba
Removed HPA objects from extensions api group
2017-02-02 14:09:54 +01:00
deads2k
1ef5d26079
move pkg/storage to apiserver
2017-01-31 19:07:33 -05:00
Kubernetes Submit Queue
3e81148c55
Merge pull request #40083 from soltysh/remove_extjobs
...
Automatic merge from submit-queue (batch tested with PRs 40405, 38601, 40083, 40730)
Remove extensions/v1beta1.Jobs leftover
It looks like I missed this one file when removing `extensions/v1beta1.Jobs` last time (#38614 ).
@caesarxuchao ptal, since you were reviewing last time
@kubernetes/sig-api-machinery-misc fyi
2017-01-31 04:44:43 -08:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
Dr. Stefan Schimanski
44ea6b3f30
Update generated files
2017-01-29 21:41:45 +01:00
Dr. Stefan Schimanski
79adb99a13
pkg/api: move Semantic equality to k8s.io/apimachinery/pkg/api/equality
2017-01-29 21:41:45 +01:00
deads2k
9fb37f3bba
remove storage dependency on api
2017-01-27 14:02:28 -05:00
Rene Saenz
bfc0451da3
Executed update-bazel.sh
2017-01-25 09:44:51 -06:00
Rene Saenz
1bf6c76928
Rename controller pkg/registry/core/controller to pkg/registry/core/replicationcontroller
2017-01-24 18:15:51 -06:00
Clayton Coleman
9009c1ac14
generated: informer,client
2017-01-23 17:52:47 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
Clayton Coleman
a35be4e02e
Update registries to use metainternalversion list options
2017-01-23 17:52:45 -05:00
Clayton Coleman
c12344b3b8
Tests that check metav1
2017-01-23 16:53:19 -05:00
Clayton Coleman
6ea557d4b2
Fix tests after new defaulted value added
2017-01-23 12:37:21 -05:00
deads2k
11e8068d3f
move pkg/fields to apimachinery
2017-01-19 09:50:16 -05:00
Dr. Stefan Schimanski
3d9449a353
genericapiserver: fix imports
2017-01-19 13:06:47 +01:00
Maciej Szulik
9eeb7b9729
Remove extensions/v1beta1.Jobs leftover
2017-01-18 16:06:38 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Clayton Coleman
36acd90aba
Move APIs and core code to use metav1.ObjectMeta
2017-01-17 16:17:18 -05:00
Dr. Stefan Schimanski
8fe0958ba0
Update bazel
2017-01-17 09:30:48 +01:00
Dr. Stefan Schimanski
5c88b7d05a
Fix imports
2017-01-17 09:30:30 +01:00
deads2k
a3e71b2cef
move name generation to generic api server storage helpers
2017-01-16 16:04:04 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
deads2k
31b6ba4e94
mechanicals
2017-01-13 16:33:09 -05:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
Timothy St. Clair
fbc5323dad
Refactor registry to use store vs. etcd
2017-01-12 09:23:38 -06:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Clayton Coleman
f07c6486ba
Rename metav1.Event to metav1.WatchEvent to avoid swagger collision
...
The kind on this object was always WatchEvent
2017-01-06 23:45:04 -05:00
Clayton Coleman
e5019de260
refactor: Move versioned/watch to meta/v1
2017-01-06 23:45:03 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Dr. Stefan Schimanski
87dd990bb7
Move pkg/api.{Context,RequestContextMapper} into pkg/genericapiserver/api/request
2017-01-03 14:57:33 +01:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Mayank Kumar
777977612b
ReplicaSet has owner ref of the Deployment that created it
2016-12-22 16:45:50 -08:00