Commit Graph

93838 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
4db3a096ce
Merge pull request #94171 from robscott/endpointslicemirroring-fix
Updating EndpointSliceMirroring controller to listen for Service changes
2020-08-24 18:44:16 -07:00
Jiawei Wang
a6d8e6c5c2 Detect change of volume attachability in the middle of attaching
- Add Unit tests for both volumemanager and attach/detach controller
- Add E2E test
2020-08-24 17:15:11 -07:00
Rob Scott
3c804502d7
Updating EndpointSliceMirroring controller to listen for Service changes
This fixes a bug that could occur if a custom Endpoints resource was
created before a Service was created.
2020-08-24 17:09:42 -07:00
Kubernetes Prow Robot
6d0f4749a5
Merge pull request #94185 from knight42/fix/TestRemoveContainer
test(kuberuntime): deflake TestRemoveContainer
2020-08-24 15:10:17 -07:00
Kubernetes Prow Robot
3229073042
Merge pull request #94166 from spencerhance/ingress-test-static-ip
[Failing Test] Reserve Static IP in Ingress test
2020-08-24 13:52:16 -07:00
knight42
cfeddcf654
test(kuberuntime): deflake TestRemoveContainer
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-24 11:14:02 +08:00
Pengfei Ni
2b3db7dcb8 Ensure backoff step is set to 1 for Azure armclient 2020-08-23 15:49:32 +08:00
Zhou Peng
d253551e89 [pkg/registry/admissionregistration]: fixup wrong copy&paste godoc
This was introduced at commit: fc5a613c17

Signed-off-by: Zhou Peng <p@ctriple.cn>
2020-08-23 00:48:55 +08:00
Matthias Bertschy
ea14585500 Remove StartupProbe featuregate and related logic 2020-08-22 15:09:52 +02:00
Kubernetes Prow Robot
14a11060a0
Merge pull request #94146 from MikeSpreitzer/limit-lag
Make sampleAndWaterMarkHistograms not fall very far behind
2020-08-21 16:55:39 -07:00
Kubernetes Prow Robot
61edc6f9d1
Merge pull request #94167 from justaugustus/go-runner
build: Update to go-runner:buster-v2.0.0
2020-08-21 12:49:42 -07:00
Stephen Augustus
fee5b2245f build: Update to go-runner:buster-v2.0.0
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-21 14:41:40 -04:00
Stephen Augustus
b2106033b9 build: Migrate go-runner image building to k/release
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-21 14:19:52 -04:00
Spencer Hance
7c0169d976 Reserve Static IP in Ingress test 2020-08-21 10:54:10 -07:00
Kubernetes Prow Robot
1c93be24ee
Merge pull request #93629 from cofyc/93009
fix flaky TestVolumeBinding unit test
2020-08-21 08:33:40 -07:00
Ryan Peck
9d16863e2f Make ProjectedVolumeSource optional 2020-08-21 10:27:44 -04:00
Kubernetes Prow Robot
ba10448445
Merge pull request #94153 from spencerhance/ingress-status-rbac
[Failing Test] Add rbac patch permissions for system:controller:glbc
2020-08-21 00:47:39 -07:00
Spencer Hance
b13898d6e9 Add rbac patch permissions for system:controller:glbc ingresses/status 2020-08-20 20:34:23 -07:00
Kubernetes Prow Robot
ce3dd04c49
Merge pull request #94147 from liggitt/json-patch
Update json-patch to v4.9.0 tagged release
2020-08-20 19:17:39 -07:00
Jordan Liggitt
245064a351 Update json-patch to v4.9.0 tagged release 2020-08-20 21:21:09 -04:00
Rob Scott
c382c79f60
Updating kube-proxy to trim space from loadBalancerSourceRanges
Before this fix, a Service with a loadBalancerSourceRange value that
included a space would cause kube-proxy to crashloop. This updates
kube-proxy to trim any space from that field.
2020-08-20 18:19:52 -07:00
Kubernetes Prow Robot
a86f59b730
Merge pull request #94152 from BenTheElder/agnhost-version-sync
Agnhost version sync
2020-08-20 18:07:39 -07:00
Benjamin Elder
3e2cb2922b synchronize agnhost image / app version 2020-08-20 17:00:41 -07:00
Benjamin Elder
9d7a94263a track agnhost version in dependencies.yaml 2020-08-20 17:00:41 -07:00
Mike Spreitzer
9e89b92a92 Make sampleAndWaterMarkHistograms not fall very far behind 2020-08-20 16:47:51 -04:00
gobomb
19a3ca2c28 let panics propagate up when processLoop panic 2020-08-20 17:39:17 +00:00
Abu Kashem
9d8441f17d
Make similar buckets for api and etcd request duration histogram
Make similar buckets for the apiserver_request_duration_seconds and
the etcd_request_duration_seconds histogram so that the result is
more comparable side by side.

etcd_request_duration_seconds uses the default buckets provided by
prometheus client library:
DefBuckets = []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10}

apiserver_request_duration_seconds on the other hand uses more fine
grained buckets, and the maximum bucket size is 60s. Both histograms
should use similar bucket sizes so they are more comparable side by side.
2020-08-20 11:49:15 -04:00
Nikhita Raghunath
cefe130de7 .github: remove stackoverflow from support issue template
The upstream project isn't officially tied to StackOverflow and we direct
folks to Discuss now.
2020-08-20 18:49:53 +05:30
Alexander Zimmermann
86dc0364f4
Refactored pkg/controllers/resourcequota
* Fixed golint issues
* Removed redundant package import names
* Improved some variables and names

