Commit Graph

103986 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b0eac84937
Merge pull request #105345 from pohly/generic-ephemeral-volume-util
generic ephemeral volume util, base code and controller
2021-10-07 08:19:47 -07:00
Kubernetes Prow Robot
c4d802b0b5
Merge pull request #103289 from AlexeyPerevalov/DoNotExportEmptyTopology
podresources: do not export empty NUMA topology
2021-10-07 07:11:46 -07:00
Kubernetes Prow Robot
79ee735bad
Merge pull request #105337 from Huang-Wei/pr-105303
sched: integration test to cover event registration
2021-10-06 19:53:56 -07:00
Kubernetes Prow Robot
c20ff9839e
Merge pull request #97045 from claudiubelu/tests-windows-containerd-enabled
tests: Enable some [LinuxOnly] tests for Windows Containerd
2021-10-06 19:53:45 -07:00
Kubernetes Prow Robot
b6c01adcee
Merge pull request #105455 from shivanshu1333/patch-1
Update README.md
2021-10-06 18:45:46 -07:00
Kubernetes Prow Robot
5c3a789ad4
Merge pull request #105403 from tkashem/add-watch-init-latency
apf: print watch initialization latency in httplog
2021-10-06 17:42:41 -07:00
Kubernetes Prow Robot
84027bc07d
Merge pull request #104631 from perithompson/kp-userspace-deprecation
Adding deprecation notice to the userspace proxy-mode
2021-10-06 15:32:32 -07:00
Wei Huang
3283e6bb72
sched: integration test to cover event registration 2021-10-06 15:17:38 -07:00
Kubernetes Prow Robot
814b68fb15
Merge pull request #103293 from umangachapagain/logcheck-update
update logcheck version and hack/verify-structured-logging.sh
2021-10-06 13:20:31 -07:00
Kubernetes Prow Robot
d8ba2f1530
Merge pull request #105515 from liggitt/quota-master
[master] Fix quota controller hotloop in integration tests
2021-10-06 12:18:43 -07:00
Kubernetes Prow Robot
dbd8d3bcd6
Merge pull request #105141 from VilledeMontreal/fix/noloadPluginsForComp
Do not try to load plugins for cobra commands
2021-10-06 12:18:31 -07:00
Kubernetes Prow Robot
a861de6d16
Merge pull request #105500 from ibabou/update_owners_cluster_gce
Add [ibabou] & [pjh] to Cluster GCE directory OWNERS
2021-10-06 09:58:41 -07:00
Abu Kashem
9b21e11cf9
apf: print watch init latency in httplog 2021-10-06 11:37:17 -04:00
Jordan Liggitt
81fa9855c1 Fix quota controller hotloop in integration tests 2021-10-06 11:34:32 -04:00
Patrick Ohly
4ae0eecb34 controller: use generic ephemeral volume helper functions
The name concatenation and ownership check were originally considered small
enough to not warrant dedicated functions, but the intent of the code is more
readable with them.

There also was a missing owner check in the attach controller.
2021-10-06 14:01:44 +02:00
Swati Sehgal
9337902648 podresource: move the checkForTopology logic inline
As per the recommendation here: https://github.com/kubernetes/kubernetes/pull/103289#pullrequestreview-766949859
we move the check inline.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-10-06 11:31:48 +01:00
Patrick Ohly
650eba6904 generic ephemeral volumes: helper functions
The name concatenation and ownership check were originally considered small
enough to not warrant dedicated functions, but the intent of the code is more
readable with them.
2021-10-06 10:38:05 +02:00
Kubernetes Prow Robot
afd55590e2
Merge pull request #104557 from tkashem/optimize-httplog
apiserver: construct logger for httplog only when log level is  3
2021-10-06 00:54:33 -07:00
Kubernetes Prow Robot
4586ff2c7c
Merge pull request #105333 from ibabou/update_win_base_images
Update windows base images - GCE provider
2021-10-05 23:08:33 -07:00
Kubernetes Prow Robot
debd6c1e9e
Merge pull request #104526 from jingxu97/aug/volumeattach
Fix issue in node status updating VolumeAttached list
2021-10-05 17:30:32 -07:00
Kubernetes Prow Robot
6ee6251fea
Merge pull request #104186 from pacoxu/patch-2
nominate pacoxu as sig node reviewer
2021-10-05 15:24:57 -07:00
“Ibrahim
6a2eae0d12 Add [ibabou] & [pjh] to Cluster GCE directory OWNERS 2021-10-05 22:12:49 +00:00
Kubernetes Prow Robot
4af19756bd
Merge pull request #105217 from dbgoytia/refactor/102787-enable-block-tests
Refactoring TestConcurrentAccessToRelatedVolumes for enabling Block Volume tests
2021-10-05 14:18:57 -07:00
Kubernetes Prow Robot
907d62eac8
Merge pull request #105462 from ehashman/merge-terminal-phase
Ensure terminal pods maintain terminal status
2021-10-05 13:12:58 -07:00
Elana Hashman
f9a827b895
Fix bugs in e2e pod test
- Update test to account for late synced statuses
- Terminated containers are not running
- Add missing format values to test logline
2021-10-05 11:51:12 -07:00
Kubernetes Prow Robot
9cb0c403df
Merge pull request #105484 from saschagrunert/etcd-buildx
Use docker buildx for etcd image
2021-10-05 11:22:06 -07:00
Kubernetes Prow Robot
c4c3062c07
Merge pull request #102333 from mcbenjemaa/fix/102295
Add Log statement in exec_util.go for ClientSet Creation
2021-10-05 11:21:53 -07:00
Abu Kashem
b05d805fd3
remove httplog filter from handler chain when klog.v < 3 2021-10-05 14:05:09 -04:00
Jing Xu
69b9f9b1f0 Fix issue in node status updating VolumeAttached list
During volume detach, the following might happen in reconciler

