Kubernetes Prow Robot
d6487d63b7
Merge pull request #108310 from csantanapr/add-check-colima
...
add check for colima docker socket as fall back
2022-03-25 15:33:59 -07:00
Kubernetes Prow Robot
e8e0fe9e87
Merge pull request #106792 from aojea/reserved_allocator
...
KEP-3070: Reserve Service IP Ranges For Dynamic and Static IP Allocation
2022-03-25 13:53:58 -07:00
Kubernetes Prow Robot
84bd51c7a1
Merge pull request #107910 from tkashem/latency-breakdown
...
track latency incurred in various layers of apiserver
2022-03-25 11:47:58 -07:00
Abu Kashem
1d1a44cf12
track latency for http.ResponseWriter.Write
2022-03-25 12:49:03 -04:00
Abu Kashem
eca9085694
add latency tracker for storage and transform
2022-03-25 12:45:40 -04:00
Kubernetes Prow Robot
5e63432f79
Merge pull request #108954 from jpbetz/cel-0.11.1
...
Use CEL EagerlyValidateDeclarations to improve compilation performance
2022-03-25 07:43:59 -07:00
Joe Betz
6c6d76c69e
Initialize a base CEL env and share it to avoid repeated function declaration validation
2022-03-25 09:18:49 -04:00
Joe Betz
4c90653d19
Bump CEL to 0.11.2
2022-03-25 09:18:41 -04:00
Kubernetes Prow Robot
e7845861a5
Merge pull request #108986 from gnufied/use-temp-dir-shutdown-tests
...
Use tempdir for shutdown tests
2022-03-25 05:17:51 -07:00
Kubernetes Prow Robot
4348c8ecaf
Merge pull request #108752 from alculquicondor/job-orphan-pods
...
Fix: Clean job tracking finalizer from orphan pods
2022-03-25 03:21:51 -07:00
Kubernetes Prow Robot
d58f42961c
Merge pull request #99556 from nikhita/kubectl-subresources-01
...
kubectl: support --subresource flag
2022-03-24 23:43:50 -07:00
Kubernetes Prow Robot
cee5e9f406
Merge pull request #108892 from mkimuram/issue/108891
...
e2e: deflake "should run through the lifecycle of Pods and PodStatus"
2022-03-24 22:08:01 -07:00
Kubernetes Prow Robot
ef404e989d
Merge pull request #108073 from benluddy/cel-transition-rule-oldself-plumbing
...
Support CEL CRD validation expressions that reference existing object state.
2022-03-24 22:07:50 -07:00
Kubernetes Prow Robot
bfe649dbc0
Merge pull request #108965 from adisky/add-crdential-flag-to-ubuntu
...
[node e2e] prepend credential provider flags on ubuntu os also
2022-03-24 20:06:05 -07:00
Kubernetes Prow Robot
68cf2a60c6
Merge pull request #108847 from adisky/update-credential-api
...
Move kubelet credential provider feature flag to beta and update the api's
2022-03-24 20:05:53 -07:00
Kubernetes Prow Robot
d60df5ba04
Merge pull request #108159 from pohly/logcheck
...
logcheck update and golangci-lint integration
2022-03-24 18:37:50 -07:00
Joe Betz
f71c4d4cf4
Add validation rule tests for transition rules
2022-03-24 21:19:50 -04:00
Kubernetes Prow Robot
750cb93e62
Merge pull request #104736 from lauchokyip/improveFlags
...
Beautify kubectl help flag commands
2022-03-24 17:33:50 -07:00
Ben Luddy
fe38a414f8
Allow and enforce CEL CRD validation rules that reference oldSelf.
...
Co-authored-by: Joe Betz <jpbetz@google.com>
2022-03-24 18:20:51 -04:00
Alex Zielenski
11b3a18cca
Update kube-openapi ( #108895 )
...
* upgrade k8s.io/kube-openapi
* fix open-api v3 blank aggregator output
* use keys as API group
in ./hack/update-openapi-spec.sh
* fix import grouping
* update openapiv3 integration tests
2022-03-24 14:01:01 -07:00
Kubernetes Prow Robot
bd1e7dc3cb
Merge pull request #108817 from KnVerey/kustomize_version
...
Expose the version of Kustomize that Kubectl embeds
2022-03-24 14:00:53 -07:00
Kubernetes Prow Robot
9bb5823b83
Merge pull request #108455 from Argh4k/race-conditions
...
Copy request in timeout handler
2022-03-24 14:00:41 -07:00
Kubernetes Prow Robot
da7f184344
Merge pull request #108934 from stevekuznetsov/skuznets/time-out-test
...
pkg/storage/etcd3: update test to time out, not panic
2022-03-24 12:19:04 -07:00
Kubernetes Prow Robot
2161071d0b
Merge pull request #108919 from denkensk/rename-usQ
...
Rename unschedulableQ to unschedulablePods
2022-03-24 12:18:53 -07:00
Kubernetes Prow Robot
df790a5b06
Merge pull request #108738 from deads2k/add-eviction
...
allow namespace editors to evict pods
2022-03-24 12:18:41 -07:00
Katrina Verey
44e63e8ff8
kubectl version should include bundled kustomize version
2022-03-24 13:31:57 -04:00
Katrina Verey
af059a0731
Colorize string test helper results
2022-03-24 13:31:57 -04:00
Aditi Sharma
ed16ef2206
Move feature flag credential provider to beta
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2022-03-24 22:43:38 +05:30
Kubernetes Prow Robot
221b60fb82
Merge pull request #108981 from liggitt/skip-race
...
Temporarily disable TestCheckRetryClosesBody
2022-03-24 09:40:52 -07:00
Kubernetes Prow Robot
28755c32b5
Merge pull request #107090 from cici37/reduceNoise
...
Return type instead of object
2022-03-24 09:40:41 -07:00
Hemant Kumar
13b34d9c77
Use tempdir for shutdown tests
2022-03-24 11:58:49 -04:00
Aldo Culquicondor
8776931abb
Remove finalizer when orphaned
...
Change-Id: Id88a28755660812a274dffab2693cb8a0ef4235c
2022-03-24 11:57:51 -04:00
Aldo Culquicondor
211e33d93f
Fix: Clean job tracking finalizer from orphan pods
...
Change-Id: I04cd70725fd1830be8daf2dca53f67bc10a379b7
2022-03-24 11:57:51 -04:00
Aldo Culquicondor
1d9e3766d2
Add test for Background delete propagation
...
Change-Id: I033e6fb04933c64cfe6490d1019333745d58c423
2022-03-24 11:57:51 -04:00
Aldo Culquicondor
f72173e4b4
Add integration test for orphan pods when there is GC
...
Change-Id: I04cd70725fd1830be8daf2dca53f67bc10a379b7
2022-03-24 11:57:49 -04:00
Steve Kuznetsov
fc33d0176a
pkg/storage/etcd3: update test to time out, not panic
...
Without these select statements, this test runs until the package-global
timeout and causes a panic. This change makes the test fail faster and
more legibly.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-24 07:06:22 -08:00
Maciej Wyrzuc
44705c7140
Copy request in timeout handler
2022-03-24 14:52:35 +00:00
Kubernetes Prow Robot
cc5bf4a3f4
Merge pull request #108569 from mborsz/cont
...
Implement page size progressing for rare selectors
2022-03-24 07:42:53 -07:00
Kubernetes Prow Robot
83ee27569e
Merge pull request #106591 from Kartik494/bumpetcd
...
Updated Etcd Version to 3.5.1 in go.mod
2022-03-24 07:42:41 -07:00
Jordan Liggitt
9c13a27d18
Temporarily disable TestCheckRetryClosesBody
2022-03-24 10:11:06 -04:00
Kubernetes Prow Robot
b456e70fe9
Merge pull request #108970 from nikhita/publishing-bot-gitattributes
...
publishing/rules: remove .gitattributes before publishing
2022-03-24 06:39:05 -07:00
Kubernetes Prow Robot
d9819f05d0
Merge pull request #108927 from wojtek-t/unify_pf_metrics
...
Record dropped requests in apiserver_request_total metric
2022-03-24 06:38:53 -07:00
Kubernetes Prow Robot
c956b1a2c4
Merge pull request #108553 from kerthcet/fix/race-detected-in-TestErrConnKilled
...
fix: race detected in TestErrConnKilled
2022-03-24 06:38:41 -07:00
Kubernetes Prow Robot
4e8b2ff023
Merge pull request #106844 from atiratree/gc_metrics
...
add gc metrics and collect sync errors
2022-03-24 04:40:42 -07:00
Patrick Ohly
17e3c555c5
hack: integrate logcheck into golangci-lint
...
Running logcheck as part of golangci-lint has several advantages:
- faster checking because finding files and parsing is shared
with other linters
- gets rid of the complex and buggy
hack/verify-structured-logging.sh (https://github.com/kubernetes/kubernetes/issues/106746 )
- support for // nolint:logcheck
- works with Go 1.18
2022-03-24 11:21:03 +01:00
Patrick Ohly
edffc700a4
enhance and fix log calls
...
Some of these changes are cosmetic (repeatedly calling klog.V instead of
reusing the result), others address real issues:
- Logging a message only above a certain verbosity threshold without
recording that verbosity level (if klog.V().Enabled() { klog.Info... }):
this matters when using a logging backend which records the verbosity
level.
- Passing a format string with parameters to a logging function that
doesn't do string formatting.
All of these locations where found by the enhanced logcheck tool from
https://github.com/kubernetes/klog/pull/297 .
In some cases it reports false positives, but those can be suppressed with
source code comments.
2022-03-24 11:13:50 +01:00
Patrick Ohly
0f4d0660a7
kube-scheduler: finish conversion to structured logging
...
Thanks to support for multi-line string values we can now also convert
these remaining klog.Info calls without making the output unreadable
in text format.
The debug log messages intentionally don't get changed to ensure that
developers looking for it still find it.
The output now looks like this:
I0322 11:44:46.715093 458409 configfile.go:96] "Using component config" config=<
apiVersion: kubescheduler.config.k8s.io/v1beta2
clientConnection:
acceptContentTypes: ""
burst: 100
contentType: application/vnd.kubernetes.protobuf
kubeconfig: /var/run/kubernetes/scheduler.kubeconfig
qps: 50
enableContentionProfiling: true
...
schedulerName: default-scheduler
>
I0322 11:45:08.695649 458409 comparer.go:42] "Cache comparer started"
I0322 11:45:08.695718 458409 comparer.go:67] "Cache comparer finished"
I0322 11:45:08.695820 458409 dumper.go:52] "Dump of cached NodeInfo" nodes=<
Node name: 127.0.0.1
Deleted: false
Requested Resources: &{MilliCPU:0 Memory:0 EphemeralStorage:0 AllowedPodNumber:0 ScalarResources:map[]}
Allocatable Resources:&{MilliCPU:36000 Memory:67019448320 EphemeralStorage:181555660500 AllowedPodNumber:110 ScalarResources:map[hugepages-1Gi:0 hugepages-2Mi:0]}
Scheduled Pods(number: 0):
>
I0322 11:45:08.695873 458409 dumper.go:62] "Dump of scheduling queue" pods=<
name: coredns-6874cd75d4-fv6hv, namespace: kube-system, uid: f1df106f-7fd9-460d-8403-333df61b2751, phase: Pending, nominated node:
>
2022-03-24 11:13:50 +01:00
Kubernetes Prow Robot
efdb80dcc6
Merge pull request #108936 from stevekuznetsov/skuznets/more-correct-diff
...
pkg/storage/etcd3: use correct diff in tests
2022-03-24 02:59:26 -07:00
Kubernetes Prow Robot
4e6000a40c
Merge pull request #108935 from stevekuznetsov/skuznets/too-large-rv
...
pkg/storage/etcd3: refactor "too large" resourceVersions
2022-03-24 02:59:18 -07:00
Kubernetes Prow Robot
190f974dd8
Merge pull request #108902 from kolyshkin/bump-golangci-lint
...
Fix verify:* after go 1.18 upgrade
2022-03-24 02:59:06 -07:00