Commit Graph

6132 Commits

Author SHA1 Message Date
Kevin Wiesmüller
4394bf7798 change managedFields sort order to oldest first 2019-03-05 07:45:08 +01:00
Dr. Stefan Schimanski
b9e12fd4db Add proto roundtrip tests in roundtrip_test.go files 2019-03-04 22:35:42 -05:00
Deep Debroy
1fb4290c4e Update API names and references
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 19:13:05 -08:00
David Zhu
e59f261c12 Fix partition for 0 partitions defaulting 2019-03-04 18:22:10 -08:00
jennybuckley
db0562bdbd add IsMissingVersionError 2019-03-04 17:29:11 -08:00
jennybuckley
dd96afc9cf update staging godeps 2019-03-04 17:02:44 -08:00
Deep Debroy
1da91ad39a Add GetIntreeNameFromCSIName and SupersedesInTreePlugin APIs and unit tests
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 16:36:45 -08:00
jennybuckley
bad7599f06 Update conversion code 2019-03-04 16:30:37 -08:00
Jordan Liggitt
1d4655c8ef generated files
Change-Id: I5a43a4e1a601b85d21b551fcfc9fdbd16a095d06
2019-03-05 00:30:12 +00:00
Jordan Liggitt
0797d81222 Add scope restrictions to webhook admission rules 2019-03-05 00:30:12 +00:00
Aaron Crickenberger
feb0937fa4 Merge pull request #74902 from liggitt/regen-proto
Update generated protobuf files
2019-03-04 15:52:03 -08:00
Kubernetes Prow Robot
dddb13c690 Merge pull request #74711 from SataQiu/fix-golint-2019022802
Fix golint failures in staging/src/k8s.io/apiserver/pkg/storage/errors, staging/src/k8s.io/apiserver/pkg/storage/etcd
2019-03-04 13:25:38 -08:00
Jordan Liggitt
f6f1d5abf5 Update generated protobuf files
Change-Id: Ie01ce38d25d05e90d79ddc6e80584a21cf7ff299
2019-03-04 20:14:55 +00:00
Kubernetes Prow Robot
d0c3b70802 Merge pull request #74804 from sttts/sttts-crd-validation-nullable
apiextensions: add nullable support to OpenAPI v3 validations
2019-03-04 10:43:30 -08:00
Nikhita Raghunath
5102b27660 publishing: add component-base as dependency for 1.14 branches 2019-03-04 23:52:35 +05:30
Kubernetes Prow Robot
8770e0cd39 Merge pull request #74664 from dims/prepare-publishing-bot-for-1.14-branch
Add 1.14 branches for the publishing-bot
2019-03-04 09:01:21 -08:00
Davanum Srinivas
5616e23b75 Add 1.14 branches for the publishing-bot
Change-Id: Id34d1f12361e587e02f7dba077a9600618737878
2019-03-04 08:43:41 -05:00
Kubernetes Prow Robot
c54978a6cf Merge pull request #74806 from mxinden/increase-bucket-resolution
src/k8s.io/apiserver: Increase cert expiration histogram resolution
2019-03-02 21:13:03 -08:00
Xing Yang
3260d3a7b5 Add generated files 2019-03-02 18:40:23 -08:00
Xing Yang
ba4ccfa8b1 Add review comments in the APIs 2019-03-02 18:40:22 -08:00
Xing Yang
743d3a26e9 Add generated files 2019-03-02 12:31:05 -08:00
Xing Yang
bb45b8ee34 Make CSINodeInfo and CSIDriver Core APIs
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Kevin Wiesmüller
081ccdc75e cleanup sort implementation 2019-03-02 12:07:19 +01:00
Kubernetes Prow Robot
9b8c58644a Merge pull request #74418 from danielqsj/duration
convert latency/latencies in metrics name to duration
2019-03-01 17:58:12 -08:00
Dr. Stefan Schimanski
f2e2f906c4 apiextensions: filter null types in ConvertJSONSchemaPropsToOpenAPIv2Schema 2019-03-01 18:11:45 +01:00
Dr. Stefan Schimanski
23b7d8b7b9 apiextensions: generalize nullable to arbitrary types 2019-03-01 18:11:44 +01:00
Dr. Stefan Schimanski
975d537ff8 apiextensions: add nullable support to OpenAPI v3 validation 2019-03-01 17:14:17 +01:00
danielqsj
6a27a4a5b9 update generated file 2019-03-01 06:41:09 -07:00
Dr. Stefan Schimanski
b7f11084fa Update staging godeps 2019-03-01 14:37:06 +01:00
Kevin Wiesmüller
9ac127408d implement sorting of managedFields 2019-03-01 12:51:01 +01:00
Max Leonard Inden
f90bbc3d6b src/k8s.io/apiserver: Increase cert expiration histogram resolution
The `certificate_expiration_seconds` histogram measures the remaining
time of client certificates used to authenticate to the API server. It
records the lifetime of received client request certificates in buckets
of 6h, 12h, ..., 1y.

