Commit Graph

96743 Commits

Author SHA1 Message Date
drfish
90ba736433 Add function AddPodInfo(*PodInfo) for NodeInfo struct 2021-01-13 23:04:37 +08:00
Kubernetes Prow Robot
334b426a6b
Merge pull request #97405 from dlorenc/dns
Update github.com/miekg/dns to pick up fix for CVE-2019-19794.
2021-01-11 05:49:09 -08:00
Kubernetes Prow Robot
85bb370c44
Merge pull request #97008 from 249043822/bugfix-changelog114
CHANGELOG: fix symbols lost, formatter error
2021-01-11 04:29:08 -08:00
Kubernetes Prow Robot
465e4172d4
Merge pull request #97416 from pandaamanda/changelog1.20
CHANGELOG: Fix typo for release-note in 1.20
2021-01-11 03:33:07 -08:00
Kubernetes Prow Robot
c66576b212
Merge pull request #97711 from heqg/chgs-occuring
Change log:Fix Spelling error about [occuring]
2021-01-11 01:49:09 -08:00
Kubernetes Prow Robot
930cd9cf9d
Merge pull request #97518 from heqg/chgs
CHANGELOG: add a hyperlink to issue 86282
2021-01-11 00:51:06 -08:00
Kubernetes Prow Robot
bb376f1616
Merge pull request #96492 from ramnar/master
remove generator dependency in create service account
2021-01-10 14:57:05 -08:00
Kubernetes Prow Robot
94b082550e
Merge pull request #96887 from sttts/sttts-unexpected-error-string
apiserver: print unknown responsewriter error strings, not only %#+v
2021-01-09 19:25:05 -08:00
Kubernetes Prow Robot
943af78753
Merge pull request #97873 from heqg/typo-BoostrapToken
Fix typo of BoostrapToken in kubeadmin-type.go]
2021-01-09 15:39:05 -08:00
Kubernetes Prow Robot
e1f84d52b7
Merge pull request #97879 from justinsb/e2e_multi_node_control_plane
e2e: recognize multi-node control planes
2021-01-09 07:13:05 -08:00
Justin Santa Barbara
33055a8b6b e2e: recognize multi-node control planes
We were treating multiple nodes as a failure; instead we can return all
the node (internal) IPs we find.
2021-01-09 09:18:29 -05:00
he.qingguo
6f1c8de85c Fix typo of BoostrapToken in kubeadmin-type.go]
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-09 16:16:29 +08:00
Kubernetes Prow Robot
67541a1bcc
Merge pull request #96393 from thockin/rest-hooks
Add BeginCreate and BeginUpdate REST hooks
2021-01-08 20:57:05 -08:00
Kubernetes Prow Robot
be839a4365
Merge pull request #97177 from pacoxu/cleanup/docker-20.10
cleanup: legacy 'ENV name value' syntax deprecated(Docker 20.10)
2021-01-08 20:01:04 -08:00
Kubernetes Prow Robot
06482704e6
Merge pull request #97816 from jayunit100/fix_node_selector_hostmaps
Fix node selector hostmaps
2021-01-08 16:57:06 -08:00
Kubernetes Prow Robot
d9a26fb69b
Merge pull request #97860 from MikeSpreitzer/rejigger-quantize-4
move all variables in sampleAndWaterMarkHistograms::innerSet
2021-01-08 15:39:24 -08:00
Kubernetes Prow Robot
4de1607f5e
Merge pull request #97494 from chymy/changelog-anchor
CHANGELOG-1.20: fix anchor point err
2021-01-08 15:39:18 -08:00
Kubernetes Prow Robot
781eb03b89
Merge pull request #96792 from aojea/promotev6image
e2e test regression image multiarch
2021-01-08 15:39:05 -08:00
Kubernetes Prow Robot
8b5aeeedb4
Merge pull request #97742 from benhxy/apiserver-cipher
Configure --tls-cipher-suites on kube-apiserver
2021-01-08 13:44:29 -08:00
Ben Hu
d4e75baae1 Fix comment on comment 2021-01-08 20:24:59 +00:00
jayunit100
13b0a3e4f2 volumes tests - adding support for windows labels 2021-01-08 11:53:53 -08:00
Kubernetes Prow Robot
2b8cac754c
Merge pull request #96754 from tkashem/fix-etcd-metric
Reduce number of  buckets for etcd_request_duration_seconds metric
2021-01-08 11:24:29 -08:00
Tim Hockin
37b34f5b53 Use typedefs for Begin* functions
David asked for this for readability, even if not all other hooks do it.
2021-01-08 11:08:12 -08:00
Tim Hockin
25da6a0660 Change AfterCreate/Update to take Options
Also adds typedefs for these function signatures for code clarity.
2021-01-08 11:08:12 -08:00
Tim Hockin
9402f48e05 Change AfterDelete to take DeleteOptions
All of the After* hooks are called, whether the operation is dry-run or
not.  Create and Upate both have BeginCreate() hooks which know about
dry-run but delete doesn't, and can't (because of graceful deletion and
finalizers, the Delete() method may return and the object is actually
deleted later).

This adds an argument to AfterDelete(), and the others will follow.

This commit also adds tests for AfterDelete being called in the right
places.
2021-01-08 11:08:08 -08:00
Tim Hockin
bb79475a86 Remove ObjectFunc 2021-01-08 11:00:39 -08:00
Tim Hockin
625713008d Make REST Decorator funcs not return error 2021-01-08 11:00:39 -08:00
Tim Hockin
64491be328 Make REST After* funcs not return error 2021-01-08 11:00:39 -08:00
Tim Hockin
67c9761623 Add BeginCreate and BeginUpdate REST hooks
These hooks return a "cleanup" func which is called when the top-level
operation completes, with an indicator of which result.

