Commit Graph

101628 Commits

Author SHA1 Message Date
Monis Khan
7e891e5d6c
csr: correctly handle backdating of short lived certs
This change updates the backdating logic to only be applied to the
NotBefore date and not the NotAfter date when the certificate is
short lived. Thus when such a certificate is issued, it will not be
immediately expired.  Long lived certificates continue to have the
same lifetime as before.

Consolidated all certificate lifetime logic into the
PermissiveSigningPolicy.policy method.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-06-23 15:36:11 -04:00
Kubernetes Prow Robot
2453f07e93
Merge pull request #102396 from odinuge/restart_test
Restart test: Kill container runtime with SIGKILL
2021-06-22 13:10:10 -07:00
Kubernetes Prow Robot
72fc6d9ea0
Merge pull request #103089 from chendave/ratio_cleanup
Simplify the formula used in the `RequestedToCapacityRatio` plugin
2021-06-22 12:00:23 -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
a3f24e8459
Merge pull request #102443 from ravisantoshgudimetla/remove-bnv
Remove balanced attached node volumes
2021-06-22 09:29:58 -07:00
ravisantoshgudimetla
b6c75bee15 Remove balanced attached node volumes
kubernetes#60525 introduced
Balanced attached node volumes feature gate to include volume
count for prioritizing nodes. The reason for introducing this
flag was its usefulness in Red Hat OpenShift Online environment
which is not being used any more. So, removing the flag
as it helps in maintainability of the scheduler code base
as mentioned at kubernetes#101489 (comment)
2021-06-22 11:19:30 -04:00
Kubernetes Prow Robot
6dd9deea3d
Merge pull request #103038 from aojea/ips_panics
don't panic (just fail) if nodeIPs are not found
2021-06-22 07:44:11 -07:00
Kubernetes Prow Robot
c864f2357d
Merge pull request #102901 from wangyysde/add-support-imagePullPolicy-fix524
kubeadm: add support of imagePullPolicy to kubeadm
2021-06-22 07:43:59 -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
Artyom Lukianov
681905706d e2e node: provide tests for memory manager pod resources metrics
- verify memory manager data returned by `GetAllocatableResources`
- verify pod container memory manager data

Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 13:06:32 +03:00
Artyom Lukianov
03830db82d Implement all necessary methods to provide memory manager data under pod resources metrics
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-06-22 13:06:32 +03: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
Dave Chen
0f922b200f Simplify the formula used in the RequestedToCapacityRatio plugin
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-06-22 17:11:26 +08: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
e78e692f33
Merge pull request #101449 from CaoDonghui123/fix5
kubeadm: allow passing the flag --log-file if --config is passed
2021-06-21 20:43:57 -07:00
Kubernetes Prow Robot
2495ec7f11
Merge pull request #102967 from aojea/goaway
deflake TestClientReceivedGOAWAY test
2021-06-21 19:24:05 -07:00
Kubernetes Prow Robot
e154a6d637
Merge pull request #102455 from lunhuijie/addTestHelpers
Add test cases to the addAllocatableThresholds function in pkg/kubelet/eviction/helpers.go
2021-06-21 19:23:57 -07:00
payall4u
0dd1624ec8 update cri-api v1 2021-06-22 09:46:24 +08:00
caodonghui
25f479c2ac fix'--log-file only works if --logtostderr=false' 2021-06-22 09:32:26 +08:00
Kubernetes Prow Robot
cfa0130b9f
Merge pull request #102466 from pacoxu/dns-1.8.4
kubeadm: update coredns to 1.8.4
2021-06-21 18:14:10 -07: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
Kubernetes Prow Robot
3bd29bc53d
Merge pull request #102829 from snowplayfire/update-devicemanager
Add resource capacity to ListAndWatch grpc logging
2021-06-21 16:28:09 -07:00
Kubernetes Prow Robot
844fa00c5e
Merge pull request #102725 from 249043822/br-podworker
Fix:slow memory leak may be in kubelet podworkers.isWorking
2021-06-21 16:27:57 -07:00
Kubernetes Prow Robot
62fdaabe82
Merge pull request #102635 from charlesxsh/fix-linux-test
fix a potential deadlock in graceful node shutdown unit tests
2021-06-21 16:27:45 -07:00
wangyysde
459fe7d08a add support of imagePullPolicy to kubeadm
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-06-22 07:13:25 +08:00
Kubernetes Prow Robot
ce8b7afc8a
Merge pull request #103060 from mauriciopoppe/expose-csi-proxy-version
Expose envvar CSI_PROXY_VERSION
2021-06-21 12:38:50 -07:00
Mauricio Poppe
e2061cfcd8 Expose envvar CSI_PROXY_VERSION 2021-06-21 18:33:23 +00:00
Divyen Patel
518844fd25 use GA topology labels for vsphere 2021-06-21 10:37:31 -07:00
Kubernetes Prow Robot
e1628dac4a
Merge pull request #103037 from navist2020/cleanup/WrapfToErrorf
Use errors.Errorf instead of errors.Wrapf when the err is nil
2021-06-21 10:07:02 -07:00
Kubernetes Prow Robot
0f4fd721e5
Merge pull request #102963 from andrewsykim/granular-services-remove-internet-tests
test/e2e/network: remove dependency to google.com for in-cluster networking tests
2021-06-21 10:06:51 -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
Kubernetes Prow Robot
99c35dc37c
Merge pull request #103044 from tiloso/fix-staticcheck-flake
Fix verify staticcheck flake in cluster/images/etcd/migrate
2021-06-21 04:42:50 -07:00
tiloso
b22d0b13cc Fix verify staticcheck flake in cluster/images/etcd 2021-06-21 12:05:42 +02:00
Antonio Ojea
6d3fd8353c don't panic if nodeIPs are not found 2021-06-21 10:59:09 +02:00
navist2020
1f9d448283 Use errors.Errorf instead of errors.Wrapf when the err is nil 2021-06-21 16:17:32 +08:00
Kubernetes Prow Robot
513ae557a3
Merge pull request #103002 from TeweiLuo/remove-unmanaged-zone-tests
Remove gcepd unmanaged zone test.
2021-06-20 23:44:51 -07:00
Kubernetes Prow Robot
dd213f070e
Merge pull request #103019 from ordovicia/fix-scheduler-framework-extenders
Fix scheduler extenders being not called on preemptions
2021-06-20 16:54:52 -07:00
Andrew Sy Kim
afea48d23f test/e2e/network: remove dependency to google.com for in-cluster networking tests
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-06-20 19:19:02 -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
Kubernetes Prow Robot
0634437a70
Merge pull request #102628 from serathius/logs-sanitization
Add log sanitization klog integration tests
2021-06-20 06:56:51 -07:00
Marek Siarkowicz
b9d5d5536e Add log sanitization klog integration tests 2021-06-20 13:52:35 +02:00
Kubernetes Prow Robot
e55ff835b4
Merge pull request #102922 from SataQiu/update-link
cmd/kubelet: replace KEP link with the documentation one as it is available now
2021-06-19 13:10:50 -07: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
Hidehito Yabuuchi
e371b27e6c Fix frameworkImpl.extenders being not set 2021-06-19 18:07:31 +09:00
Pengfei Ni
875f1ffe2b chore: clean up the tests that have external dependencies 2021-06-19 16:55:46 +08:00