Commit Graph

118321 Commits

Author SHA1 Message Date
Patrick Ohly
c1eb18c00c generated files 2023-08-21 17:07:43 +02:00
Kubernetes Prow Robot
70a28449a7
Merge pull request #120038 from liyuerich/expectempty
e2e: stoping using deprecated framework.ExpectEmpty
2023-08-21 08:03:23 -07:00
Kubernetes Prow Robot
f082fab916
Merge pull request #119556 from linxiulei/schedMF
Trim managedFields in pod informer
2023-08-21 07:03:34 -07:00
Kubernetes Prow Robot
6cbc5dfac6
Merge pull request #114095 from aimuz/fix-114083
scheduler: Fix field apiVersion is missing from events reported from taint manager
2023-08-21 07:03:23 -07:00
Antonio Ojea
039859b9b7 e2e network test for udp services with hostNetwork clients
There are some implementations of service that use socket loadbalancing
instead of NAT. These implementations don't need to deal with the
conntrack cleanup, however, they need to cleanup the sockets that are
no longer needed, so the application does not get stuck forever.

This can  happen in both TCP or UDP, but since UDP is stateless, the
situation is much complicated because does not have mechanisms like TCP
to detect that socket is no longer needed.

Change-Id: Ic2cfbdf6c8b1f1335e8b5964825dd1fa716fef53
2023-08-21 13:39:39 +00:00
Patrick Ohly
2472291790 api: introduce separate VolumeResourceRequirements struct
PVC and containers shared the same ResourceRequirements struct to define their
API. When resource claims were added, that struct got extended, which
accidentally also changed the PVC API. To avoid such a mistake from happening
again, PVC now uses its own VolumeResourceRequirements struct.

The `Claims` field gets removed because risk of breaking someone is low:
theoretically, YAML files which have a claims field for volumes now
get rejected when validating against the OpenAPI. Such files
have never made sense and should be fixed.

Code that uses the struct definitions needs to be updated.
2023-08-21 15:31:28 +02:00
Kubernetes Prow Robot
bcbceea117
Merge pull request #120081 from p0lyn0mial/upstream-storage-etcd-watcher-refactor
storage/etcd: no-op, simplify watcher construction
2023-08-21 05:37:22 -07:00
Lukasz Szaszkiewicz
a5600b6925 storage/etcd: simplify passing the transformer 2023-08-21 13:36:25 +02:00
Lukasz Szaszkiewicz
6161752ecb storage/etcd: remove newWatcher function 2023-08-21 13:36:21 +02:00
Kubernetes Prow Robot
4dee8398ae
Merge pull request #120078 from tzneal/investigate-test-failure
expect the new resource_scape_error metric
2023-08-21 04:13:34 -07:00
Kubernetes Prow Robot
ea3318cb71
Merge pull request #119971 from kwakubiney/chore/include-pod-uid-in-event-log
chore: attach pod UID to event log
2023-08-21 04:13:22 -07:00
Kubernetes Prow Robot
ba10ee7671
Merge pull request #119975 from p0lyn0mial/upstream-storage-get-current-rv
storage/util: move GetCurrentResourceVersionFromStorage
2023-08-21 02:49:48 -07:00
Kubernetes Prow Robot
2f729f05b6
Merge pull request #119972 from p0lyn0mial/upstream-storage-etcd-ref-watcher-method
storage/etcd: no-op, refactor watcher.Watch method signature
2023-08-21 02:49:41 -07:00
Kubernetes Prow Robot
f46583dcaa
Merge pull request #119824 from aojea/deflake_TestCreateHealthcheck
fix race creating etcd client for healthchecks
2023-08-21 02:49:33 -07:00
Kubernetes Prow Robot
e043bc08d4
Merge pull request #119156 from neolit123/1.28-add-support-for-dup-extraargs
kubeadm add support for structured ExtraArgs
2023-08-21 02:49:22 -07:00
Kubernetes Prow Robot
a1fdef7d01
Merge pull request #120072 from SataQiu/fix-kubeadm-20230820
kubeadm: fix the bug that `--image-repository` flag is missing for some init phase sub-commands
2023-08-21 01:27:22 -07:00
liyuerich
3546831ceb e2e_storage: stoping using deprecated framework.ExpectEmpty 2023-08-21 09:18:18 +08:00
Tim Hockin
a930892769
Gate: disallow .status.loadBalancer on non-LB svc
The fact that the .status.loadBalancer field can be set while .spec.type
is not "LoadBalancer" is a flub.  Any spec update will already clear
.status.ingress, so it's hard to really rely on this.  After this
change, updates which try to set this combination will fail validation.

Existing cases of this will not be broken.  Any spec/metadata update
will clear it (no error) and this is the only stanza of status.

New gate "AllowServiceLBStatusOnNonLB" is off by default, but can be
enabled if this change actually breaks someone, which seems exceeedingly
unlikely.
2023-08-20 16:40:41 -07:00
Kubernetes Prow Robot
2979242743
Merge pull request #120077 from tzneal/revert-oom-serial
Revert "mark the OOM killer as serial to reduce flakes"
2023-08-20 13:53:21 -07:00
Todd Neal
b8512cfe24 expect the new resource_scape_error metric 2023-08-20 14:17:54 -05:00
Todd Neal
905f07f1ac Revert "mark the OOM killer as serial to reduce flakes"
This reverts commit bd6f548746.

