ravisantoshgudimetla
3da2acc0de
Generated: PDB health policy
2023-01-27 23:53:43 +05:30
ravisantoshgudimetla
167ff49647
Promote pdb health policy to beta
2023-01-27 23:52:21 +05:30
Kubernetes Prow Robot
4d9e8f7695
Merge pull request #115304 from gnufied/fix-version-skew-for-older-expansion-controller
...
Use expansion without recovery if allocatedResource/resizeStatus unset
2023-01-27 02:36:25 -08:00
Kubernetes Prow Robot
12240c2a5c
Merge pull request #115247 from Volatus/refactor-node-storage-tests
...
Refactor: cleanup node/storage tests
2023-01-26 17:42:32 -08:00
Kubernetes Prow Robot
6f22d1f1ab
Merge pull request #115321 from rphillips/fixes/linger_grpc_probes
...
Kubelet GRPC probes: improve network resources utilization
2023-01-26 15:56:24 -08:00
Kubernetes Prow Robot
e6170c3883
Merge pull request #114992 from TheOneTheOnlyJJ/skip-failing-unittests-2
...
Skip failing Windows unit tests (volume)
2023-01-26 14:04:25 -08:00
Ismayil Mirzali
6d484dc037
Refactor: cleanup node/storage tests
...
Removes some repetitive patterns and simplifies the existing test code.
2023-01-26 23:03:02 +02:00
Kubernetes Prow Robot
97ab147537
Merge pull request #115179 from sunnylovestiramisu/fixPanic
...
Fix nil pointer error in nodevolumelimits csi logging
2023-01-26 12:06:38 -08:00
Hemant Kumar
402fe4ec9b
use expansion without recovery if allocatedResource is not unset
2023-01-26 14:25:00 -05:00
Kubernetes Prow Robot
0e6f4d3a35
Merge pull request #115271 from kevindelgado/field-validation-conformance
...
Field validation e2e tests and GA graduation
2023-01-26 09:34:26 -08:00
Kevin Delgado
b149b93189
update codegen
2023-01-26 14:31:40 +00:00
Kubernetes Prow Robot
3d6c7efc23
Merge pull request #115322 from aojea/hotfix
...
Fix panic on ClusterIP allocation for /28 subnets
2023-01-26 00:38:26 -08:00
Kubernetes Prow Robot
538c6c044f
Merge pull request #115329 from aojea/disable_probe
...
skip scale test for probes
2023-01-25 22:02:33 -08:00
Kubernetes Prow Robot
083e0d2be1
Merge pull request #114991 from TheOneTheOnlyJJ/skip-failing-unittests
...
Skip failing Windows unit tests
2023-01-25 22:02:25 -08:00
Antonio Ojea
3fb4edb257
skip scale test for probes
...
Change-Id: I215e2cf9211348aadcc0d262da01953d6523794a
2023-01-26 00:02:30 +00:00
Antonio Ojea
ea99593fa1
Fix panic on ClusterIP allocation for /28 subnets
...
The ClusterIP allocator tries to reserve on part of the ServiceCIDR
to allocate static IPs to the Services.
The heuristic of the allocator to obtain the offset was taking into
account the whole range size, not the IPs available in the range, the
subnet address and the broadcast address for IPv4 are not available.
This caused that for CIDRs with 16 hosts, /28 for IPv4 and /124 for
IPv6, the offset calculated was higher than the max number of available
addresses on the allocator, causing this to panic.
Change-Id: I6c6f527b0a600b3612be37769e405b8fb3dd33a8
2023-01-25 20:32:40 +00:00
Ryan Phillips
12b8944702
kubelet: use custom dialer for grpc probes
2023-01-25 13:28:03 -06:00
Sunny Song
5e2f12e943
Fix nil pointer error in nodevolumelimits csi logging
2023-01-25 09:37:46 -08:00
Kevin Delgado
3b6c4d307f
Graduate field validation to GA
2023-01-24 17:48:57 +00:00
Kubernetes Prow Robot
a12dd4189e
Merge pull request #115102 from saschagrunert/cri-unavailable
...
Check for all errors in CRI connection validation
2023-01-24 02:24:17 -08:00
Jurj Andrei George
8f6fa99b49
Skip failing Windows unit tests (volume)
...
As discussed during the SIG Testing meeting on January 10, 2023, failing
Windows unit tests are now skipped.
These changes should be reverted when the unit tests wil get fixed.
Mentioned SIG Testing meeting:
https://docs.google.com/document/d/1z8MQpr_jTwhmjLMUaqQyBk1EYG_Y_3D4y4YdMJ7V1Kk/edit#heading=h.qwblxf2uhgoo
2023-01-24 11:02:44 +02:00
Kubernetes Prow Robot
674eb36f92
Merge pull request #115249 from thockin/codegen-13-proto-go-packages
...
Set go_package in all proto files
2023-01-23 12:14:07 -08:00
Tim Hockin
60ffa47f4f
Set proto go_package: kubelet example_plugin_apis
...
This creates some diff to the *.pb.go files to note that
in the "options".
You can dump the gzipped blob with the following program (thanks
StackOverflow!):
```go
package main
import (
"bytes"
"compress/gzip"
"encoding/json"
"fmt"
"os"
"io/ioutil"
proto "github.com/golang/protobuf/proto"
dpb "github.com/golang/protobuf/protoc-gen-go/descriptor"
)
func main() {
m := map[string][]byte{
"before": blobv1,
"after": blobv2,
}
arg := os.Args[1]
dump(m[arg])
}
func dump(bytes []byte) {
fd, err := decodeFileDesc(bytes)
if err != nil {
panic(err)
}
b, err := json.MarshalIndent(fd, "", " ")
if err != nil {
panic(err)
}
fmt.Println(string(b))
}
// decompress does gzip decompression.
func decompress(b []byte) ([]byte, error) {
r, err := gzip.NewReader(bytes.NewReader(b))
if err != nil {
return nil, fmt.Errorf("bad gzipped descriptor: %v", err)
}
out, err := ioutil.ReadAll(r)
if err != nil {
return nil, fmt.Errorf("bad gzipped descriptor: %v", err)
}
return out, nil
}
func decodeFileDesc(enc []byte) (*dpb.FileDescriptorProto, error) {
raw, err := decompress(enc)
if err != nil {
return nil, fmt.Errorf("failed to decompress enc: %v", err)
}
fd := new(dpb.FileDescriptorProto)
if err := proto.Unmarshal(raw, fd); err != nil {
return nil, fmt.Errorf("bad descriptor: %v", err)
}
return fd, nil
}
```
2023-01-23 09:31:18 -08:00
Patrick Ohly
bc6c7fa912
logging: fix names of keys
...
The stricter checking with the upcoming logcheck v0.4.1 pointed out these names
which don't comply with our recommendations in
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/migration-to-structured-logging.md#name-arguments .
2023-01-23 14:24:29 +01:00
Kubernetes Prow Robot
724497cda4
Merge pull request #114094 from Nanfei-Chen/master
...
Modifies receiver names for struct FakeProxier to make them the same.
2023-01-22 16:30:09 -08:00
Kubernetes Prow Robot
f212d42086
Merge pull request #115244 from danwinship/nodeport-addresses-1
...
clean up kube-proxy nodeport address handling (part 1)
2023-01-22 15:26:08 -08:00
Antonio Ojea
dbf178a8d1
add scale test for probes
...
Change-Id: I1e49943531b569b5e02f82369750a9ca899ae726
2023-01-22 16:57:41 +00:00
Antonio Ojea
bfd8f5178e
use custom dialer for http probes
2023-01-22 16:57:41 +00:00
Antonio Ojea
d21f98c6f9
use custom dialer for tcp probes
...
Change-Id: I323b472606eaf3242b665022afe2a79ecf3b8358
2023-01-22 16:57:41 +00:00
Antonio Ojea
1978008c8f
add custom dialer optimized for probes
...
probe util dial set linger to 1s
2023-01-22 16:57:32 +00:00
Dan Winship
463153fb7c
Fix ContainsIPv4Loopback() to match its caller's behavior
...
ContainsIPv4Loopback() claimed that "::/0" contains IPv4 loopback IPs
(on the theory that listening on "::/0" will listen on "0.0.0.0/0" as
well and thus include IPv4 loopback). But its sole caller (the
iptables proxier) doesn't use listen() to accept connections, so this
theory was completely mistaken; if you passed, eg,
`--nodeport-addresses 192.168.0.0/0,::/0`, then it would not create
any rule that accepted nodeport connections on 127.0.0.1, but it would
nonetheless end up setting route_localnet=1 because
ContainsIPv4Loopback() claimed it needed to. Fix this.
2023-01-21 14:25:08 -05:00
Dan Winship
53b24f4ddf
Improve GetNodeAddresses unit test
...
Add names to the tests and use t.Run() (rather than having them just
be numbered, with number 9 mistakenly being used twice thus throwing
off all the later numbers...)
Remove unnecessary FakeNetwork element from the testCases struct since
it's always the same. Remove the expectedErr value since a non-nil
error is expected if and only if the returned set is nil, and there's
no reason to test the exact text of the error message.
Fix weird IPv6 subnet sizes.
Change the dual-stack tests to (a) actually have dual-stack interface
addrs, and (b) use a routable IPv6 address, not just localhost (given
that we never actually want to use IPv6 localhost for nodeports).
2023-01-21 14:25:08 -05:00
Dan Winship
fe49e3933d
Move GetNodeAddresses() and ContainsIPv4Loopback() into a new file
...
Both sound slightly generic, but implement semantics specific to the
handling of NodePort addresses.
(No changes other than moving code.)
2023-01-21 14:25:07 -05:00
Kubernetes Prow Robot
56a14025b0
Merge pull request #115193 from SataQiu/update-storage-api-20230119
...
apiserver: update serialization version priority for policy API
2023-01-19 13:44:15 -08:00
Kubernetes Prow Robot
7913e135a5
Merge pull request #112925 from SergeyKanzhelev/addValueOfLimitToErr
...
added limit value to the pod validation error to simplify debugging
2023-01-19 11:52:15 -08:00
SataQiu
571582b5b2
apiserver: update serialization version priority for policy API
2023-01-19 14:42:26 +08:00
Kubernetes Prow Robot
7b1b8d5734
Merge pull request #114889 from sanposhiho/skip/inter-pod-affinity
...
feature(InterPodAffinity): return Skip in PreFilter
2023-01-18 20:36:35 -08:00
Kensei Nakada
3b20a007ed
feature(InterPodAffinity): return Skip in PreFilter
2023-01-19 01:24:18 +00:00
Kubernetes Prow Robot
98da10e4f2
Merge pull request #115052 from kidddddddddddddddddddddd/fix/volume_zone
...
fix volume_zone, iterate all topologyLabels when check node
2023-01-18 10:54:46 -08:00
Kubernetes Prow Robot
bdaa6bb617
Merge pull request #114776 from jsafrane/pv-secret-validation
...
Allow SecretReference.Name in PVs to have 253 characters
2023-01-18 10:54:34 -08:00
Kubernetes Prow Robot
c63434aaff
Merge pull request #110838 from soltysh/cronjob_improvements
...
CronJob controller cleanups
2023-01-18 09:44:34 -08:00
Maciej Szulik
be44d67566
Re-use common parts between getNextScheduleTime and nextScheduledTimeDuration
...
The two methods nextScheduledTimeDuration and getNextScheduleTime have a
lot of similarities, so this commit squashes the common parts together
along with getMostRecentScheduleTime to avoid code duplication.
2023-01-18 16:52:45 +01:00
Kubernetes Prow Robot
cc68c06f9c
Merge pull request #115163 from SataQiu/lock-AdvancedAuditing-gate-20230118
...
Lock the AdvancedAuditing feature gate to true
2023-01-18 07:12:41 -08:00
Kubernetes Prow Robot
4b2b4e19cc
Merge pull request #114523 from zshihang/token
...
graduate LegacyServiceAccountTokenTracking to beta
2023-01-18 07:12:33 -08:00
Maciej Szulik
cb491a8d0f
Cleanups in controller utils
...
1. Squash two identical sorters byTime
2. Move helper for searching active jobs into utils to exist next to its
counterpart
2023-01-18 13:40:23 +01:00
Jurj Andrei George
4df989d719
Skip failing Windows unit tests
...
As discussed during the SIG Testing meeting on January 10, 2023, failing
Windows unit tests are now skipped.
These changes should be reverted when the unit tests wil get fixed.
Mentioned SIG Testing meeting:
https://docs.google.com/document/d/1z8MQpr_jTwhmjLMUaqQyBk1EYG_Y_3D4y4YdMJ7V1Kk/edit#heading=h.qwblxf2uhgoo
2023-01-18 14:18:41 +02:00
Viacheslav Panasovets
6adf60fdf4
Do not create endpoints if service of type ExternalName ( #114814 )
2023-01-18 03:12:34 -08:00
SataQiu
c25095b223
the AdvancedAuditing featuregate has been GA since v1.12, and is locked to ture in v1.27
2023-01-18 18:50:15 +08:00
Kubernetes Prow Robot
46f3821bf4
Merge pull request #114586 from andrewsykim/apiserver-lease-rename
...
Rename apiserver identity lease labels to apiserver.kubernetes.io/identity
2023-01-17 21:36:34 -08:00
Kubernetes Prow Robot
5e9fc39d17
Merge pull request #114878 from Nordix/ipvs-allow-any-sheduler
...
Ipvs: remove the scheduler validation
2023-01-17 11:18:46 -08:00