Commit Graph

96134 Commits

Author SHA1 Message Date
Andrew Sy Kim
f5a82f70e5 e2e/node: increase timeouts seconds to 5 for liveness probe restart test
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-17 10:02:08 -05:00
Antonio Ojea
d5b7ef86bb correct e2e test predicates conflict hostport
The e2e test, included as part of Conformance,
"validates that there is no conflict between
 pods with same hostPort but different hostIP and protocol"
was only testing that the pods were scheduled without conflict
but was never testing the functionality.

The test should check that pods with containers forwarding the same
hostPort can be scheduled without conflict, and that those exposed
HostPort are forwarding the ports to the corresponding pods.

the predicate tests were using loopback addresses for the the
hostPort test, however, those have different semantics depending
on the IP family, i.e. you can not bind to ::1 and ::2 simultanously,
in addition, IP forwarding from localhost to localhost in IPv6 is
not working since it doesn't have the kernel route_localnet hack.
2020-11-17 15:28:29 +01:00
Kubernetes Prow Robot
0c97340905
Merge pull request #96453 from aojea/fixportconflict
e2e network tests with host network should Skip if ports are occupied
2020-11-17 05:18:07 -08:00
Antoni Zawodny
7acd8b50c8 Add a deprecation note to k/k/cluster/log-dump directory 2020-11-17 13:21:27 +01:00
Basant Amarkhed
f11c4e9c8c Testcases for MapCIDRsByIPFamily 2020-11-17 07:35:50 +00:00
Jing Xu
027867b594 Update topology tests for windows
Update storage topology tests setup for Windows

Change-Id: I9a2773b91806a10553db06f61f7259db4df71c3b
2020-11-16 23:21:08 -08:00
Pavithra Ramesh
a65675f1b7 Avoid checking the entire backend service URL for FR equality.
Check only the resource name, since the path could have differences like
"www.googleapis.com" vs "compute.googleapis.com"

Add a log message for what changed in the ILB forwarding rule.

updated BUILD

