Commit Graph

11589 Commits

Author SHA1 Message Date
Haowei Cai
23ef9b51a8 updater correctly updates storageversion status 2020-11-08 18:53:40 -08:00
Haowei Cai
8a1d8f7fd5 return a Status formatted JSON response 2020-11-08 18:53:40 -08:00
Haowei Cai
b5b93004b5 generated 2020-11-08 18:53:40 -08:00
Chao Xu
7218978716 Add a generic filter that blocks certain write requests before
StorageVersions are updated during apiserver bootstrap.

Also add a poststarthook to the aggregator which updates the
StorageVersions via the storageversion.Manager
2020-11-08 18:53:40 -08:00
Chao Xu
3694756816 Collect storage versions as ResourceInfo when installing API endpoints.
Co-authored-by: Haowei Cai <haoweic@google.com>
2020-11-08 18:34:59 -08:00
Chao Xu
56369375e0 Add a feature gate 2020-11-08 18:34:59 -08:00
Kubernetes Prow Robot
9253aa9309
Merge pull request #95423 from apelisse/default-null-crds
CRs: Default non-nullable nulls
2020-11-06 20:51:36 -08:00
Kubernetes Prow Robot
151c2799d1
Merge pull request #96279 from cmluciano/cml/netutilsipv4
dualstack: cleanup IsIPv4 duplicates in favor of k8s/utils functions
2020-11-06 18:09:50 -08:00
Kubernetes Prow Robot
281866b35c
Merge pull request #95533 from roycaihw/apiserver-lease-controller
Add kube-apiserver lease controller
2020-11-06 18:09:37 -08:00
Kubernetes Prow Robot
48a0ef6a39
Merge pull request #96312 from kishorj/nlb-hc-cleanup
Less restrictions for AWS NLB health check config
2020-11-06 16:11:50 -08:00
Kubernetes Prow Robot
d2a85502df
Merge pull request #95247 from kishorj/nlb_attributes
reconcile AWS NLB attributes on service creation
2020-11-06 16:11:37 -08:00
Kishor Joshi
7f03de32ad fix formatting 2020-11-06 13:38:38 -08:00
Haowei Cai
3761a00e5b add kube-apiserver-lease-controller poststart hook 2020-11-06 13:33:08 -08:00
Kubernetes Prow Robot
b1b627072a
Merge pull request #96217 from p0lyn0mial/delegated-authn-webhook-token-timeout
DelegatingAuthenticationOptions TokenReview client timeout
2020-11-06 11:29:16 -08:00
Kishor Joshi
f784eb3cfd Update UTs 2020-11-06 11:11:46 -08:00
Kishor Joshi
9e0b8e7459 Less restrictions for AWS NLB health check config 2020-11-06 09:21:24 -08:00
Kubernetes Prow Robot
1576823c26
Merge pull request #93109 from zhouya0/fix_kubectl_config_error_message
Move kubectl get-context validate logic to Validate function
2020-11-06 09:02:53 -08:00
Kubernetes Prow Robot
1485d462ef
Merge pull request #90333 from bamarni/kubectl-cp-unexisting-file
[kubectl] Fail when local source file doesn't exist
2020-11-06 07:58:51 -08:00
Kubernetes Prow Robot
8f6ffb24df
Merge pull request #96236 from adtac/apfsnakecase
APF: use snake_case in metric labels
2020-11-06 02:20:50 -08:00
Kubernetes Prow Robot
bd95fb101d
Merge pull request #94814 from adtac/preemption2
optimise defaultpreemption: enumerate fewer candidates
2020-11-05 21:18:50 -08:00
Tim Hockin
819ff9b087
Use topology labels instead of old beta names (#96033)
* Rename const for topology.../zone

* Rename const for topology.../region

* Rename const for failure-domain.../zone

* Rename const for failure-domain.../region

* Restore old names for compat
2020-11-05 20:26:50 -08:00
Antoine Pelisse
a5a3b52ccd CRs: Default non-nullable nulls 2020-11-05 19:49:29 -08:00
Kubernetes Prow Robot
cccd77bd3a
Merge pull request #92968 from andrewsykim/endpointslice-termination
Add Terminating Condition to EndpointSlice
2020-11-05 19:32:50 -08:00
zhouya0
c41fb9e3bf Move kubectl get-context validate logic to Validate function 2020-11-06 10:30:44 +08:00
Kubernetes Prow Robot
4b30a88ab8
Merge pull request #96278 from cheftako/master
Switch GCP list calls to paginated calls.
2020-11-05 17:20:50 -08:00
Andrew Sy Kim
7cf19e5fb7 endpointslice API: rename 'accepting' condition to 'serving' condition
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-05 19:18:45 -05:00
Andrew Sy Kim
6e6d417993 endpointslice API: add accepting and terminating conditions
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-05 19:18:45 -05:00
Kubernetes Prow Robot
80c2f61939
Merge pull request #74363 from aanm/fix-client-go-metrics
client-go/rest: fix finalURLTemplate for url base == "/"
2020-11-05 16:14:50 -08:00
Kubernetes Prow Robot
226ea6b49d
Merge pull request #96231 from deads2k/clean-up-feature
update features to indicate beta in comment
2020-11-05 15:17:04 -08:00
Walter Fender
1066d60630 Switch GCP list calls to paginated calls.
Three of the GCP list calls have paginated versions.
Switching those usages to the paginated versions.
Fixed go format.
2020-11-05 12:38:46 -08:00
Christopher M. Luciano
5303b3fbbd
dualstack: incorporate IsIPv4 updates from utils repo
This dependency bump will allow for cleanup of duplicate code in
the dualstack e2e tests.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-11-05 14:25:23 -05:00
Kubernetes Prow Robot
7b3c67b1c7
Merge pull request #96264 from verb/1.20-cli-bare-setimage
kubectl debug: allow set-image-only invocation
2020-11-05 10:53:38 -08:00
Kubernetes Prow Robot
569abbeb4e
Merge pull request #96097 from rf232/datapol
Introduce a simple datapolicy library
2020-11-05 10:53:20 -08:00
Kubernetes Prow Robot
544f42ebcc
Merge pull request #94893 from aubm/refactor-command-kubectl-create-priorityclass
Remove the dependency between create priorityclass command and genera…
2020-11-05 10:52:53 -08:00
Kubernetes Prow Robot
2bb92efa3c
Merge pull request #96211 from feiskyer/fix-paging-issue
Fix paging issues when Azure API returns empty values with non-empty nextLink
2020-11-05 09:25:59 -08:00
Kubernetes Prow Robot
3e7e6c3455
Merge pull request #96111 from nilo19/feature/support-multiple-slb
Azure: Support multiple standard load balancers in one cluster
2020-11-05 09:25:42 -08:00
Kubernetes Prow Robot
11608f8c0c
Merge pull request #95571 from eddiezane/ez/update-cobra
Update cobra dependency to v1.1.1
2020-11-05 09:25:33 -08:00
Kubernetes Prow Robot
374989e461
Merge pull request #95544 from SaiHarshaK/warn-race
warn user about resource being deleted
2020-11-05 09:25:21 -08:00
Kubernetes Prow Robot
662bffe4ad
Merge pull request #95439 from HerrNaN/i18n
cleanup: use i18n.T on all command descriptions
2020-11-05 09:25:08 -08:00
Kubernetes Prow Robot
93aeff4ef0
Merge pull request #95292 from dougsland/kubectldiff
kubectl: allow users to use args with KUBECTL_EXTERNAL_DIFF
2020-11-05 09:24:54 -08:00
Adhityaa Chandrasekar
b16f36b251 APF metrics: set StabilityLevel to ALPHA
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-05 15:35:39 +00:00
Lee Verberne
d6024ce18d kubectl debug: allow set-image-only invocation 2020-11-05 15:51:23 +01:00
Rob Franken
f61bff7e46 Introduce a simple datapolicy library
The datapolicy fullfills the contracts needed to support the log
sanitization kep
(https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/1753-logs-sanitization)

The external types list is mostly a proof of concept now, and is open to
extension.
2020-11-05 15:41:56 +01:00
Aurélien Baumann
9fff7f70e6 Remove the dependency between create priorityclass command and generators 2020-11-05 09:33:19 -05:00
Kubernetes Prow Robot
ec1541c38f
Merge pull request #96229 from adtac/apfrace
apiserver/filters test: fix data race and do not leak goroutines
2020-11-05 06:31:44 -08:00
Kubernetes Prow Robot
38f14f3874
Merge pull request #95876 from saschagrunert/proto
Propose seccomp/apparmor protobuf type definitions for CRI graduation
2020-11-05 06:31:08 -08:00
Kubernetes Prow Robot
dca4d8eb79
Merge pull request #86214 from shsjshentao/drain
return success if cordon node by replace
2020-11-05 06:30:55 -08:00
David Eads
73f7a9b394 update features to indicate beta in comment 2020-11-05 07:21:19 -05:00
Karl 'NaN' Wikström
cc8428566e
cleanup: use i18n.T on all command descriptions
cleanup: use i18n.T only on string literals

cleanup: sort imports

Add i18n dependency for wait.go

Remove translation on envResource

cleanup: translate string instead of variable

cleanup: sort imports

cleanup: translate string literal only
2020-11-05 11:04:19 +01:00
André Martins
c039b02fa7 client-go/rest: fix finalURLTemplate for url base == "/"
In some environments, where url base is "/", it can cause all paths to
be presented in metrics with "{prefix}" as `groupIndex` is with the wrong
index. To fix the behavior in such environments, it was added a
conditional branch to check if the URL base is "/" and, thus, print the
metrics with the correct path, for example "api/v1/nodes/{name}" instead
of "{prefix}".

Fixes: 99248b8fe1 ("Rewrite finalURLTemplate used only for metrics because of dynamic client change")
Signed-off-by: André Martins <aanm90@gmail.com>
2020-11-05 10:12:37 +01:00