Shiming Zhang
40593fa4d3
spec.terminationGracePeriodSeconds allow it to be set to 1s if it was previously negative
2021-06-28 11:49:39 +08:00
Kubernetes Prow Robot
a0f9c8c277
Merge pull request #103001 from zshihang/csi
...
CSIServiceAccountToken ga
2021-06-26 19:31:23 -07:00
Kubernetes Prow Robot
df2e13376d
Merge pull request #103169 from Huang-Wei/res-scorer
...
Optimize scheduler res scorer on non-requested extended res
2021-06-26 04:21:23 -07:00
Kubernetes Prow Robot
7ab6c5322c
Merge pull request #103190 from robscott/remove-app-protocol-gate
...
Removing ServiceAppProtocol feature gate
2021-06-26 03:15:23 -07:00
Kubernetes Prow Robot
fc26906546
Merge pull request #103049 from gdsoumya/feat/errors
...
Updating github.com/pkg/errors with native go errors pkg
2021-06-25 23:43:23 -07:00
Antonio Ojea
fa7b5d86e6
remove duplicate validation on services
...
The rest api for services was validating that, on updates, both
the old and new service have the same type. That guarantees that
the type is going to be the same after that, thus we don't need
to validate the service type on the old and the new service.
2021-06-25 23:18:56 +02:00
Kubernetes Prow Robot
015a0d9b01
Merge pull request #103130 from ahg-g/ahg-ca
...
Add a function that returns default scheduler configuration
2021-06-25 12:13:24 -07:00
Wei Huang
20f84b12a1
Optimize scheduler res scorer on non-requested extended res
2021-06-25 11:41:36 -07:00
Kubernetes Prow Robot
e19dc07ac5
Merge pull request #102898 from khenidak/fix-prefer-dualstack
...
fix auto upgraded preferDual-Stack services (in cluster upgrade)
2021-06-25 10:58:08 -07:00
Rob Scott
0cdd8c1c10
Removing ServiceAppProtocol feature gate
...
This feature gate went GA in 1.20 and can be safely removed as part of
1.22.
2021-06-25 10:24:50 -07:00
Kubernetes Prow Robot
9254610765
Merge pull request #103129 from XudongLiuHarold/service-loadbalancer-class-e2e
...
Promote loadbalancerclass feature to beta
2021-06-25 09:48:57 -07:00
Kubernetes Prow Robot
07358f1663
Merge pull request #103146 from tech-geek29/fix-95380
...
Change log level to Debug
2021-06-25 07:44:45 -07:00
Kubernetes Prow Robot
55c0d318bb
Merge pull request #103127 from PushkarJ/pkg-vol-csi-non-root-test-fix
...
Fix panic in pkg/volume/csi tests
2021-06-25 06:38:44 -07:00
Kubernetes Prow Robot
859004b271
Merge pull request #103161 from MikeSpreitzer/comment-apf-types
...
Fix commenting oversights in APF types
2021-06-24 22:32:45 -07:00
Mike Spreitzer
179e48c4be
Add missing comments in APF API types
2021-06-25 00:27:40 -04:00
Xudong Liu
fe161579e2
Add integration test to promote serviceloadbalancerclass feature to beta.
2021-06-24 17:30:17 -07:00
Kubernetes Prow Robot
49ab9ac160
Merge pull request #103154 from jsafrane/fix-asw-mounter
...
Update mounter interface in volume manager
2021-06-24 14:18:05 -07:00
Kubernetes Prow Robot
2e93b3924a
Merge pull request #101943 from saschagrunert/seccomp-default
...
Add kubelet `SeccompDefault` alpha feature
2021-06-24 13:07:41 -07:00
Kubernetes Prow Robot
79494183b7
Merge pull request #102869 from mengjiao-liu/json-register-move
...
Remove default JSON logging format registration from k8s.io/component-base/logs package
2021-06-24 11:59:41 -07:00
Pushkar Joglekar
1e250610b2
Fix panic in pkg/volume/csi tests
...
When run as non-root user, TestAttacherMountDevice fails, because of missing
nil check that induces a panic. Fixed by doing err nil check
before using the returned user value from user.Current()
2021-06-24 10:14:20 -07:00
Abdullah Gharaibeh
b6a317aeaf
add a function that returns default scheduler configuration
2021-06-24 11:48:35 -04:00
Kubernetes Prow Robot
06dfe683ce
Merge pull request #103123 from dims/remove-fakefs-to-drop-spf13/afero-dependency
...
Remove fakefs to drop spf13/afero dependency
2021-06-24 07:57:41 -07:00
Davanum Srinivas
5feff280e1
remove fakefs to drop spf13/afero dependency
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-06-24 09:51:34 -04:00
Mengjiao Liu
af825b4357
Remove default JSON logging format registration from component-base/logs package
2021-06-24 20:37:09 +08:00
Jan Safranek
d3dfe124da
Update mounter interface in volume manager
...
Update mounter interface in volume manager's ActualStateOfWorld every time.
Otherwise kubelet uses the first mounter it gets, which may not have the
latest information.
This fixes set up of CSI volumes, which store information about SELinux
support in their `mounter` interface implementation. With each MountVolume()
retry, a new mounter is instantiated and only the final mounter that succeeds
has the right info if the volume supports SELinux or not and can later
return the right attributes on GetAttributes() call.
2021-06-24 14:11:31 +02:00
Rishabh Jain
8f08db9164
Change log level to Debug
2021-06-24 14:23:06 +05:30
Kenta Tada
89a4d4b071
kubelet: modify the function of getCgroupSubsystemsV2 to use libcontainer API
2021-06-24 16:58:05 +09:00
Sravanth Bangari
23ce7977b7
Loadbalancer IngressIP policy should be configured as non-DSR to enable routing mesh by default
2021-06-23 23:09:46 -07:00
Kubernetes Prow Robot
41c3f5b58d
Merge pull request #100287 from pacoxu/structure-log/clean
...
structure log related: use %v for error as it is already quoted
2021-06-23 17:19:40 -07:00
Kubernetes Prow Robot
de04c067ad
Merge pull request #101581 from carlory/remove-fg-RunAsGroup
...
remove RunAsGroup feature gate
2021-06-23 16:09:41 -07:00
Kubernetes Prow Robot
3a07d96d25
Merge pull request #99412 from enj/enj/i/ttl_backdate
...
csr: correctly handle backdating of short lived certs
2021-06-23 15:00:10 -07:00
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
Matthew Cary
b259686b36
tests for statefulset PersistentVolumeClaimDeletePolicy api change
...
Change-Id: I07c8e31a8c76a6a1022c08fb749af7e353b731de
2021-06-23 11:55:35 -07:00
sanwishe
43f8f58895
add containers starttime metrics for metrics/resource endpoint
...
Signed-off-by: sanwishe <jiang.mingzhi35@zte.com.cn >
2021-06-24 02:53:21 +08:00
Matthew Cary
e4e735cd1c
statefulset PersistentVolumeClaimDeletePolicy api change
2021-06-23 10:33:05 -07:00
Matthew Cary
0feba0c4ee
Add StatefulSetAutoDeletePVC feature gate
...
Change-Id: Iacb48932bd5402bf7e95431ffb95b0896421f88a
2021-06-23 10:33:05 -07:00
Kubernetes Prow Robot
7b24c7e4a7
Merge pull request #101256 from Jiawei0227/length2
...
Relax csiNodeIDMaxLength length limit to 256
2021-06-23 02:10:10 -07: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
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
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
Khaled (Kal) Henidak
2c6bba2936
fix auto upgraded preferDualStack services (in cluster upgrade)
2021-06-22 17:40:21 +00:00
Artyom Lukianov
d4767ed5eb
memory manager: move to beta
...
Move the memory manager feature to beta.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-06-22 20:15:29 +03: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
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
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
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
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
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