Commit Graph

10808 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
035332f1ab Merge pull request #72343 from danielqsj/adm
Fix admission metrics in true units
2019-01-28 23:06:09 -08:00
Mike Spreitzer
4982cbb2d8 Update doc for k8s.io/code-generator/cmd/conversion-gen
Added explanation of the `k8s:conversion-gen-external-types` comment
tag.

Added explanation of how the developer can selectively override the
generated conversion functions.

Also updated description in Makefile.generated_files.
2019-01-28 13:46:25 -05:00
Chao Xu
3419adeaa3 generated BUILD
generated proto
2019-01-28 09:53:12 -08:00
Chao Xu
4ce66d949d API change: adding storage version hash 2019-01-28 09:42:25 -08:00
Kubernetes Prow Robot
b54795e410 Merge pull request #73222 from sttts/sttts-import-restrictions-owners
Move import-restrictions.yaml to staging/publishing
2019-01-26 15:34:12 -08:00
Nikhita Raghunath
8b4f846016 publishing: bump go version to 1.10.8 for release-1.12 2019-01-27 00:50:17 +05:30
Dr. Stefan Schimanski
9377448667 Move hack/import-restrictions.yaml to staging/publishing 2019-01-26 19:53:51 +01:00
mourya007
7c37e91a6d Re-Organize the pkutil library 2019-01-26 14:56:36 +05:30
Kubernetes Prow Robot
5673506540 Merge pull request #73320 from liggitt/initializer-cleanup
Clean up initializer-related comments, test data
2019-01-25 15:28:18 -08:00
Kubernetes Prow Robot
b04d7ca976 Merge pull request #72896 from lorenz/fix-apiserver-healthcheck
Fix etcd healthcheck for consensus failures
2019-01-25 15:27:45 -08:00
Kubernetes Prow Robot
1c65186560 Merge pull request #72768 from rmohr/omitempty-datasource
Set omitempty on DataSource for snapshot on PVCs
2019-01-25 15:27:36 -08:00
Jordan Liggitt
89b0b0b84b Clean up initializer-related comments, test data 2019-01-25 12:37:45 -05:00
Krzysztof Siedlecki
91d9f7f0c0 adding dependencies 2019-01-25 14:19:05 +01:00
Krzysztof Siedlecki
4e4d380b32 adding trace to reflector initialization 2019-01-25 11:39:20 +01:00
Kubernetes Prow Robot
50cf168e83 Merge pull request #72552 from tallclair/validateproxyredirects
Promote ValidateProxyRedirects to Beta and enable by default
2019-01-24 17:46:32 -08:00
Kubernetes Prow Robot
2cbb16bc8d Merge pull request #73243 from andrewsykim/update-utils-vendor
Update vendor k8s.io/utils and remove internal utils
2019-01-24 16:30:14 -08:00
Steffen Butzer
f243c88779 windows/service: implement graceful shutdown when run as windows service
- Fixes https://github.com/kubernetes/kubernetes/issues/72900
The issue here originally is that os.Exit() is called which exits
the process too early (before svc.Execute updates the status to stopped).
This is picked up as service error and leads to restarting,
if restart-on-fail is configured for the windows service.
svc.Execute already guarantees that the application is exited after,
so that os.Exit call would be unnecessary.

This rework also adds graceful shutdown, which also resolves the
underlying root cause. The graceful shutdown is not guaranteed
to succeed, since the service controller can decide to kill
the service any time after exceeding a shutdown timeout.
2019-01-25 00:34:42 +01:00
Kubernetes Prow Robot
4a44df3fef Merge pull request #73277 from smarterclayton/ignore_goaway
Add the http2 GOAWAY error to IsProbableEOF for ignoring in watch
2019-01-24 14:55:22 -08:00
Kubernetes Prow Robot
e28c757e87 Merge pull request #72972 from liggitt/remove-alpha-initializers
Remove use of alpha initializers
2019-01-24 14:54:52 -08:00
Tim Allclair
d512173c86 Apply caching limits to authorized requests too 2019-01-24 13:37:53 -08:00
Tim Allclair
e23c15a0f3 Only check caller-controlled attribute size for max cache key 2019-01-24 13:37:52 -08:00
Tim Allclair
ea1b4eb239 Don't cache rediculous subject access reviews 2019-01-24 13:37:52 -08:00
Andrew Kim
93b086f6ea replace k8s.io/apiserver/pkg/util/trace with k8s.io/utils/trace 2019-01-24 15:34:21 -05:00
Andrew Kim
2358e75da3 replace client-go/util/buffer with k8s.io/utils/buffer 2019-01-24 15:34:21 -05:00
Andrew Kim
0bc5508aca replace client-go/util/integer with k8s.io/utils/integer 2019-01-24 15:34:21 -05:00
Andrew Kim
e321cdaee4 vendor k8s.io/utils to 8a87304934321b4b0ad72a7cb3cbc715d67d38c7 2019-01-24 13:49:04 -05:00
Kubernetes Prow Robot
d027ecfa97 Merge pull request #70778 from wongma7/lease
Add Lease implementation to leaderelection package
2019-01-24 08:45:25 -08:00
Clayton Coleman
640caeb74f Add the http2 GOAWAY error to IsProbableEOF for ignoring in watch
http2 is allowed to tell us to go away, and for watch it is safe
to exit and restart in almost all cases where a connection is
forcibly closed by the upstream. This error message happens a lot
behind ELB and other http2 aware proxies.