1. Pod is deleting
2. remove volume from reportedAsAttached, so node status updater will
update volumeAttached list
3. detach failed due to some issue
4. volume is added back in reportedAsAttached
5. reconciler loops again the volume, remove volume from
reportedAsAttached
6. detach will not be trigged because exponential back off, detach call
will fail with exponential backoff error
7. another pod is added which using the same volume on the same node
8. reconciler loops and it will NOT try to tigger detach anymore

At this point, volume is still attached and in actual state, but
volumeAttached list in node status does not has this volume anymore, and
will block volume mount from kubelet.

The fix in first round is to add volume back into the volume list that
need to reported as attached at step 6 when detach call failed with
error (exponentical backoff). However this might has some performance
issue if detach fail for a while. During this time, volume will be keep
removing/adding back to node status which will cause a surge of API
calls.

So we changed to logic to check first whether operation is safe to retry which
means no pending operation or it is not in exponentical backoff time
period before calling detach. This way we can avoid keep removing/adding
volume from node status.

Change-Id: I5d4e760c880d72937d34b9d3e904ecad125f802e
2021-10-05 09:44:35 -07:00
Elana Hashman
3005ef34f2
Ensure terminal pods maintain terminal status 2021-10-05 09:26:27 -07:00
Kubernetes Prow Robot
b28bf04cd0
Merge pull request #105468 from ehashman/missing-format-values
Add missing format values to test logline
2021-10-05 09:23:40 -07:00
Kubernetes Prow Robot
b4a0342714
Merge pull request #105388 from mauriciopoppe/copy-volumesnapshotcontent-annotations
Copy VolumeSnapshotContent annotations in snapshottable.go test
2021-10-05 09:23:33 -07:00
Kubernetes Prow Robot
b7da9ef49f
Merge pull request #105156 from aojea/clientgo_trace
Enhance client-go url timing logging with http statistics
2021-10-05 09:23:21 -07:00
Kubernetes Prow Robot
7cce7eec11
Merge pull request #105466 from liggitt/json-stdlib-pretty
Use json stdlib for pretty-printer encoding
2021-10-05 08:23:20 -07:00
Kubernetes Prow Robot
6c292ce270
Merge pull request #105245 from yibozhuang/lost-pvc-prefilter-optimization
Scheduler volumebinding plugin - handle Lost PVC as UnschedulableAndUnresolvable
2021-10-05 08:23:09 -07:00
Antonio Ojea
72c35be086 client-go httpstats
enhance client-go DebugURLTiming roundtripper using golang httptrace
to provide timing statistics for:
- dns lookup
- tcp dialing
- tls handshake
- time to get a connection from the pool
- time to process a request
2021-10-05 16:13:30 +02:00
Kubernetes Prow Robot
c91f9bdc60
Merge pull request #104689 from cynepco3hahue/memory_manager_restricted_policy_fix
kubelet: memory manager: fix preferred topology hints calculation
2021-10-05 06:47:08 -07:00
Kubernetes Prow Robot
519b164db1
Merge pull request #105222 from cyclinder/remove_node_lease_GA
remove nodeLease feature GA
2021-10-05 05:41:21 -07:00
Kubernetes Prow Robot
c5ad58d8a1
Merge pull request #103372 from verb/1.22-e2e-node
Create node_e2e test for ephemeral containers
2021-10-05 05:41:09 -07:00
Umanga Chapagain
1dd30f6e05
update hack/verify-structured-logging.sh
hack/verify-structured-logging.sh now tests migrated packages
for use of unstructured logging functions and all other packages
for use of correct structured logging patterns.

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2021-10-05 17:50:05 +05:30
Sascha Grunert
9ae990e3d5
Use docker buildx for etcd image
This allows to choose the correct architecture in the image manifest,
which defaulted to the host system before applying this patch.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-10-05 13:38:02 +02:00
Umanga Chapagain
f4ff6984cf
update hack/tools to pull latest logcheck
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2021-10-05 15:55:58 +05:30
Kubernetes Prow Robot
6f942a0701
Merge pull request #105412 from MikeSpreitzer/define-seat-seconds
Define datatype for seat-seconds and prevent overflow
2021-10-05 02:05:09 -07:00
Kubernetes Prow Robot
efa9029a0d
Merge pull request #104920 from tkashem/response-writer-cleanup
apiserver: decorate http.ResponseWriter correctly
2021-10-05 00:53:09 -07:00
Author cyclinder
e61b901628 remove nodeLease feature GA
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2021-10-05 12:23:27 +08:00
Kubernetes Prow Robot
0a29e2a73a
Merge pull request #105197 from alculquicondor/job-tracking
Roll-forward: Beta requirements for JobTrackingWithFinalizers
2021-10-04 18:57:49 -07:00
Kensei Nakada
0bb4c14519
scheduler: delete docs related to equivalence cache from scheduler (#105417)
* Delete: delete docs related to equivalence cache from scheduler

* Fix: re-add comment about ServiceAffinity
2021-10-04 16:23:49 -07:00
Kubernetes Prow Robot
9eaabb6b2e
Merge pull request #104304 from endocrimes/dani/eviction
[Failing Test] Fix Kubelet Storage Eviction Tests
2021-10-04 15:16:40 -07:00
Kubernetes Prow Robot
9fdcc4b199
Merge pull request #105312 from Karthik-K-N/fix-reatelimite-testfail
Fix for TestWithMaxWaitRateLimiter test case failure
2021-10-04 14:13:03 -07:00
Kubernetes Prow Robot
2358c8ae5b
Merge pull request #105144 from umangachapagain/fix-logs
remove format specifiers from structured logs
2021-10-04 14:12:51 -07:00