Commit Graph

99760 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
93314d84b1
Merge pull request #97419 from d-kuro/d-kuro/fix-data-race
Fix the data race in the leaderelection package
2021-04-08 14:27:12 -07:00
Kubernetes Prow Robot
6f8a058e2c
Merge pull request #95897 from roycaihw/doc/fake-client-with-informer
Fake client example: document how to handle a race with informer
2021-04-08 14:27:04 -07:00
Kubernetes Prow Robot
4c9e55a44f
Merge pull request #93260 from nckturner/return-true-for-enabled-ecr-provider
Fix ECR provider startup latency
2021-04-08 14:26:55 -07:00
Kubernetes Prow Robot
050eae9e7b
Merge pull request #93195 from huffmanca/update-fsgrouppolicy
Addresses nitpicks for FSGroupPolicy
2021-04-08 14:26:43 -07:00
Kubernetes Prow Robot
d8f3794b83
Merge pull request #68004 from saravanan30erd/fluentd-es
isolate logging resources in separate namespace
2021-04-08 14:26:31 -07:00
Cindy Guo
9f058079d2 run etcd as nonroot
Co-authored-by: Vinayak Goyal <vinayakankugoyal@gmail.com>
2021-04-08 20:51:45 +00:00
Joe Betz
5d86cff7c0 Generate openapi and proto files 2021-04-08 12:27:13 -07:00
Jefftree
2e18314918 Tag certain non-selector structs as atomic 2021-04-08 12:24:56 -07:00
Anago GCB
f7e5c6e7d3 CHANGELOG: Update directory for v1.21.0 release 2021-04-08 17:18:57 +00:00
wojtekt
a9daa46d47 Handle 429 errors from watch requests in reflector library. 2021-04-08 17:30:47 +02:00
David Eads
443e4ea0df include description of what kube-root-ca.crt can be used to verify 2021-04-08 10:43:41 -04:00
卢振兴10069964
9e96fe77e8 code cleanup for validation.go 2021-04-08 20:14:33 +08:00
卢振兴10069964
9c030beb32 Replace time.Now().Sub(x) with time.Since(x) 2021-04-08 16:57:58 +08:00
Danil-Grigorev
d8a7764b63 Make selectors atomic
Ensure that all label selectors are treated as atomic values,
to exclude situations when selectors are being corrupted by
different actors attempting to apply their overlapping definition
for this field with server-side-apply.
2021-04-08 10:37:12 +02:00
Kubernetes Prow Robot
11f95dc047
Merge pull request #100893 from aojea/fix_hostNework
e2e test with hostNetwork pods can't run in parallel
2021-04-07 14:51:04 -07:00
Joe Betz
1f2a82f530 Add structType=atomic to all selectors 2021-04-07 13:41:39 -07:00
Jack Francis
5a43067915 respect ExecProbeTimeout 2021-04-07 12:38:19 -07:00
Andrew Keesler
d00202bd3e
exec credential provider: informer happy path integration test
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-07 14:46:40 -04:00
Antonio Ojea
7c7d003e5c e2e test with hostNetwork pods can't run in parallel
the tests with pods using hostNetwork need to bind pods for the
test. Since they use hostNetwork the ports are limited, hence, if
more than one run in parallel, one is going to fail because will not
be able to get the port.
2021-04-07 20:07:18 +02:00
Antonio Ojea
ef76be37de kube-proxy network programming latency on restarts
kube-proxy expose the metric network_programming_duration_seconds,
that is defined as the time it takes to program the network since
a a service or pod has changed. It uses an annotation on the endpoints
/endpointslices to calculate when the endpoint was created, however,
on restarts, kube-proxy process all the endpoints again, no matter
when those were generated, polluting the metrics.

To be safe, kube-proxy will estimate the latency only for those
endpoints that were generated after it started.
2021-04-07 19:19:02 +02:00
Bowei Du
89ebf47640 Update IP address validation message to include IPv6
Adds unit test