Running as serial didn't completely eliminate the flake so I think
there's something more going on here.  Reverting the change to serial
since its not a solution.
2023-08-20 13:38:07 -05:00
Antonio Ojea
5c7529a6fc kube-proxy service cache don't treat ipMode proxy address as invalid
Change-Id: I4f79d4847943862dfd859325cdab075f62ef4707
2023-08-20 13:55:57 +00:00
Kubernetes Prow Robot
d5a42e2c22
Merge pull request #120073 from SataQiu/fix-kubeadm-20230820-02
kubeadm: fix the field path for JoinControlPlane.CertificateKey validation
2023-08-20 06:31:21 -07:00
Eric Lin
f93bd699aa Trim managedFields in pod informer
Signed-off-by: Eric Lin <exlin@google.com>
2023-08-20 13:09:15 +00:00
SataQiu
093093593c kubeadm: fix the field path for JoinControlPlane.CertificateKey validation 2023-08-20 17:35:18 +08:00
SataQiu
700b55b3b2 kubeadm: fix the bug that --image-repository flag is missing for some init phase sub-commands 2023-08-20 17:18:00 +08:00
Kubernetes Prow Robot
5b2167482d
Merge pull request #120064 from SataQiu/feat-kubeadm-20230819
kubeadm: add validation to verify that the CertificateKey is a valid hex encoded AES key
2023-08-19 23:59:21 -07:00
SataQiu
75a80d5aba kubeadm: add validation to verify that the CertificateKey is a valid hex encoded AES key 2023-08-20 12:47:02 +08:00
Kubernetes Prow Robot
8377e0f538
Merge pull request #120042 from chendave/typo_namespaces
kubeadm: Fix typo where API group is not correct
2023-08-19 05:53:21 -07:00
Antonio Ojea
c112a34642 add unit test for kube-proxy service cache with ipMode
Change-Id: I0c25e15f259698a2882e398e05ab342bf2b38dba
2023-08-19 11:24:28 +00:00
Kubernetes Prow Robot
eae63c8918
Merge pull request #119957 from SataQiu/v1.28.0-api-testdata
Add v1.28.0 API testdata
2023-08-18 21:31:20 -07:00
Kubernetes Prow Robot
db64cc4a55
Merge pull request #119714 from ritazh/kmsv2-feature-enablement-ut
kmsv2 test feature enablement unit test
2023-08-18 20:27:31 -07:00
Kubernetes Prow Robot
c2bddad813
Merge pull request #119454 from pacoxu/fix-ip-mode
use LoadBalancer type service for e2e service test to patch ingress status
2023-08-18 20:27:19 -07:00
Kubernetes Prow Robot
8a8d63a732
Merge pull request #120059 from tzneal/mark-oomkiller-test-as-serial
mark the OOM killer as serial to reduce flakes
2023-08-18 18:19:31 -07:00
Kubernetes Prow Robot
16310c959d
Merge pull request #119878 from ritazh/kmsv2-metrics-dekcachesize
kmsv2: add metric for DEK cache filled
2023-08-18 18:19:20 -07:00
Paco Xu
30ff937aaf add a fake load balancer class to fix e2e test failure 2023-08-19 08:50:13 +08:00
Kubernetes Prow Robot
c5a8015bba
Merge pull request #119883 from ls-2018/json
Fix: null jsonpath serialization
2023-08-18 17:12:09 -07:00
Kubernetes Prow Robot
addc0391e7
Merge pull request #116897 from Richabanker/kubelete-resource-metrics-ga
Graduate kubelet resource metrics to GA
2023-08-18 16:03:37 -07:00
Rita Zhang
3cbecf218d
kmsv2: add metric for DEK cache filled
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-08-18 15:35:34 -07:00
Rita Zhang
d86e72202c
kmsv2 test feature enablement unit test
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-08-18 15:28:32 -07:00
Todd Neal
bd6f548746 mark the OOM killer as serial to reduce flakes
In testing I could only reproduce the flake by running stress-ng to load
the CPU. Running it as serial should reduce and hopefully eliminate the
flakiness.
2023-08-18 13:18:50 -05:00
SataQiu
afe9045e46 Add v1.28.0 API testdata 2023-08-18 22:45:07 +08:00
liyuerich
a6a1f070e7 Signed-off-by: liyuerich <yue.li@daocloud.io>
add UT for storageclass
2023-08-18 22:18:11 +08:00
Kubernetes Prow Robot
595a57940a
Merge pull request #120039 from chendave/move_testcases
kubeadm: Move the method used only in the test to `postupgrade_test.go`
2023-08-18 07:12:39 -07:00
Kubernetes Prow Robot
fbac8388bf
Merge pull request #120018 from liggitt/validating-admission-beta
Store validating admission as beta
2023-08-18 07:12:28 -07:00
Kubernetes Prow Robot
e2afa175e4
Merge pull request #120040 from chendave/unused_args
kubeadm: Cleanup the unused input parameters
2023-08-18 05:38:30 -07:00
Julian Tölle
8163d244ed
Update ccm flag help to describe disabling webhook serving
No need to mention the default in the message. Defaults are printed by
default when they are available.
2023-08-18 13:06:33 +02:00
Julian Tölle
8291b847d5
Allow disabling both webhook ports in cloud-provider 2023-08-18 12:27:54 +02:00
Kubernetes Prow Robot
5929d49f87
Merge pull request #119494 from carlory/cleanup-e2e-network-framework-equal
e2e_network: stop using deprecated framework.ExpectEqual
2023-08-18 03:06:28 -07:00
Dave Chen
f407b31d42 kubeadm: Fix typo where API group is not correct
Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-08-18 17:26:39 +08:00