Treat the error as "basically done" as suggested by

https://github.com/golang/go/issues/18639#issuecomment-285515534
2019-01-24 09:59:33 -05:00
Jimmy Zhang
28528fd4d8 optimize PersistentVolumeAccessMode comment 2019-01-24 18:18:06 +08:00
Kubernetes Prow Robot
1fc7b07bba Merge pull request #73202 from wojtek-t/fix_tools_cache_tests
Couple fixes to DeltaFIFO machinery
2019-01-23 22:06:38 -08:00
Kubernetes Prow Robot
31311a6343 Merge pull request #73148 from liggitt/remove-deprecated-swagger-paths
remove deprecated openapi paths in favor of /openapi/v2
2019-01-23 22:06:21 -08:00
danielqsj
481c2d8e03 fix shellcheck in k8s.io/apiserver 2019-01-24 13:55:09 +08:00
Jordan Liggitt
c09ccc9b70 Mark rules field as optional 2019-01-23 23:59:23 -05:00
Kubernetes Prow Robot
9f4a495a41 Merge pull request #73023 from sttts/sttts-publishing-rules
staging/publishing: move rules here from publishing bot repo
2019-01-23 14:09:46 -08:00
Jordan Liggitt
1a15d80967 generated 2019-01-23 16:34:44 -05:00
Jordan Liggitt
047ecae1f4 mark metadata.initializers as deprecated 2019-01-23 16:34:43 -05:00
Jordan Liggitt
17aa60686e Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options 2019-01-23 16:34:43 -05:00
Dr. Stefan Schimanski
2842617132 staging/publishing: remove everything up to 1.9 (including) 2019-01-23 19:13:08 +01:00
Dr. Stefan Schimanski
161b2b96fd staging/publishing: move rules here from publishing-bot repo 2019-01-23 19:13:08 +01:00
Jordan Liggitt
dc1fa870bf Remove alpha InitializerConfiguration types, Initializers admission plugin 2019-01-23 11:37:39 -05:00
Matthew Wong
410175851c Add Lease implementation to leaderelection package 2019-01-23 10:50:53 -05:00
Wojciech Tyczynski
c8d89b34cc Revert "Adding trace to reflector initialization" 2019-01-23 14:50:37 +01:00
danielqsj
078115a604 fix shellcheck in sample-controller 2019-01-23 20:56:25 +08:00
wojtekt
d880f8c1ca Couple fixes to DeltaFIFO machinery 2019-01-23 09:46:53 +01:00
Ted Yu
6a819f7536 Correct message for step value check 2019-01-22 09:42:53 -08:00
Silvan Kaiser
cc71b0aebd Adding Tenant to QuobyteVolumeSource
Adds the tenant id to the QuobyteVolumeSource type and
updates the quobyte api client to support looking up
volume ids.
2019-01-22 14:42:12 +01:00
Krzysztof Siedlecki
e2a017327c adding dependency 2019-01-22 11:00:51 +01:00
Krzysztof Siedlecki
21334f1f28 adding trace to reflector initialization 2019-01-22 11:00:51 +01:00
Kubernetes Prow Robot
27e5971c11 Merge pull request #73149 from liggitt/jsonpath-range-step
Fix jsonpath slice step handling
2019-01-21 20:32:11 -08:00
Kubernetes Prow Robot
5617286359 Merge pull request #73138 from liggitt/deletionTimestamp
Do not move deletionTimestamp to the future
2019-01-21 17:58:44 -08:00