In environments with automated certificate rotation it is not uncommen
to have issued certificates expire in less than the above mentioned
minimum bucket of 6h. In such environments the above histogram is
useless given that every request will be recorded in the first bucket.

This patch increases the histogram resolution by adding a 30m, 1h and 2h
bucket. Prometheus histogram buckets are cummulative, e.g. the 12h
bucket is counting _all_ records with an expiration date lower or equal
to 12h including _all_ requests of the 6h bucket. Thereby this patch
does not break existing monitoring setups.  This histogram is exposed
once per API server, thereby the 3 additional time series do not cause a
cardinality issue.
2019-03-01 11:49:49 +01:00
Kubernetes Prow Robot
fa86a27d02 Merge pull request #74778 from roycaihw/feat/crd-openapi-v3-v2-conversion
CRD openapi v3 -> v2 conversion
2019-03-01 02:29:51 -08:00
danielqsj
696c98a5e6 fix golint failures for metrics api 2019-03-01 17:36:20 +08:00
Haowei Cai
43843dad0d clean up import 2019-02-28 22:11:49 -08:00
Kubernetes Prow Robot
caaad1be26 Merge pull request #72526 from justinsb/testdata_should_not_be_executable
Remove executable permission from testdata
2019-02-28 20:35:56 -08:00
Haowei Cai
c2dd76263a generated 2019-02-28 19:33:25 -08:00
Haowei Cai
19ccaf5408 allow importing kube-openapi 2019-02-28 19:33:11 -08:00
Haowei Cai
662c53971c openapi v3 to v2 conversion
k/k#71137:
- apiextensions: prune {any,one}Of + Not recursively on OpenAPI v2 conversion

roycaihw/kubernetes#6:
- apiextensions: filter CRD schema to not break (too) strict kube-openapi
- model validator;
- SQUASH: fix root level filtering to not drop properties;
- SQUASH: fix incomplete test specs which degenerate during kubectl <= 1.13 filtering

Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-02-28 19:07:10 -08:00
Kubernetes Prow Robot
ae561229a6 Merge pull request #74735 from liggitt/simplfy-package-test
Simplify package skipping test
2019-02-28 14:46:30 -08:00
Kubernetes Prow Robot
0d7eb7006f Merge pull request #74532 from deads2k/crd-health
CRD server wait for CRDs to sync before reporting healthy
2019-02-28 14:46:19 -08:00
Jordan Liggitt
1676a49d8c Simplify package skipping test 2019-02-28 12:40:28 -05:00
Kevin Wiesmüller
822c0da844 start implementing managedFields sorting 2019-02-28 14:24:02 +01:00
SataQiu
11451bbb59 fix golint failures in staging/src/k8s.io/apiserver/pkg/storage/errors, staging/src/k8s.io/apiserver/pkg/storage/etcd 2019-02-28 15:51:05 +08:00
David Eads
62c32fd044 CRD server wait for CRDs to sync before reporting healthy 2019-02-27 16:00:32 -05:00
Kubernetes Prow Robot
d11baea6f9 Merge pull request #74663 from tnozicka/fix-retrywatcher-unit-flake
Fix race in RetryWatcher's unit tests
2019-02-27 11:13:30 -08:00
Tomas Nozicka
b39d079b69 Fix race in RetryWatcher's unit tests 2019-02-27 16:35:55 +01:00
Kubernetes Prow Robot
601c2d8550 Merge pull request #74344 from Betula-L/fix-dynamic-informer
fix dynamic informer mishandles parameter tweakListOptions
2019-02-27 04:33:52 -08:00
Kubernetes Prow Robot
a514fa042e Merge pull request #74636 from logicalhan/reflector-metrics
Remove reflector metrics since they are causing a memory leak
2019-02-27 03:24:09 -08:00
Kubernetes Prow Robot
218642e84e Merge pull request #74562 from roycaihw/feat/admission-webhook-timeout
admission webhook: timeout configuration
2019-02-26 23:40:44 -08:00
Kubernetes Prow Robot
38a325250f Merge pull request #73676 from martin-helmich/bugfix/expose-forwarded-local-port
client-go: Dynamically assigned local port number not retrievable when port-forwarding
2019-02-26 20:55:12 -08:00