Co-authored-by: Mike Danese <mikedanese@gmail.com>
2020-08-20 14:37:27 +02:00
Kubernetes Prow Robot
1c548c328a
Merge pull request #93971 from Danil-Grigorev/vsphere-secret-deadlock
Refactor locks logic on registeredNodesLock to be non-blocking
2020-08-20 04:55:23 -07:00
Kubernetes Prow Robot
6da73aa572
Merge pull request #93333 from loburm/fix-logrotate
Fix an issue when rotated logs of dead containers are not removed.
2020-08-20 03:27:23 -07:00
andyzhangx
1b213c9053 fix: use sensitiveOptions on Windows mount 2020-08-20 07:31:07 +00:00
Kubernetes Prow Robot
d20d894d72
Merge pull request #94110 from aojea/fixe2e
fix e2e test "should resolve connection reset"
2020-08-19 14:59:25 -07:00
Antonio Ojea
fcaf580c9b fix e2e test
the test is not working because is trying to execute bash in a
busybox image, that is not present. Using sh works.
2020-08-19 22:45:21 +02:00
Giuseppe Scrivano
49cbf91fce
kubelet, cgroupv2: do not create /sys/fs/cgroup/sys with cgroupfs
Closes: https://github.com/kubernetes/kubernetes/issues/94104

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-08-19 22:29:38 +02:00
Kubernetes Prow Robot
dd3d66b27d
Merge pull request #94105 from liggitt/etcd-3.4.12
Update to etcd client version 3.4.12
2020-08-19 11:51:26 -07:00
jay vyas
04b38e9f91 Update wait function w/ descriptions of global node states, TODO for kubelet
API.
2020-08-19 13:55:54 -04:00
Jordan Liggitt
ac29889c19 etcd 3.4.12 2020-08-19 13:38:33 -04:00
Kubernetes Prow Robot
3352c44949
Merge pull request #93777 from pohly/capacity-test-flake-fix
e2e storage: avoid flaky test failure when watch dies
2020-08-19 04:47:12 -07:00
Kubernetes Prow Robot
3f579d8971
Merge pull request #94089 from robscott/endpointslicemirroring-flake-fix
Fixing a flaky EndpointSliceMirroring integration test
2020-08-18 18:53:10 -07:00
ynqa
7d58ead809 delete tests which use container manager stub 2020-08-19 10:07:36 +09:00
Kubernetes Prow Robot
bdb99c8e09
Merge pull request #93906 from aojea/flakeSvc
Deflake TestServiceRegistryUpdateDryRun test
2020-08-18 15:45:10 -07:00
Claudiu Belu
8ca08f1ced tests: Use Windows absolute path on Windows pods
The test "should fail substituting values in a volume subpath with absolute path" creates a pod
with a variable expansion path which is set as an absolute path. However "/tmp" is not an absolute
on Windows, it has to be prefixed with the drive letter (C:\tmp). But C:\tmp does not typically
exist on Windows nodes, so we use C:\Users instead.
2020-08-18 13:39:31 -07:00
Kubernetes Prow Robot
a690a36514
Merge pull request #94086 from robscott/endpointslice-sync-fix
Updating EndpointSlice controller to wait for all caches to be synced
2020-08-18 13:25:10 -07:00
Antonio Ojea
b276b4775f Deflake TestServiceRegistryUpdateDryRun test
The test suite was using a /24 cluster network for the allocator.
The ip allocator, if no ip is specified when creating the cluster,
picks one randomly, that means that we had 1/256 chances of
collision.

The TestServiceRegistryUpdateDryRun was creating a service without
a ClusterIP, the ip allocator assigned one random, and it was
never deleting it. The same test was checking later if one
specific IP was not allocated, not taking into consideration
that the same ip may have allocated to the first Service.

To avoid any randomness, we create the first Service with a specific
IP address.
2020-08-18 22:02:55 +02:00
Rob Scott
43ce0c53cc
Fixing a flaky EndpointSliceMirroring integration test
This test was trying to create an Endpoints resource that the Endpoints
controller would also attempt to create. This could result in a failure
if the Endpoints controller created the resource before the test did.
2020-08-18 12:52:54 -07:00
Rob Scott
9180cf2346
Updating EndpointSlice controller to wait for all caches to be synced
Previously the EndpointSlice controller was not waiting for
EndpointSlices or Nodes to be synced.
2020-08-18 12:11:44 -07:00
Kubernetes Prow Robot
544b74c2cb
Merge pull request #94050 from liggitt/remove-flaky-audit-test
Remove flaky audit e2e test
2020-08-18 09:45:31 -07:00
He Jie Xu
dc52b69ddc Only lock statuses map when status isn't successful
Determine the status successful or not first, that will reduce the chance
of lock contention.
2020-08-18 22:40:15 +08:00
Kubernetes Prow Robot
fd74333a97
Merge pull request #93622 from knight42/test/plugin-register-timeout
Fix race condition in pluginWatcher
2020-08-17 19:03:32 -07:00