Commit Graph

13709 Commits

Author SHA1 Message Date
Matthew Cary
e4e735cd1c statefulset PersistentVolumeClaimDeletePolicy api change 2021-06-23 10:33:05 -07:00
Joe Betz
5d461adb3b Apply suggestions from code review
Co-authored-by: Daniel Smith <dbsmith@google.com>
2021-06-23 10:18:17 -07:00
njuptlzf
93365919b5 Fix staticcheck failures 2021-06-23 23:27:43 +08:00
Jordan Liggitt
730c21d386 Drop etcd tests dependency 2021-06-23 10:22:58 -04:00
Jordan Liggitt
01760927b8 Simplify running embedded etcd server in tests 2021-06-23 10:22:57 -04:00
Sascha Grunert
8b7003aff4 Add SeccompDefault feature
This adds the gate `SeccompDefault` as new alpha feature. Seccomp path
and field fallbacks are now passed to the helper functions, whereas unit
tests covering those code paths have been added as well.

Beside enabling the feature gate, the feature has to be enabled by the
`SeccompDefault` kubelet configuration or its corresponding
`--seccomp-default` CLI flag.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>

Apply suggestions from code review

Co-authored-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-06-23 10:22:57 +02:00
youhonglian
4b14021874 update github.com/pkg/errors to go native errors pkg in staging 2021-06-23 16:20:45 +08:00
Kubernetes Prow Robot
268cab5f44 Merge pull request #102022 from adtac/sbeta
graduate SuspendJob to beta
2021-06-22 17:18:10 -07:00
Kubernetes Prow Robot
5f285e9eae Merge pull request #102578 from payall4u/payall4u/cri-cgroupv2
Feature: add unified on CRI to support cgroup v2
2021-06-22 12:00:10 -07:00
Kubernetes Prow Robot
985ac8ae50 Merge pull request #101030 from cynepco3hahue/pod_resources_memory_interface
Extend pod resource API response to return the information from memory manager
2021-06-22 06:35:58 -07:00
Kubernetes Prow Robot
b524334105 Merge pull request #98287 from lala123912/log_format_registry
staging/src/k8s.io/apiserver/pkg/registry:migrate to structured logs
2021-06-22 04:25:58 -07:00
Kubernetes Prow Robot
ae666361cd Merge pull request #103025 from serathius/logr-simplify
Simplify zap logger initialization
2021-06-22 02:59:58 -07:00
Artyom Lukianov
24023f9fcc Extend pod resource API response to return the memory manager information
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 12:59:04 +03:00
Kubernetes Prow Robot
f4e7828674 Merge pull request #103028 from serathius/example-caller
Update logging example with caller
2021-06-21 20:44:10 -07:00
Kubernetes Prow Robot
2495ec7f11 Merge pull request #102967 from aojea/goaway
deflake TestClientReceivedGOAWAY test
2021-06-21 19:24:05 -07:00
payall4u
0dd1624ec8 update cri-api v1 2021-06-22 09:46:24 +08:00
Kubernetes Prow Robot
7f4abd897e Merge pull request #102414 from divyenpatel/use-ga-topology-labels-for-vsphere
Update vSphere volume topology label to GA
2021-06-21 18:13:57 -07:00
Shihang Zhang
8231a3e921 CSIServiceAccountToken ga 2021-06-21 11:35:24 -07:00
Divyen Patel
518844fd25 use GA topology labels for vsphere 2021-06-21 10:37:31 -07:00
Antonio Ojea
4d11c3cd8c deflake TestClientReceivedGOAWAY test
The test was flaking because the test was creating more connections
than expected.