Change-Id: I08c46f68b164e1ea82bf40f8a1316dfc1e95a6fb
2021-04-07 08:45:29 -07:00
Kubernetes Prow Robot
efad544195
Merge pull request #100257 from swetharepakula/glbc-rbac-services
Add `service/status` glbc rbac permissions
2021-04-07 07:53:53 -07:00
Monis Khan
977e9f3b2a
Remove stale entries from auth OWNERS_ALIASES
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-07 10:46:34 -04:00
Monis Khan
bca4993004
Update auth OWNERS files to only use aliases
Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-07 10:46:03 -04:00
卢振兴10069964
98a03ae57b Structured Logging migration: modify logs of kube-scheduler 2021-04-07 15:53:06 +08:00
卢振兴10069964
98d4bdb5d7 improve the readability of log 2021-04-07 15:10:05 +08:00
Iceber Gu
70d795ff65 fix typo in comment for EventAggregatorByReasonFunc 2021-04-07 15:06:14 +08:00
Pravar Agrawal
2cf284994f implement EnqueueExtensions in interPodAffinity 2021-04-07 08:43:49 +05:30
Monis Khan
b5a1a45d48
oidc authenticator: allow specifying a KeySet directly
This change updates the oidc authenticator to allow specifying an
oidc.KeySet as an input option.  This makes it possible to
synchronously initialize the KeySet instead of relying on the
asynchronous initialization that is normally done to support
self-hosted providers.  This makes it easier to use this code as a
library.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-06 15:54:47 -04:00
Monis Khan
5dd4c89df3
oidc authenticator: allow passing in CA via bytes
This change updates the OIDC authenticator code to use a subset of
the dynamiccertificates.CAContentProvider interface to provide the
root CA bytes.  This removes the hard dependency on a file based CA
and makes it easier to use this code as a library.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-04-06 15:46:00 -04:00
RA489
67d30f32f6 kubeadm: Add RA489 as reviewer 2021-04-06 21:45:39 +05:30
Nicolas Mitchell
0e994e9481 return error with non-unique workload name in scheduler_perf_test 2021-04-06 10:24:04 -04:00
Mengxue Zhang
200ef16f1d list pod list once to avoid timeout 2021-04-06 13:44:11 +00:00
Andrew Keesler
c984a1c834
test/integration/client: ditch unused code
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-06 09:40:57 -04:00
Cecile Robert-Michon
8850c8c7d9
fix: Refresh VM cache when node is not found 2021-04-05 19:56:50 -07:00
Mauricio Poppe
1e1252ed8c use LinuxOnly annotation instead of e2eskipper to skip windows tests 2021-04-05 20:21:53 +00:00
Christian Huffman
8efa9e2f6c Updated generated dependencies 2021-04-05 16:06:17 -04:00
Christian Huffman
3bcf407d2f Addresses nitpicks for FSGroupPolicy 2021-04-05 15:45:40 -04:00
Joe Betz
7a37df6d1a Generate ApplyScale client support 2021-04-05 12:27:43 -07:00
Joe Betz
1bd4ba4ec0 Add genclient:method=ApplyScale to types supporting scale update 2021-04-05 12:27:42 -07:00
Joe Betz
29423501f0 Add apply subresource support to client-go's typed client 2021-04-05 12:27:42 -07:00
Kubernetes Prow Robot
b0abe89ae2
Merge pull request #100815 from claudiubelu/tests/tag-gpu-test
Windows tests: Adds [Feature:GPUDevicePlugin] tag to Device Plugin test
2021-04-05 12:03:19 -07:00
Abu Kashem
4447f2459a
apf: exempt probes /healthz /livez /readyz 2021-04-05 14:07:22 -04:00
jay vyas
cd58735777
add network-policy label automatically 2021-04-05 09:36:15 -07:00
Davanum Srinivas
766c6706c4
Fix file mode condition for host_path storage test
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-05 09:25:45 -04:00
Antonio Ojea
1e1c4c5ac9 add node handlers to the metaproxier 2021-04-05 02:05:18 +02:00
Kubernetes Prow Robot
f137c47770
Merge pull request #100785 from jsturtevant/align-test-timeouts
Align lifecylce related test pod start up times
2021-04-04 16:18:12 -07:00
Nicolas Mitchell
338b06fb69 validate test/workload names in validateTestCases 2021-04-04 14:18:39 -04:00
Kevin Delgado
5f1b146852 Update structured-merge-diff to v4.1.1 2021-04-02 20:04:04 +00:00
James Sturtevant
d0683b8ce2 align some of the pod start up times 2021-04-02 11:29:38 -07:00