Arda Güçlü
be5f7c051b
Update dependencies for kubectl
2022-06-22 10:35:36 +03:00
Arda Güçlü
22b43d4edb
Use error wrapping in patchSimple
2022-06-22 10:22:27 +03:00
Arda Güçlü
4ed5653a0b
Move getPatchType logic back to main function
2022-06-22 09:35:49 +03:00
weilaaa
9847b2eeb4
correct input params and add godoc
2022-06-22 11:26:07 +08:00
Mengjiao Liu
5fca1112e1
Add test for sysctl support slash as separator
2022-06-22 10:39:52 +08:00
wongearl
44404d309c
fix "k8s.io/client-go/rest" is being imported more than once,optimize code
2022-06-22 10:31:24 +08:00
Mengjiao Liu
20bb84b3f1
Pod SecurityContext and PodSecurityPolicy supports slash as sysctl separator
2022-06-22 10:24:35 +08:00
ZhangKe10140699
a945b6f066
Fix:[Flaky test] ci-kubernetes-node-kubelet-serial-cri-o job: [sig-node] Density [Serial] [Slow] create a sequence of pods latency/resource should be within limit when create 10 pods with 50 background pods
2022-06-22 08:14:43 +08:00
Kubernetes Prow Robot
3beb8dc596
Merge pull request #110612 from mattcary/ss-integration
...
Add TestAutodeleteOwnerRefs statefulset integration test
2022-06-21 15:29:42 -07:00
Antonio Ojea
d974f3fb5f
enable ServiceIPStaticSubrange beta by default
2022-06-22 00:21:27 +02:00
Kubernetes Prow Robot
4720f0725c
Merge pull request #110531 from Iceber/fix-run-controller-manager
...
fix the running of the kube-controller-manager
2022-06-21 13:15:55 -07:00
Kubernetes Prow Robot
3d5971aa5d
Merge pull request #110167 from NoicFank/master
...
scheduling: fix duplicate checks for number of enabled queue sort plugin
2022-06-21 13:15:43 -07:00
Aldo Culquicondor
817c8bbf59
Increase timeout for TestSyncPastDeadlineJobFinished
...
To mitigate flakiness
Change-Id: I1d0286d16d2b7dd3a605690e9a2d4d2f954701ff
2022-06-21 14:49:10 -04:00
Kubernetes Prow Robot
1ceca7b139
Merge pull request #110646 from thockin/rest-init-uid-early
...
Initialize UID earlier in the Create process
2022-06-21 11:06:38 -07:00
Kubernetes Prow Robot
e1f5282b19
Merge pull request #110638 from kerthcet/feat/nominate-to-reviewer
...
REQUEST: nominate kerthcet as sig scheduler reviewer
2022-06-21 11:06:26 -07:00
Kubernetes Prow Robot
a57c140a12
Merge pull request #110567 from xiaomudk/patch-2
...
Remove redundant variable definitions in scheduler apis defaults.go
2022-06-21 09:46:25 -07:00
lokichoggio
a86f1672c3
code optimization
2022-06-21 23:36:07 +08:00
Kante Yin
e844c12a61
Cleanup: defer to close server in tests ( #110367 )
...
* Cleanup: defer to close server in tests
Signed-off-by: kerthcet <kerthcet@gmail.com>
* address comments
Signed-off-by: kerthcet <kerthcet@gmail.com>
* address comments
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-06-21 08:00:38 -07:00
Kubernetes Prow Robot
375fd32b9f
Merge pull request #109957 from adammw/adammw/disruption-implements-scale
...
disruptioncontroller: check for scale subresource correctly
2022-06-21 08:00:26 -07:00
Brian Pursley
25e713ba77
Remove unused flags from kubectl run
...
The following flags, which do not apply to kubectl run,
have been removed:
--cascade
--filename
--force
--grace-period
--kustomize
--recursive
--timeout
--wait
These flags were being added to the run command to support
pod deletion after attach, but they are not used if set, so
they effectively do nothing.
This PR also displays an error message if the pod fails to be
deleted (when the --rm flag is used). Previously any error
during deletion would be suppressed and the pod would remain.
This PR also adds some unit tests for run and attach with and
without the --rm flag. As such, some minor refactoring of the
run command has been done to support mocking dependencies.
2022-06-21 10:51:30 -04:00
Kubernetes Prow Robot
a9f83d839e
Merge pull request #110664 from jbartosik/rollback-failing-hpa-e2e
...
Revert "Add e2e test for HPA behavior: scale up delay"
2022-06-21 05:49:43 -07:00
ldsdsy
bfe61fa574
Fix a typo
2022-06-21 18:30:02 +08:00
xiaopeng
8839609868
add setErr
...
Signed-off-by: xiaopeng <hanxiaop8@outlook.com>
2022-06-21 17:57:48 +08:00
Matthew Booth
0f41aaf138
Make kubelet set alpha.kubernetes.io/provided-node-ip unconditionally
2022-06-21 10:37:34 +01:00
hwdef
2ea856026a
clean up spelling_failures
2022-06-21 17:33:46 +08:00
chymy
c8aa25e472
fix several typo
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2022-06-21 09:11:41 +00:00
zhoumingcheng
b722056698
add unit test
...
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-06-21 17:03:43 +08:00
Kubernetes Prow Robot
02462739ca
Merge pull request #110655 from Abirdcfly/fixtypo1
...
typo in comments pkg/kubelet/volumemanager/volume_manager.go
2022-06-20 16:01:42 -07:00
Joachim Bartosik
a936e21538
Revert "Add e2e test for HPA behavior: scale up delay"
...
The test is failing since its first run: #110662
This reverts commit a724818ad0
.
2022-06-20 14:50:46 +02:00
Arda Güçlü
d336f7df87
Stop passing source as parameter
...
This commit removes passing source field as parameter. Instead,
this commit returns error verb and error functions to caller function.
Caller function can add source field by generating correct message.
2022-06-20 10:04:18 +03:00
Kensei Nakada
27e7d167e6
Graduate MinDomains in Pod Topology Spread to beta
2022-06-20 06:18:45 +00:00
song
41762c588f
update auto can-i error message
...
Signed-off-by: song <tinysong1226@gmail.com>
2022-06-20 10:07:21 +08:00
Abirdcfly
984ed7ab94
typo in comments pkg/kubelet/volumemanager/volume_manager.go
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-20 09:59:01 +08:00
Stephen Heywood
d1447d6419
Create e2e test for ResourceQuota endpoints
...
e2e test validates the following 3 extra endpoints
- deleteCoreV1CollectionNamespacedResourceQuota
- listCoreV1ResourceQuotaForAllNamespaces
- patchCoreV1NamespacedResourceQuota
2022-06-20 12:26:27 +12:00
Kubernetes Prow Robot
609db7ed0b
Merge pull request #110635 from chendave/kubeadm_fix
...
kubeadm: fail faster when the version is not provided
2022-06-19 10:06:03 -07:00
Kubernetes Prow Robot
3724273d38
Merge pull request #110640 from aspsk/aspsk/pr/fix-test-e2e-network-hostport
...
test/e2e/network: fix a bug in the hostport e2e test
2022-06-19 06:54:03 -07:00
Tim Hockin
5615de51f9
Initialize UID earlier in the Create process
...
Before:
Create()
BeginCreate()
BeforeCreate()
init UID <---------------------
strategy code
After:
Create()
init UID <-------------------------
BeginCreate()
BeforeCreate()
strategy code
This also wipes UID early (suggested by David) and asserts it is set in
BeforeCreate().
2022-06-18 18:47:23 -07:00
Kubernetes Prow Robot
d2f97bf90c
Merge pull request #108823 from ialidzhikov/update-deprecation-messages
...
kubelet: Update deprecation messages from 1.24 to 1.25
2022-06-18 13:32:03 -07:00
ialidzhikov
0a83f72214
kubelet: Update deprecation messages from 1.24 to 1.25
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-06-18 19:45:50 +03:00
Harsha Narayana
85e74aa312
GIT-110335: address namespace defaulting for events
2022-06-18 21:52:50 +05:30
JunYang
7f375e4ff0
Fix s.RuntimeCgroups error condition
2022-06-19 00:09:20 +08:00
yxxhero
7a5af811e7
remove unused code in kubelet
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-18 15:03:27 +08:00
Iceber Gu
cac919bca4
fix the running of the kube-controller-manager
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2022-06-18 09:24:04 +08:00
Kermit Alexander
192aea7119
Remove need for escaped quotes.
2022-06-17 22:40:38 +00:00
Kubernetes Prow Robot
dbb6c77de4
Merge pull request #110108 from ialidzhikov/fix/typo
...
Nit: Fix a typo
2022-06-17 14:52:02 -07:00
Anton Protopopov
4026d355bc
test/e2e/network: add a check to the hostport e2e test
...
As described in 8c76845b03
("test/e2e/network: fix a bug in the hostport e2e
test") if we have two pods with the same hostPort, hostIP, but different
protocols, a CNI may be buggy and decide to forward all traffic only to one of
these pods. Add a check that we receiving requests from different pods.
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2022-06-17 21:08:35 +00:00
Divyen Patel
dfba13a2e9
enabling CSIMigrationvSphere feature by default
2022-06-17 12:36:21 -07:00
Kubernetes Prow Robot
26348b767d
Merge pull request #105797 from pohly/log-configuration-feature-gates
...
component-base: make LoggingConfiguration a single-version API
2022-06-17 12:34:04 -07:00
Kensei Nakada
8b18f7c869
Retry when update unschedulable pods status on scheduling loop
2022-06-17 19:09:30 +00:00
Patrick Ohly
4c6338ac0f
logs: replace config methods with functions
...
API types are only supposed to have methods related to serialization.
2022-06-17 20:22:13 +02:00