yue9944882
3b1624f0cc
remove kube-aggregator/pkg/client/*
...
use v1 api
[DO NOT REVIEW] bazel changes
code-gen script changes
update hack/update-vendor
remove useless interface type cast
2019-07-16 23:11:15 +08:00
Kubernetes Prow Robot
b45bfef437
Merge pull request #78473 from xichengliudui/deleteTODO
...
delete TODO: remove when we stop supporting the legacy group version
2019-07-09 06:34:03 -07:00
Dr. Stefan Schimanski
f82bc712de
aggregator: wire OpenAPI correctly into PrepareRun flow
2019-07-08 13:59:00 +02:00
Dr. Stefan Schimanski
7c4329ed45
apiserver: chain delegated PrepareRun
2019-07-08 12:20:20 +02:00
Mike Danese
bc59028b09
Create a service account Getter when TokenRequest is enabled
...
Fixes a nil panic when --service-account-lookup=false and TokenRequest
is enabled.
2019-07-02 16:56:31 -07:00
Kubernetes Prow Robot
dd8a000a77
Merge pull request #79493 from odinuge/kube-cmd-double-print
...
Remove duplicate error messages from cli commands
2019-06-28 13:57:41 -07:00
Odin Ugedal
7caf51daa4
Remove duplicate error messages from cli commands
...
Since we never use the cobras "SilenceErrors" or "SilenceUsage",
a command executed with "cmd.Execute()" will never return an error
without printing it.
The current behavior results in all error messages being printed twice:
Example:
$ kubectl abc
Error: unknown command "abc" for "kubectl"
Run 'kubectl --help' for usage.
unknown command "abc" for "kubectl"
This applies to all cli commands using Cobra. To verify, follow the code
path of the Execute function:
https://github.com/spf13/cobra/blob/c439c4fa0937/command.go#L793
Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-27 21:55:14 +02:00
Han Kang
54dcf5c9c4
add readyz endpoint for kube-apiserver readiness checks
...
add startup sequence duration and readyz endpoint
add rbac bootstrapping policy for readyz
add integration test around grace period and readyz
rename startup sequence duration flag
copy health checks to fields
rename health-check installed boolean, refactor clock injection logic
cleanup clock injection code
remove todo about poststarthook url registration from healthz
2019-06-17 11:16:13 -07:00
Kubernetes Prow Robot
042b0d7e60
Merge pull request #77540 from SataQiu/fix-apiserver-20190507
...
Mark deprecated kubelet-read-only-port
2019-06-14 00:28:21 -07:00
Clayton Coleman
26a6cdda86
Set integration tests to use distinct namespaces
...
TestWatchBasedManager was racing with the default namespace creation.
To fix that flake and to ensure integration tests using a shared etcd
don't accidentally overlap in the future, move the three main tests
using the default namespace to separate namespaces, and have
TestWatchBasedManager create that namespace before it runs.
Make StartTestServer wait for default namespace creation, which will
reduce other flakes until future changes completely remove use of default
namespace.
From a failed integration run:
watch_manager_test.go:66: namespaces "default" not found
watch_manager_test.go:66: namespaces "default" not found
watch_manager_test.go:66: namespaces "default" not found
2019-05-30 19:11:50 -04:00
Kubernetes Prow Robot
6e78282a82
Merge pull request #77611 from rohitsardesai83/deprecate-logs-handler-apiserver
...
Fix 77515 Deprecate the option to enable the log handler for apiserver
2019-05-29 05:32:47 -07:00
aaa
a55b9301da
delete TODO: remove when we stop supporting the legacy group version
2019-05-29 06:04:16 -04:00
Rohit Sardesai
a50273f9d4
Fix 77515 Deprecate the option to enable the log handler for apiserver
2019-05-28 15:20:40 +05:30
Kubernetes Prow Robot
c6338cbb58
Merge pull request #76720 from xichengliudui/constant-block
...
Using const() defines constants together
2019-05-22 15:14:25 -07:00
Jordan Liggitt
0b88095a17
Switch admission webhook test to work with shared etcd
2019-05-17 09:54:14 -07:00
Stephen Chan
7cbe2d6c5f
move signal handling for hyperkube apiserver and kubelet commands out of hyperkube main command
2019-05-09 21:27:44 -07:00
SataQiu
5724d14d54
mark deprecated kubelet-read-only-port
2019-05-07 19:03:12 +08:00
Jordan Liggitt
90cd672ab6
Enable paging by default in etcd options, by feature flag in sample-apiserver
2019-04-30 17:49:34 -04:00
aaa
5cb91e5ae3
Using const() defines constants together
...
Signed-off-by: aaa <1693291525@qq.com>
update pull request
Signed-off-by: xichengliudui <1693291525@qq.com>
update pull request
Signed-off-by: xichengliudui <1693291525@qq.com>
update pull request
Signed-off-by: xichengliudui <1693291525@qq.com>
update pull request
Signed-off-by: xichengliudui <1693291525@qq.com>
update pull request
Signed-off-by: xichengliudui <1693291525@qq.com>
update pull request
Signed-off-by: aaa <1693291525@qq.com>
update pull request reset marshal.go
2019-04-27 11:07:01 -04:00
Han Kang
f7c23b1c1d
cleanup of reflector metric code (finish removing unused code)
2019-03-25 15:12:09 -07:00
Chao Xu
887cb93d8d
generated BUILD
...
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4
Expose storage version hash
2019-03-11 10:26:56 -07:00
Tim Allclair
820a1dc96b
Add node.k8s.io/v1beta1 API
2019-03-07 11:57:12 -08:00
Tim Allclair
63f61a6714
Migrate RuntimeClass to internal API
2019-03-07 11:07:54 -08:00
Dr. Stefan Schimanski
3b504c10c2
openapi: remove postprocessing for old paths, deprecated in 1.9
2019-02-26 14:17:44 +01:00
Kubernetes Prow Robot
b5566c7818
Merge pull request #71896 from awly/client-go-keyutil
...
client-go: extract new keyutil package from util/cert
2019-02-23 01:43:16 -08:00
Kubernetes Prow Robot
3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
...
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Bobby (Babak) Salamat
453498fe2c
Graduate PriorityClass to GA
2019-02-22 10:51:13 -08:00
Jordan Liggitt
8c28d3f63c
Add networking.k8s.io/v1beta1 Ingress
2019-02-20 16:41:14 -05:00
Andrew Lytvynov
18458392ca
Extract new keyutil package from client-go/util/cert
...
This package contains public/private key utilities copied directly from
client-go/util/cert. All imports were updated.
Future PRs will actually refactor the libraries.
Updates #71004
2019-02-19 09:48:59 -08:00
Kubernetes Prow Robot
0ffd59e403
Merge pull request #74154 from mbohlool/gimli
...
Use Request Object interfaces instead of static scheme that is more appropriate for CRDs
2019-02-19 07:21:53 -08:00
David Eads
ad740bbba5
allow apiservers to override the list of decorators
2019-02-18 14:47:09 -05:00
Mehdy Bohlool
cebb4ee2ac
Remove the propagated scheme from the Admission chain
2019-02-16 13:28:47 -08:00
Marek Counts
160ed26c20
autogen files to support new project structure.
2019-02-15 10:29:31 -05:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Dr. Stefan Schimanski
af17cff6b0
kube-aggregator: rename New{Auto -> CRD}RegistrationController
2019-02-14 10:21:13 +01:00
Kubernetes Prow Robot
29403174fb
Merge pull request #73805 from caesarxuchao/resource-size-limit
...
Adding a limit on the size of request body the apiserver will decode for write operations
2019-02-12 15:10:57 -08:00
Kubernetes Prow Robot
0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
...
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Chao Xu
27166e48b8
Loosing the request body size limit to 100MB to account for the size
...
ratio between json and protobuf.
2019-02-11 11:32:11 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Chao Xu
b971b12d3c
Adding a limit on the maximum bytes accepted to be decoded in a resource
...
write request.
2019-02-07 11:07:02 -08:00
Kubernetes Prow Robot
b00b5d4ac0
Merge pull request #73713 from caesarxuchao/bump-json-patch-again
...
Importing the latest json patch and set the accumulated copy size limit
2019-02-06 21:13:45 -08:00
Chao Xu
f001f9e1db
Set the maximum size increase the copy operations in a json patch can cause
2019-02-06 14:15:20 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
danielqsj
2b8898b95e
remove flag repair-malformed-updates
2019-02-02 20:54:35 +08:00
David Eads
b1f67e9330
catch some unhandled errors
2019-02-01 15:16:23 -05:00
Chao Xu
bed7696876
generated BUILD files
2019-01-30 13:28:48 -08:00
Chao Xu
1281243860
Remove the --storage-versions flag from kube-apiserver.
...
The storage version now is solely decided by the
scheme.PrioritizedVersionsForGroup(). For cohabitating resources, the storage
version will be that of the overriding group as returned by
storageFactory.getStorageGroupResource().
2019-01-30 13:28:48 -08:00
Jordan Liggitt
dc1fa870bf
Remove alpha InitializerConfiguration types, Initializers admission plugin
2019-01-23 11:37:39 -05:00
Kubernetes Prow Robot
865d6a71f6
Merge pull request #69902 from pbarker/audit-int
...
integration test for dynamic audit
2019-01-17 17:11:28 -08:00