This is to enable much simpler handling of allocations in Service's REST
implementation, in particular.

Some discussion in https://github.com/kubernetes/kubernetes/pull/95967

This also adds tests for the almost totally untested Decorator,
AfterCreate, and AfterUpdate hooks.
2021-01-08 11:00:12 -08:00
Kubernetes Prow Robot
cfc96c7db7
Merge pull request #97820 from tkashem/webhook-error
prevent panic on webhook authenticator and authorizer timeout before response
2021-01-08 10:34:41 -08:00
Kubernetes Prow Robot
04e3106b1e
Merge pull request #97809 from jayunit100/fix_node_port_windows
Fix node port tests windows nodeSelector metadata
2021-01-08 10:34:29 -08:00
Mike Spreitzer
611184aa59 move all variables in sampleAndWaterMarkHistograms::innerSet
to tiptoe around https://github.com/golang/go/issues/43570 for #97685
2021-01-08 13:32:38 -05:00
Kubernetes Prow Robot
0fe6f72d9b
Merge pull request #96011 from mikedanese/bazel
build: Update bazel to 3.4.1 and k/repo-infra to v0.2.0
2021-01-08 09:24:53 -08:00
Abu Kashem
ae2b353fbf
handle webhook authenticator and authorizer error
webhook.WithExponentialBackoff returns an error, and the priority is:
- A: if the last invocation of the webhook function returned an error
  that error should be returned, otherwise
- B: the error associated with the context if it has been canceled or
  it has expired, or the ErrWaitTimeout returned by the wait package
  once all retries have been exhausted.

caller should check the error returned by webhook.WithExponentialBackoff
to handle both A and B. Currently, we only handle A.
2021-01-08 11:30:35 -05:00
Kubernetes Prow Robot
b259c92dda
Merge pull request #96966 from tkashem/pf-e2e
p&f e2e: the test should log expected and actual response header in case it fails.
2021-01-08 07:56:56 -08:00
Kubernetes Prow Robot
9a386cdd5d
Merge pull request #97845 from mborsz/cacher-metrics2
Add 'apiserver_terminated_watchers_total'
2021-01-08 07:06:53 -08:00
Kubernetes Prow Robot
cc09a6df58
Merge pull request #97844 from aojea/essip
don´t panic on e2e ESIPP tests
2021-01-08 03:36:53 -08:00
Kubernetes Prow Robot
6ba09e9a52
Merge pull request #97839 from aojea/nodebugconntrack
Revert "dump conntrack table on e2e conntrack failures"
2021-01-08 02:02:53 -08:00
Maciej Borsz
342ad48feb Add 'apiserver_terminated_watchers_total' 2021-01-08 10:55:44 +01:00
Antonio Ojea
6bedf4a98b don´t panic on e2e ESIPP tests
The ESIPP tests are using a function to poll an HTTP endpoint.
This function failed the framework if the request to the http endpoint
timed out, causing a panic that ginkgo couldn´t recover.

Also, this function was used inside a pollImmediate loop, so it should
return the error instead of fail.
2021-01-08 10:52:49 +01:00
Antonio Ojea
2548fa1112 Revert "dump conntrack table on e2e conntrack failures"
This reverts commit 0ef7f27fc1.

The info is not enough to debug the problems, there are simply no
conntrack entries but there is no clue about it.

Another problem is that it dumps the conntrack entries from all
nodes, that is more than 40 mins in a scale test job with 5000 nodes.
2021-01-08 10:04:40 +01:00
Kubernetes Prow Robot
d1db90ba57
Merge pull request #97693 from enj/enj/i/oidc_fast_init
oidc authenticator: attempt to immediately initialize verifier
2021-01-07 18:12:53 -08:00
Mike Danese
77261377de fixup fixture logic
There was a bug with init() but it was resolved in
https://github.com/bazelbuild/rules_go/pull/2696

Changed to match other fixture methods.

Change-Id: I882b8535e5c5c117fb10c41d34c8eed1ccdb74bb
2021-01-07 15:26:20 -08:00
Kubernetes Prow Robot
0dfa4419a0
Merge pull request #96657 from KobayashiD27/staticcheck_server-storage
fix staticcheck error in vendor/k8s.io/apiserver/pkg/server/storage
2021-01-07 15:04:53 -08:00
Kubernetes Prow Robot
611aff9221
Merge pull request #97702 from jayunit100/patch-21
set numberOfWorkers for netpol suite to the ideal value (3) that is n…
2021-01-07 14:08:54 -08:00
jayunit100
89120be5c3 adding a windows nodeSelector for nodePort tests
jig modifier
2021-01-07 14:01:55 -08:00
Mike Danese
b624868386 bump repo-infra to 0.2.0
Change-Id: Id4fa13ca3cf092867bb0973294605962a8e5019c
2021-01-07 13:51:03 -08:00
Mike Danese
7d7852d3ef bump bazel to 3.4.1
Change-Id: I7ae75acba5518782a99ede2d896a787238d7b744
2021-01-07 13:51:03 -08:00
Kubernetes Prow Robot
5150d2f839
Merge pull request #97716 from chengzhycn/syncEndpoint-error-return
proxy/ipvs: return non-nil error when there is no matched IPVS servic…
2021-01-07 12:44:54 -08:00
Kubernetes Prow Robot
84b4569390
Merge pull request #97804 from jayunit100/windows-node-selector
adding windows os selector to the dnsPolicy tests
2021-01-07 11:51:13 -08:00