Commit Graph

99452 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
23839ba649 Merge pull request #96305 from twosigma/fixe2etestbug
Fixing expected pod subdomain to match framework.TestContext.ClusterD…
2020-11-09 08:22:26 -08:00
Kubernetes Prow Robot
0cba30d891 Merge pull request #95954 from sttts/sttts-go-openapi
apiextensions: replace go-openapi with kube-openapi fork for validation
2020-11-09 07:18:27 -08:00
Kubernetes Prow Robot
d2fd467123 Merge pull request #96310 from tsmetana/fix-recycler-test
PV e2e: fix race in NFS recycling test
2020-11-09 05:52:26 -08:00
Kubernetes Prow Robot
c7291adca2 Merge pull request #96309 from rf232/logfilter
Implement log sanitization filter
2020-11-09 04:50:25 -08:00
Rob Franken
3999f7ffbb Implement log sanitization
Implement a LogFilter using the datapol library to prevent accidental
logging of secrets and other confidential data.
2020-11-09 12:59:35 +01:00
Dr. Stefan Schimanski
f63b6772ca Update bazel 2020-11-09 10:26:39 +01:00
Gautier Delorme
f59a6c7810 apiextensions: adapt error tests to fixed validation messages
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com>
2020-11-09 10:26:39 +01:00
Dr. Stefan Schimanski
69b0699610 apiextensions: switch validation to kube-openapi 2020-11-09 10:26:38 +01:00
Dr. Stefan Schimanski
dd1709ba46 bump(k8s.io/kube-openapi) 2020-11-09 10:26:38 +01:00
Lukasz Szaszkiewicz
057986e32c stops puting a stacktrace of aborted requests in the logs
Aborted requests are the ones that were disrupted with http.ErrAbortHandler.
For example, the timeout handler will panic with http.ErrAbortHandler when a response to the client has been already sent
and the timeout elapsed.

Additionally, a new metric requestAbortsTotal was defined to count aborted requests. The new metric allows for aggregation for each group, version, verb, resource, subresource and scope.
2020-11-09 09:23:40 +01:00
Kubernetes Prow Robot
ef16faf409 Merge pull request #92312 from Sh4d1/kep_1860
Make Kubernetes aware of the LoadBalancer behaviour
2020-11-08 23:34:24 -08:00
Kubernetes Prow Robot
2343b8a68b Merge pull request #95872 from 22dm/kube-proxy-comment-fix
Fix the kube-proxy document
2020-11-08 19:23:37 -08:00
Haowei Cai
1c2d446648 require APIServerIdentity to be enabled to run StorageVersionAPI
without APIServerIdentity enabled, stale apiserver leases won't be GC'ed
and the same for stale storage version entries. In that case the storage
migrator won't operate correctly without manual intervention.
2020-11-08 19:06:30 -08:00
Haowei Cai
7bcd25907a apiserver correctly validates encoding/decodable versions 2020-11-08 18:53:40 -08:00
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
fa1805cc5c Add an integration test.
To make sure that the storage version filter can block certain requests until
the storage version updates are completed, and that the apiserver works
properly after the storage version updates are done.
2020-11-08 18:53:40 -08:00
Chao Xu
22452917c2 make some rbac and scheduling post start hooks tolerate the apiserver
bootstrap delay caused by installing storage versions.
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
Kubernetes Prow Robot
f43007543c Merge pull request #96326 from Huang-Wei/cleanup-sched-perf
Update docs and fix redundant logic of scheduler perf
2020-11-08 18:35:37 -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
ce036e0800 Merge pull request #96340 from andyzhangx/patch-1
add andyzhangx as reviewer
2020-11-08 03:47:37 -08:00
Andy Zhang
9056e3a86a add andyzhangx as reviewer 2020-11-08 16:55:03 +08:00
Jing Xu
d6e805b38c Add nodeSelector for konnectivity daemonSet
konnectivity agent daemonSet can only run on Linux node. Add node
selector to the yaml file

Change-Id: I3a4790bbfe95a39d9b668443d59dcaa72fb4cd0d
2020-11-07 23:12:31 -08:00
Kubernetes Prow Robot
2570a9d94c Merge pull request #96306 from SataQiu/small-fix-20201106
kubeadm: fix the lint failure where return value is not checked
2020-11-07 11:43:37 -08:00
Patrik Cyvoct
dd5646d56d fix ingress comparaison
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 11:46:42 +01:00
Kubernetes Prow Robot
0e42122270 Merge pull request #96308 from andyzhangx/update-max-azuredisk-count
update max azure data disk count map
2020-11-07 02:33:38 -08:00
Patrik Cyvoct
20fc86df25 fix defaulting
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:59 +01:00
Patrik Cyvoct
0768b45e7b add nil case in proxy
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:58 +01:00
Patrik Cyvoct
fea88f44a7 fix build
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:57 +01:00
Patrik Cyvoct
40dcef27c4 fix nit in validation
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:56 +01:00
Patrik Cyvoct
11b97e9ef8 fix tests
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:55 +01:00
Patrik Cyvoct
1fd08bc92e Update generated
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:54 +01:00
Patrik Cyvoct
540901779c fix reviews
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:53 +01:00
Patrik Cyvoct
af7494e896 Update generated
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:52 +01:00
Patrik Cyvoct
7bdf2af648 fix review
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:51 +01:00
Patrik Cyvoct
88330eafef fix typo
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:50 +01:00
Patrik Cyvoct
7977e0ac44 add owner for feature gate
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:48 +01:00
Patrik Cyvoct
7460f9e00b fix rebase
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:30 +01:00
Patrik Cyvoct
0153b96ab8 fix review
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 10:00:27 +01:00
Patrik Cyvoct
d562b6924a Add tests
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 09:59:59 +01:00
Patrik Cyvoct
47ae7cbf52 Add route type field to loadbalancer status ingress
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-11-07 09:59:58 +01:00
Wei Huang
267acdbe81 Update docs and fix redundant logic of scheduler perf 2020-11-06 23:45:09 -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
4949078001 Merge pull request #93459 from ii/ii-create-pod%2Bpodstatus-resource-lifecycle-test
Updated Create Pod+PodStatus resource lifecycle test - +4 endpoint coverage
2020-11-06 19:53:36 -08:00
Kubernetes Prow Robot
9843ff244d Merge pull request #96324 from SergeyKanzhelev/patch-1
Change the features removal note
2020-11-06 19:03:37 -08:00
liuhongyu
d38ff93e4b remove kube-proxy/config/v1alpha1 from .golint_failures 2020-11-07 11:02:16 +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