Disabling connection pooling removes the flakes, and no more connections
are created that the necessary.
2021-06-21 17:37:20 +02:00
Kubernetes Prow Robot
671251a8b9 Merge pull request #103018 from feiskyer/test-cleanup
chore: clean up the tests that have external dependencies
2021-06-21 08:22:51 -07:00
Abu Kashem
6203d4fc6a apf: calculation of dR/dt should use seats in use 2021-06-21 05:38:07 -04:00
Marek Siarkowicz
292f2a67bd Update logging example with caller 2021-06-20 21:03:50 +02:00
Marek Siarkowicz
e37d6d6c6d Simplify zap logger initialization 2021-06-20 18:27:10 +02:00
sanposhiho
a2a8080169 Fix: typo with hack/update-codegen.sh 2021-06-21 00:52:43 +09:00
sanposhiho
fc38aeed6f Fix: typo on ExtractHoge 2021-06-21 00:48:06 +09:00
Marek Siarkowicz
b9d5d5536e Add log sanitization klog integration tests 2021-06-20 13:52:35 +02:00
Kubernetes Prow Robot
b469c9cfa4 Merge pull request #102437 from MadhavJivrajani/structured-logging/source-code-location
Add info about source code location in JSON logging
2021-06-19 08:46:50 -07:00
Madhav Jivrajani
cff40a7bcc Add info about source code location in JSON logging
- Add `EncodeCaller` field in `encoderConfig`
- Use `ShortCallerEncoder` as `EncodeCaller
- Add CallerKey to encoderConfig
- Get frame of calling function based on what logging function is called (Info, Error, dPanic)
- Using obtained frame (if obtainable), set the Caller in the zapcore.Entry to indicate source code info
- Update tests to reflect the new format

Fix call frame depth implementation

- Implement zapLogger.WithCallDepth to implement the logr.CallDepthLogger interface
- Add a custom time encoder that use timeNow() stub instead of calling it manually in a zap Entry
- Update json logger unit tests and klog integration tests

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-06-19 19:11:40 +05:30
Pengfei Ni
875f1ffe2b chore: clean up the tests that have external dependencies 2021-06-19 16:55:46 +08:00
Kubernetes Prow Robot
2ff70c77c9 Merge pull request #103010 from BenTheElder/ansi-386-overflow
update Azure/go-ansiterm to v0.0.0-20210617225240-d185dfc1b5a1
2021-06-18 21:42:49 -07:00
Kubernetes Prow Robot
7e23c5367d Merge pull request #95768 from danwinship/document-nodeaddresstype
Document the NodeAddressType values
2021-06-18 16:42:42 -07:00
Benjamin Elder
35e9d97f3e update Azure/go-ansiterm to v0.0.0-20210617225240-d185dfc1b5a1
fixes constant overflow on windows/386
2021-06-18 16:11:58 -07:00
Andrey Smirnov
6c0463bd2b fix: properly wrap errors when reading response body in the client
As `%v` doesn't allow error unwrapping, checks like `errors.Is` are not
working properly.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-06-18 23:35:31 +03:00
Mike Spreitzer
3930629e13 Track generalization for width 2021-06-18 15:07:25 -04:00
Mike Spreitzer
676f0450ed Add APF metrics about R(t) 2021-06-18 15:07:22 -04:00
Simon Schneider
e72effbf12 Remove omitempty from PathType
Signed-off-by: Simon Schneider <github@simon-schneider.eu>
2021-06-18 20:15:50 +02:00
Kubernetes Prow Robot
e9c6ec639c Merge pull request #102783 from mcbenjemaa/update-dep-gnostic
Update gnostic to the latest version
2021-06-18 09:52:18 -07:00
Kubernetes Prow Robot
d89c11a0d4 Merge pull request #102629 from tiloso/staticcheck-cluster-apimachinery-apiserver
Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver}
2021-06-18 09:52:06 -07:00
Kubernetes Prow Robot
eda1298c47 Merge pull request #102991 from soltysh/column_printer
Extract columnPrinter interface for printing the values behind additional columns
2021-06-18 07:20:19 -07:00
Kubernetes Prow Robot
48b7492f92 Merge pull request #102946 from ahmed-mez/patch-1
Fix ServerGroupsAndResources docs typo
2021-06-18 04:36:04 -07:00
Maciej Szulik
5d15ed02b5 Extract columnPrinter interface for printing the values behind additional columns 2021-06-18 13:30:09 +02:00
Mohamed chiheb Ben jemaa
1c2ba3162d update internal modules 2021-06-18 10:42:13 +01:00
Kubernetes Prow Robot
f62b9dbd92 Merge pull request #102934 from lavalamp/verblog
Make logged verbs match metric-reported verbs
2021-06-18 02:18:17 -07:00
Kubernetes Prow Robot
0c58969955 Merge pull request #102848 from tkashem/apf-width-seat-cap
apf: take seats into account when dispatching request
2021-06-18 02:18:05 -07:00
Mohamed chiheb Ben jemaa
9571b1f884 update vendor 2021-06-18 09:46:44 +01:00
Kubernetes Prow Robot
9d3e4eb862 Merge pull request #102415 from hyakuhei/AWS-SDK-GO-v1.38.49
Update aws-sdk-go to 1.38.49
2021-06-17 20:28:04 -07:00
Kubernetes Prow Robot
3be88d5d0f Merge pull request #102892 from gnufied/no-error-on-canonical-path
Do not throw error when we can't get canonical path
2021-06-17 17:16:05 -07:00
Daniel Smith
54fde5d119 Make logged verbs match metric-reported verbs 2021-06-17 16:42:23 -07:00
Kubernetes Prow Robot
3dbe33ae31 Merge pull request #102935 from nilo19/bug/cherry-pick-661
fix: cleanup outdated routes
2021-06-17 13:00:17 -07:00