Daniel Vega-Myhre
a647f9febb
default enabled pod index for test cases, add test case disabling it
2023-07-05 18:47:45 +00:00
Daniel Vega-Myhre
e0af0a5a45
add test case param for feature flag
2023-06-29 21:51:15 +00:00
Daniel Vega-Myhre
cfa2fa6d77
put feature gate in alphabetical order
2023-06-27 22:20:17 +00:00
Daniel Vega-Myhre
a9afaa1eee
add feature gate
2023-06-27 18:07:17 +00:00
Daniel Vega-Myhre
2176053415
add completion index as pod label
2023-06-26 19:53:14 +00:00
Kubernetes Prow Robot
d9714078f8
Merge pull request #118551 from sanposhiho/event-to-register
...
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-26 06:41:45 -07:00
Davanum Srinivas
f7239e4095
Better back off delays and connection timeout to talk to containerd
...
Set up params similar to what we do in cadvisor:
e9068e3273/container/containerd/client.go (L59-L61)
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-25 16:25:28 -04:00
Kubernetes Prow Robot
ba6d2674ca
Merge pull request #118722 from aojea/ip_leading_zeros
...
ipallocator bug if ips has leading zeros
2023-06-25 07:11:07 -07:00
Antonio Ojea
e4f93d8a82
ipallocator bug if ips has leading zeros
...
The ipallocator for the new IPAddress object use the golang big.Int
library for some math operations, like adding an offset to an IP
address.
We use the bytes array to convert between big.Int and IP addresses,
however, IP addresses are always represented as 4 or 16 bytes arrays.
Big int bytes representations just return the byte array until the
most representative number, this requires that we need to prepend
these extra bytes for IPs with leading zeros.
Change-Id: I9d539f582cae1f9f4e373b28c5b94d7a342f09c7
Signed-off-by: Antonio Ojea <aojea@google.com >
2023-06-25 13:14:46 +00:00
Kubernetes Prow Robot
e81c24dfb8
Merge pull request #118497 from mimowo/fix-kubelet-regression
...
Proceed with deletion of rejected pods after Kubelet restart
2023-06-23 14:05:07 -07:00
Kubernetes Prow Robot
a48bcc06fe
Merge pull request #117064 from RomanBednar/multiple-defaults
...
storage class assignment should not ignore errors
2023-06-23 03:09:23 -07:00
Kubernetes Prow Robot
9325a57125
Merge pull request #118765 from mimowo/job-controller-unit-tests
...
Do not set jm.syncJobBatchPeriod=0 if not needed
2023-06-22 10:25:41 -07:00
Kensei Nakada
6f8d38406a
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-22 13:36:19 +00:00
Michal Wozniak
8ed23558b4
Do not set jm.syncJobBatchPeriod=0 if not needed
2023-06-22 11:10:53 +02:00
Michal Wozniak
17013d3960
Review remarks to improve HandlePodCleanups in kubelet
2023-06-22 10:55:39 +02:00
Michal Wozniak
e3ee9b9adc
Fix the deletion of rejected pods
2023-06-22 09:18:34 +02:00
Kubernetes Prow Robot
3e28404008
Merge pull request #118485 from MikeSpreitzer/generic-apf-strategy
...
Use generics to simplify pkg/registry/flowcontrol/ensurer
2023-06-21 23:57:40 -07:00
Mike Spreitzer
92a35f5bca
Usse generics to simplify pkg/registry/flowcontrol/ensurer
...
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com >
2023-06-22 00:56:54 -04:00
Kubernetes Prow Robot
d0accc3f02
Merge pull request #118049 from helayoty/sched-queue-gated-timestamp
...
Unset gated podinfo InitialAttemptTimestamp in addToActiveQ
2023-06-21 17:49:39 -07:00
Kubernetes Prow Robot
a19153ded9
Merge pull request #118403 from skitt/ioutil-sig-storage
...
storage: stop using deprecated io/ioutil
2023-06-21 16:49:41 -07:00
Heba Elayoty
902c711fb4
Unset gated pod info timestamp in addToActiveQ
...
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com >
2023-06-21 14:16:08 -07:00
Kubernetes Prow Robot
28296ba59e
Merge pull request #113994 from mengjiao-liu/contextual-logging-controller-certificates
...
certificate controller: use contextual logging
2023-06-21 09:03:42 -07:00
Roman Bednar
1bd3f072fa
stop ignoring storage class selection errors
...
The GetDefaultClass() was fixed in scope of this issue:
https://github.com/kubernetes/kubernetes/issues/110514
Before this change assignDefaultStorageClass() was ignoring errors from
this function since it could mean there are multiple defaults - assign
could safely continue and do nothing.
This is no longer true because we always choose one from multiple
defaults - any errors returned from GetDefaultClass() are real errors
and should not be ignored.
2023-06-21 13:09:05 +02:00
Kubernetes Prow Robot
9e0569f2ed
Merge pull request #118779 from dims/add-a-connection-backoff-to-talk-to-cri-impls
...
Add a connection backoff to talk to CRI impls
2023-06-20 20:04:21 -07:00
Davanum Srinivas
c98e72841b
Add a connection backoff to talk to CRI impls
...
We can add backoff for connection like we do in cadvisor:
https://github.com/google/cadvisor/blob/master/container/containerd/client.go#L76-L80
for now, don't tune it, just use the default:
https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-20 21:32:50 -04:00
Kubernetes Prow Robot
5a1c62b9d1
Merge pull request #118763 from Shubham82/remove_AdvancedAuditing_featuregate
...
Remove AdvancedAuditing feature gate.
2023-06-20 17:48:32 -07:00
Kubernetes Prow Robot
bc8e312857
Merge pull request #117903 from sourcelliu/dynamic
...
feature(DynamicResources): return Skip in PreFilter
2023-06-20 17:48:20 -07:00
Kubernetes Prow Robot
9d90b76bd6
Merge pull request #118552 from humblec/rbd-deprecation
...
deprecate RBD plugin from available in-tree drivers
2023-06-20 16:50:23 -07:00
Stephen Kitt
ab75e48494
storage: stop using deprecated io/ioutil
...
This replaces deprecated ioutil variables and functions as follows:
* ioutil.ReadDir -> os.ReadDir
* ioutil.ReadFile -> os.ReadFile
* ioutil.TempDir -> os.MkdirTemp
* ioutil.TempFile -> os.CreateTemp
* ioutil.WriteFile -> os.WriteFile
The ReadDir conversion involves an API change, the replacement
function returns a slice of fs.DirEntry instead of fs.FileInfo.
Where appropriate, the surrounding code has been adjusted; mostly,
that means using DirEntry.Type() instead of FileInfo.Mode().
Applying this change to the IoUtil interface would mean changing its
API, so this is left for later.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2023-06-20 16:49:03 +02:00
Michal Wozniak
784a309b91
Do not error in Job controller sync when there are pod failures
2023-06-20 11:31:24 +02:00
shubham82
f2e3157df0
Remove AdvancedAuditing feature gate.
2023-06-20 14:21:10 +05:30
Aldo Culquicondor
c9b01dd977
Fix race in logging expectations
...
Change-Id: I27da7cae741935da6f0815639a54bfd597a2a6c6
2023-06-19 13:26:39 -04:00
Kubernetes Prow Robot
988094878e
Merge pull request #108075 from ialidzhikov/cleanup/pointer-duration
...
Make use of `k8s.io/utils/pointer.Duration`
2023-06-19 05:22:21 -07:00
Kubernetes Prow Robot
bfd833baf3
Merge pull request #115982 from peaaceChoi/master
...
Update toplogy keyset initialization
2023-06-19 04:04:21 -07:00
ialidzhikov
958c8fb695
Make use of k8s.io/utils/pointer.Duration
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com >
2023-06-18 21:46:26 +03:00
Michal Wozniak
74c5ff97f1
Lower the constants for the rate limiter in Job controller
2023-06-16 17:00:04 +02:00
Humble Chirammal
f54c15d4e8
Change the fieldpath in the deprecated plugin response
...
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
Signed-off-by: carlory <baofa.fan@daocloud.io >
2023-06-16 19:47:03 +05:30
Humble Chirammal
471fd1ae8a
deprecate RBD plugin from available in-tree drivers
...
Based on https://groups.google.com/g/kubernetes-sig-storage/c/h5751_B5LQM , the
consensus was to start the deprecation in v1.28.
This commit start the deprecation process of RBD plugin from in-tree
drivers.
ACTION REQUIRED:
RBD volume plugin ( `kubernetes.io/rbd`) has been deprecated in this release
and will be removed in a subsequent release. Alternative is to use RBD CSI driver
(https://github.com/ceph/ceph-csi/ ) in your Kubernetes Cluster.
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com >
2023-06-16 19:45:36 +05:30
Michal Wozniak
c51a422d78
Cleanup job controller handling of backoff
2023-06-16 14:53:27 +02:00
Kubernetes Prow Robot
58d7a794d2
Merge pull request #113504 from pacoxu/taint-unit-test
...
AddOrUpdateTaintOnNode: if node does not exists, return an error
2023-06-15 17:48:19 -07:00
Kubernetes Prow Robot
b637006302
Merge pull request #118420 from alculquicondor/job_warnings
...
Add warnings for big number of completions and parallelism
2023-06-15 14:24:18 -07:00
Kubernetes Prow Robot
6a79a8a57c
Merge pull request #115835 from HirazawaUi/fix-terminationGracePeriod-bug
...
fix terminationGracePeriod blocked by preStop
2023-06-14 10:34:18 -07:00
Kubernetes Prow Robot
47e79b8156
Merge pull request #116910 from fatsheep9146/job-controller-contextual-logging
...
Migrated pkg/controller/job to contextual logging
2023-06-14 08:00:18 -07:00
Aldo Culquicondor
c27f9fdeb7
Add warnings for big number of completions and parallelism
...
Change-Id: I63e192b1ce9da7d8bb04f8be1a6e19ec6fbbfa5a
2023-06-14 10:38:42 -04:00
Kubernetes Prow Robot
173a473803
Merge pull request #118128 from carlory/fix-issue-118120
...
remove helper function for unused storage feature in pkg/proxy/util
2023-06-14 04:28:18 -07:00
Ziqi Zhao
7bc449d7e0
add contextual logging to job-controller
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2023-06-14 13:40:02 +08:00
Kubernetes Prow Robot
9740bc0e0a
Merge pull request #118606 from sanposhiho/refactor-score
...
refactor: simplify RunScorePlugins for readability + performance
2023-06-13 21:41:57 -07:00
Kubernetes Prow Robot
e80e6b8e5a
Merge pull request #118597 from tkashem/apf-refactor
...
apf: refactor bootstrap ensure strategy
2023-06-13 04:59:58 -07:00
Kubernetes Prow Robot
3b44969134
Merge pull request #118460 from serathius/componentstatuses
...
Make etcd component status consistent with health probes
2023-06-13 02:17:58 -07:00
Marek Siarkowicz
a60314c47e
Make etcd component status consistent with health probes
...
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com >
2023-06-13 10:10:29 +02:00