Commit Graph

101239 Commits

Author SHA1 Message Date
llhuii
3c899f9b54 sched: fix Dump's doc comment 2021-05-30 00:39:20 +08:00
Kubernetes Prow Robot
e6136c0303
Merge pull request #102417 from m14815/commit-21.5.5
Uniform output string.
2021-05-28 20:28:24 -07:00
Kubernetes Prow Robot
bc8acbc43e
Merge pull request #102328 from lentzi90/update-cni-plugins
Update CNI plugins v0.9.1
2021-05-28 10:16:46 -07:00
Kubernetes Prow Robot
ffbb85ce4e
Merge pull request #102176 from timebertt/fix/volumeattachment-migrated-volumes
Fix VolumeAttachment garbage collection for migrated PVs
2021-05-28 10:16:37 -07:00
Kubernetes Prow Robot
e7d8fb2e16
Merge pull request #101925 from neolit123/1.22-kubeadm-add-optional-fields
kubeadm: add "+optional" to fields with "omitempty" in v1beta3
2021-05-28 10:16:24 -07:00
Kubernetes Prow Robot
bf2ece7ada
Merge pull request #101923 from neolit123/1.22-kubeadm-add-skip-phases-v1beta3
kubeadm: add support for skipping phases in v1beta3
2021-05-28 09:14:24 -07:00
Lubomir I. Ivanov
24a1f9d817 kubeadm: use "SkipPhases" from configuration for "init" and "join"
During Runner data initialization, if the value for the flag
"--skip-phases" was empty set the {init|join}Runner.Options.SkipPhases
to the {Init|Join}Configuration.SkipPhases value.
2021-05-28 18:12:06 +03:00
Lubomir I. Ivanov
ac161866aa kubeadm: add SkipPhases in {Init|Join}Configuration for v1beta3
- Add the field SkipPhases in the public v1beta3 as a []string (omitempty)
- Add the field in the internal type
- Run generators
- Adapt v1beta2 converter for JoinConfiguration
2021-05-28 18:12:06 +03:00
Kubernetes Prow Robot
49897ca156
Merge pull request #102268 from sanwishe/loggingformat1
cleanup: Optimization logging format for pkg/kubelet
2021-05-28 07:50:25 -07:00
maruiyan
39d7404961 Uniform output string. 2021-05-28 16:45:12 +08:00
maruiyan
1b6cf83cf4 Error message should not be capitalized. 2021-05-28 16:00:05 +08:00
Mengjiao Liu
d3f92af74f Part of master to controlplane in test/integration
NewMasterConfig -> NewControlPlaneConfig
2021-05-28 14:39:52 +08:00
Tim Ebert
cd3709232f
Fix VolumeAttachment garbage collection for migrated PVs 2021-05-28 08:35:05 +02:00
maruiyan
02bade4644 Fix a grammar error in doc 2021-05-28 11:48:29 +08:00
Kubernetes Prow Robot
ae1f28d7b0
Merge pull request #102306 from ahg-g/ahg-vol-restrictions
Return UnschedulableAndUnresolvable instead of Error when failing to lookup volume-related resources
2021-05-27 20:48:25 -07:00
Kubernetes Prow Robot
fc9aacecca
Merge pull request #102272 from mengjiao-liu/term-NewIntegrationTestMasterConfig
Part2: master to controlplane in test/integration(1.22)
2021-05-27 19:46:23 -07:00
Kubernetes Prow Robot
7a5cfbf5c6
Merge pull request #102372 from dashpole/missed_images
Fix prometheus-to-sd image for fluentbit
2021-05-27 18:24:23 -07:00
Pavithra Ramesh
816a069d54 Add a test for verifying compute basepath.
Compute API changes could modify this, we need a test to detect if it happens.
2021-05-27 14:06:02 -07:00
Kubernetes Prow Robot
6bac142190
Merge pull request #102138 from damemi/balance-pods-parallel
(scheduler e2e) Create balanced pods in parallel
2021-05-27 14:04:23 -07:00
Mike Dame
36cdb72eb6 (scheduler e2e) Create balanced pods in parallel 2021-05-27 16:01:18 -04:00
Kubernetes Prow Robot
59fd0a5c95
Merge pull request #102377 from xmudrii/setcap-buster-v2.0.1
Update setcap to buster-v2.0.1 and add setcap to dependencies.yaml
2021-05-27 12:46:24 -07:00
Kubernetes Prow Robot
e8760b95bb
Merge pull request #102336 from SataQiu/remove-podpreset
cleanup PodPreset testdata
2021-05-27 11:36:23 -07:00
David Ashpole
3813ed1ef7 fix prometheus-to-sd image for fluentbit 2021-05-27 10:54:10 -07:00
Kubernetes Prow Robot
a5b117fab4
Merge pull request #102363 from mengjiao-liu/promote-cronjob-batchv1-storage
CronJob: switch storage version to batch/v1 in 1.22
2021-05-27 10:06:23 -07:00
Marko Mudrinić
12fe4dee2b
Update setcap to buster-v2.0.1 and add setcap to dependencies.yaml
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2021-05-27 18:32:22 +02:00
Jan Safranek
f9a04f3bc4 Move error reporting to volume plugins
Move reporting of GetReliableMountRefs error to the volume plugins that
have more context about severity of the error.
2021-05-27 18:30:17 +02:00
Kubernetes Prow Robot
b590a96130
Merge pull request #102371 from saschagrunert/kube-cross-version
Simplify kube-cross dependency handling
2021-05-27 08:18:47 -07:00
Kubernetes Prow Robot
2709b13dba
Merge pull request #102343 from seans3/remove-x-headers
Changes headers to remove "X-" prefix (IETF deprecation)
2021-05-27 08:18:35 -07:00
Kubernetes Prow Robot
f66300ef01
Merge pull request #102310 from navist2020/fix/NoErrReturn
kubeadm:return error info correctly
2021-05-27 08:18:23 -07:00
Kubernetes Prow Robot
81e159f0b0
Merge pull request #101862 from jsafrane/fix-fc-detach-retry
Retry detaching FibreChannel volume few times
2021-05-27 07:14:23 -07:00
Sascha Grunert
0ed0714f8c
Simplify kube-cross dependency handling
We can indirectly retrieve the kube-cross version from the
`build/build-image/cross/VERSION` for the sample-apiserver. This allows
us to simplify the handling in `build/dependencies.yaml` as well as
the required approval (via `OWNERS`) if the kube-cross version changes.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 14:51:46 +02:00
Sascha Grunert
39d9e98a6f
Build non-static binaries with PIE buildmode
We now add the `-buildmode pie` flag when building non-static binaries,
which enables the ASLR security mechanism.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 14:51:36 +02:00
Kubernetes Prow Robot
6db6c80656
Merge pull request #102364 from saschagrunert/cross
Update kube-cross to v1.16.4-2
2021-05-27 05:50:24 -07:00
Jakub Sroka
ac17d03e76
Remove set errexit from etcd manifest
There were cases where this caused etcd to crashloop. It seems lesser evil to let migrator fail instead.
2021-05-27 14:25:35 +02:00
Kubernetes Prow Robot
c495744436
Merge pull request #101960 from knight42/fix/deflake-metrics-proxy
Deflake tests that need to grab metrics from controller-manager or scheduler
2021-05-27 03:40:23 -07:00
Sascha Grunert
ae4db677f4
Update kube-cross to v1.16.4-2
This patch bumps kube-cross to the latest release.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 12:18:28 +02:00
Mengjiao Liu
c694b9f761 CronJob: switch storage version to batch/v1 in 1.22 2021-05-27 18:07:16 +08:00
Jian Zeng
781c65a40c fix: skip pods with empty ip 2021-05-27 16:06:34 +08:00
Kubernetes Prow Robot
d541872f9a
Merge pull request #102239 from Haleygo/clean-up-AlgorithmProvider-flag-and-pkg
clean up algorithmprovider pkg and remove scheduler deprecated algorithm-provider flag
2021-05-27 00:54:23 -07:00
刁浩 10284789
580b557592 Log spelling formatting and a redundant conversion
Signed-off-by: 刁浩 10284789 <diao.hao@zte.com.cn>
2021-05-27 07:07:22 +00:00
Kubernetes Prow Robot
29e5e4df4b
Merge pull request #99777 from JornShen/add_e2e_api_validate_endport
add API e2e test for port ranges of netpolices
2021-05-26 19:34:23 -07:00
njuptlzf
6738380a80 cleanup tempDir after fsstore_test.go 2021-05-27 10:10:08 +08:00
Kubernetes Prow Robot
46b9ccd0fc
Merge pull request #100651 from gjkim42/feature-gate-expanded-dns-config
Add feature gate ExpandedDNSConfig
2021-05-26 16:58:06 -07:00
Gunju Kim
d9681d7266 AllowExpandedDNSConfig if haveSameExpandedDNSConfig(newPod, oldPod) 2021-05-27 07:10:15 +09:00
Gunju Kim
6317ce63c6 Add feature gate ExpandedDNSConfig
ExpandedDNSConfig allows kubernetes to have expanded DNS(Domain Name
System) configuration
2021-05-27 07:10:13 +09:00
Gunju Kim
819059f641 kubelet: Validate the length of the DNS search path 2021-05-27 07:09:46 +09:00
Kubernetes Prow Robot
f7e62dc5bb
Merge pull request #100746 from mengjiao-liu/fix-nil-call
Fixed a possible nil pointer dereference caused by variable `plug`
2021-05-26 14:49:38 -07:00
Jan Safranek
a95842095e Retry reading /proc/mounts indifinetly in FC and iSCSI volume reconstruction
iSCSI and FC volume plugins do not implement real 3rd party attach/detach.
If reconstruction fails with an error on a FC or iSCSI volume, it will not
be unmounted from the volume global dir and at the same time it will be
marked as unused, to be available to be mounted on another node.

The volume can then be mounted on several nodes, resulting in volume
corruption.

The other block based volume plugins implement attach/detach that either
makes the volume stuck (can't be detached) or will be force-detached from a
node before attaching it somewhere else.
2021-05-26 23:08:19 +02:00
Jan Safranek
82cfe9f14f ConsistentRead tries 10 times
We've seen clusters where 3 attempts were not enough. Bumping to 10. The
slowdown should be negligible and it will reduce retry attempts in the
upper layers of kubelet.
2021-05-26 23:08:18 +02:00
Jan Safranek
1d16f934b9 Bump k8s.io/utils
To get io/ConsistentRead updates.
2021-05-26 23:08:03 +02:00