Follow up comments and unit tests
2020-11-16 23:13:52 -08:00
Basant Amarkhed
707073d2f9 Fixup #1 addressing review comments 2020-11-17 07:13:51 +00:00
Andrew Sy Kim
a59189e213 kubelet: dockershim should return grpc status with DeadlineExceeded code
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-16 22:51:59 -05:00
Antonio Ojea
ad043f2bdd e2e dualstack test fixes
remove unused variables and fix comments
2020-11-16 23:18:30 +01:00
Sergey Kanzhelev
5da4cf0478 convert the runtimeclass API tests to conformance 2020-11-16 21:56:57 +00:00
Adhityaa Chandrasekar
760573f2d2 APF e2e tests: use snake_case label
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-16 20:11:39 +00:00
Adhityaa Chandrasekar
bcd3db095f APF e2e tests: move common code into helper functions
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-16 20:11:07 +00:00
Kubernetes Prow Robot
147a120948
Merge pull request #82222 from Huang-Wei/0-informer-sync-period
Set 0 sync period in scheduler integration test
2020-11-16 11:16:04 -08:00
Kubernetes Prow Robot
44b9de34fe
Merge pull request #96460 from aojea/badtestsctp
SCTP testing: fixes and additions
2020-11-16 10:26:05 -08:00
Hemant Kumar
742436c431 Reduce volume name length for vsphere 2020-11-16 11:28:26 -05:00
Kubernetes Prow Robot
59ac565dbf
Merge pull request #96061 from tkashem/context-wiring
plumb context with request deadline
2020-11-16 06:29:05 -08:00
chymy
25d1b23ce2 CHANGELOG: add a hyperlink to issue 86282
Signed-off-by: chymy <chang.min1@zte.com.cn>
2020-11-16 10:27:35 +08:00
Chao Xu
15648f1a7b allow configuring ReadIdelTimeout and PingTimeout via env var 2020-11-15 21:40:04 +00:00
Chao Xu
ba7b1f7a89 Add a unit test testing the HTTP/2 health check help the REST client
detects broken TCP connections.
2020-11-15 21:40:04 +00:00
cprayer
00083d1535 Added 'No resources found' message to logs command 2020-11-15 11:47:28 +09:00
Antonio Ojea
432e74d245 get ips from loopback interfaces 2020-11-14 22:11:41 +01:00
Abu Kashem
83f869ee13
plumb context with request deadline
- as soon as a request is received by the apiserver, determine the
timeout of the request and set a new request context with the deadline.
- the timeout filter that times out non-long-running requests should
use the request context as opposed to a fixed 60s wait today.
- admission and storage layer uses the same request context with the
deadline specified.
2020-11-14 11:54:17 -05:00
Kubernetes Prow Robot
d20e3246ba
Merge pull request #96574 from hasheddan/cleanup-resource-tests
Fix test name in e2e resource metrics api test
2020-11-14 05:09:04 -08:00
Kubernetes Prow Robot
b96d8c0eaf
Merge pull request #96516 from andrewsykim/sig-network-api-reviewer
add myself to sig-network-api-reviewers
2020-11-14 03:39:04 -08:00
Edouard Thuleau
e4bd128ec6 Fixes fake client test generation
The test code generation for create subresource was missing the resource
name parameter in the template which caused a compile error for the
sample projects using the scale subresource. That only occurs with
non-namespaced resource kind.
Also re-ran the code generation after applying the fix.
2020-11-14 11:03:50 +01:00
Kubernetes Prow Robot
05d1b94a70
Merge pull request #96317 from Jefftree/test-ssa
Integrate defaults marker to defaulter-gen
2020-11-13 22:35:03 -08:00
Kubernetes Prow Robot
afb2342318
Merge pull request #96266 from chenyw1990/fixcachewacherleak
Fix cacheWatcher leak when time jump to the future and jump back
2020-11-13 20:57:03 -08:00
lala123912
5710e1b162 fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
vendor/k8s.io/kubectl/pkg/cmd/scale/scale.go:212:2: this value of err is never used (SA4006)
2020-11-14 12:17:11 +08:00
Kubernetes Prow Robot
36f571404f
Merge pull request #96527 from adtac/apfbeta
promote API priority and fairness types and APIs to beta
2020-11-13 19:33:04 -08:00
Kubernetes Prow Robot
0913f8a54c
Merge pull request #96551 from SergeyKanzhelev/runtimeclassconformance
Test on CRUD operations on RuntimeClasses API
2020-11-13 17:41:04 -08:00
Jefftree
50e7aa49aa Integrate defaults marker and remove ContainerPort defaulter 2020-11-13 17:27:40 -08:00
Basant Amarkhed
09d966c8cc Adding service.go changes after merge 2020-11-14 01:09:46 +00:00
Basant Amarkhed
8fb895f3f1 Updating after merging with a conflicting commit 2020-11-14 01:09:46 +00:00
Antoine Pelisse
89ac376f6b Remove StripDefaults from BuildSwagger 2020-11-13 17:06:36 -08:00
Antoine Pelisse
d3e641e84e Add default for protocol and test that it works 2020-11-13 17:06:35 -08:00
Antoine Pelisse
de4abee3ef Strip defaults in new places 2020-11-13 17:06:35 -08:00
Antoine Pelisse
07a40273eb Re-generate with defaults 2020-11-13 17:06:35 -08:00
Antoine Pelisse
8cce122e7b Update kube-openapi 2020-11-13 17:06:30 -08:00
Kubernetes Prow Robot
c1967fe8b0
Merge pull request #96523 from ii/deployment-lc-watch-timeout
Increase watch timeout when scaling Deployment Replicas
2020-11-13 16:49:04 -08:00
Adhityaa Chandrasekar
642b114830 flowcontrol bootstrap: give catch-all PL more concurrency share
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:42 +00:00
Adhityaa Chandrasekar
794a3ec099 APF matching: fallback to catch-all if nothing matches
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:42 +00:00
Adhityaa Chandrasekar
bb32d51fd6 flowcontrol bootstrap: make exempt PL last
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:42 +00:00
yue9944882
849be447f5 APF: graduate API and types to beta
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
Kubernetes Prow Robot
41533ecec8
Merge pull request #96425 from bobbypage/vendor-cadvisor-v0.38
Vendor cadvisor v0.38.4
2020-11-13 15:15:05 -08:00
Laszlo Janosi
c970a46bc1
Mixed protocol support for Services with type=LoadBalancer (#94028)
* Mixed protocol support for Services with type=LoadBalancer

KEP: https://github.com/kubernetes/enhancements/blob/master/keps/sig-network/20200103-mixed-protocol-lb.md
Add new feature gate to control the support of mixed protocols in Services with type=LoadBalancer
Add new fields to the ServiceStatus
  Add Ports to the LoadBalancerIngress, so cloud provider implementations can report the status of the requested load balanc
er ports
  Add ServiceCondition to the ServiceStatus so Service controllers can indicate the conditions of the Service

* regenerate conflicting stuff
2020-11-13 13:21:04 -08:00
hasheddan
bf270d1070
Fix test name in e2e resource metrics api test
Updates resouce to resource.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-11-13 15:19:55 -06:00
Kubernetes Prow Robot
0081e0ebf5
Merge pull request #96570 from hasheddan/pod-metrics-e2e
Match pod resource metrics to pod not container in node resource metrics API tests
2020-11-13 12:17:04 -08:00
Sergey Kanzhelev
3af0ab440a Test CRUD operations on RuntimeClasses API 2020-11-13 19:54:32 +00:00
David Porter
8af7405f17 vendor: cadvisor v0.38.4 2020-11-13 19:52:57 +00:00