Commit Graph

725 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a6b806910a
Merge pull request #123534 from kannon92/fix-downward-api-comment
uid is also supported in field ref for downward api
2024-02-29 22:53:29 -08:00
Tim Hockin
16c26b22cb
Run latest openapi generation 2024-02-29 22:07:38 -08:00
Tim Hockin
6420e64662
Move go-header-file flag to each tool
Also remove the build-tag flag (unused, untested).

This changes some output comments (less redundant).
2024-02-29 22:07:17 -08:00
Igor Velichkovich
a51a5b4622 kep-3716 GA, remove feature gate 2024-02-29 14:14:19 -06:00
Wei Huang
ffa183a7a4
generated files 2024-02-28 23:18:44 -08:00
Joe Betz
7ef3eea8a7 Generate code 2024-02-28 14:06:46 -05:00
Kensei Nakada
f46df21cad update comments on API 2024-02-28 12:32:32 +00:00
Kubernetes Prow Robot
72c92e975d
Merge pull request #123411 from hunshcn/fix/volume-link
fix persistent volume docs link
2024-02-27 16:47:27 -08:00
Kevin Hannon
f832692d98 uid is also supported in field ref for downward api 2024-02-27 12:44:42 -05:00
Kubernetes Prow Robot
31a482a149
Merge pull request #120344 from rohitssingh/disable_force_detach
Add a flag to disable force detach behavior in kube-controller-manager
2024-02-22 13:02:38 -08:00
Rohit Singh
13dddca6a2 Add "disable-force-detach-on-timeout" flag to kube-controller-manager 2024-02-22 18:31:52 +00:00
Kubernetes Prow Robot
11785bb815
Merge pull request #123392 from thockin/depreciate
Cleanup: s/depreciated/deprecated/g
2024-02-21 01:40:39 -08:00
hunshcn
ce6bacb5ac
fix persistent volume docs link
Signed-off-by: hunshcn <hunsh.cn@gmail.com>
2024-02-21 16:26:16 +08:00
Kubernetes Prow Robot
6049a1bca4
Merge pull request #122880 from Jefftree/agg-discovery-v2-types
Add aggregated discovery v2 types
2024-02-20 21:03:22 -08:00
Tim Hockin
9f4b82bf3b
Cleanup: s/depreciated/deprecated/g 2024-02-20 07:45:02 -08:00
Michal Wozniak
fe8e896df8 Improve the doc comment for the Job status.active field 2024-02-19 14:27:30 +01:00
Maksym Pavlenko
19d9405a1c Update comments and error messages
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-02-16 09:56:01 -08:00
Maksym Pavlenko
d9e2487d0c Add PodLogsPath to kubelet config
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-02-16 09:55:59 -08:00
Harsha Narayana
ab8c784ee9
kubelet: enable configurable rotation duration and parallel rotate 2024-02-09 16:49:11 +05:30
Kubernetes Prow Robot
f025a96d2f
Merge pull request #122728 from RomanBednar/pv-phase-transition-time-doc-fix
Remove alpha reference from PersistentVolumeStatus.lastPhaseTransitionTime docs
2024-01-24 19:51:51 +01:00
Kubernetes Prow Robot
b37c609b90
Merge pull request #122276 from pohly/dra-patch-reserved-for
dra: enable adding ReservedFor entries through strategic-merge-patch
2024-01-24 18:46:09 +01:00
Jefftree
0bc023bc28 Add aggregated discovery v2 types 2024-01-19 11:40:14 -05:00
Roman Bednar
2ce04fc04b flag PersistentVolumeLastPhaseTransitionTime field as beta 2024-01-17 13:14:09 +01:00
Tim Hockin
8b8f0a70cd
Make verify-fieldname-docs actually error
Sadly, cmd/fieldnamedocscheck did not exit non-zero when it needed to.

Fix the one thing it flagged.
Add it to verify-quick
2024-01-14 10:32:08 -08:00
Lubomir I. Ivanov
47ee56a7f2 core/v1: remove note about hostAliases not working with hostNetwork
Support for this was added in 1.8 by PR 50646.
Local tests confirm that the feature indeed works.
E2e tests seem to be missing.
2023-12-20 18:09:21 +02:00
Kubernetes Prow Robot
a3adc759a3
Merge pull request #121601 from carlory/fix-pvc-condition
fix wrong condition description in PVC
2023-12-14 22:07:46 +01:00
Kubernetes Prow Robot
8a22571ebb
Merge pull request #121759 from thockin/fix_api_violations
Fix "list_type_missing" API violations in meta/v1
2023-12-13 23:54:08 +01:00
Kubernetes Prow Robot
d2fc690421
Merge pull request #116209 from haoruan/feature-csidriver-fields-mutable
Allow FSGroupPolicy and PodInfoOnMount to be mutable in CSIDriver.Spec
2023-12-13 21:24:57 +01:00
Patrick Ohly
324816a883 dra: enable adding ReservedFor entries through strategic-merge-patch
When moving the reservation of a claim for a pod into the PreBind phase in a
future commit, multiple different update attempts will be executed
concurrently. We want an attempt to succeed if and only if adding the entry
passes validation. Without patch strategy and key, strategic-merge-patch
replaces the entire ReservedFor instead of adding new entries.

Server-side-apply cannot be used because each attempt may start with a stale
ResourceClaim (thus cannot send the entire ReservedFor) and SSA doesn't support
merging when using the same manager string. Using different managers (one for
each entry) would work, but sounds like a bad hack.
2023-12-12 14:05:34 +01:00
Kevin Hannon
4e5321c92e add beta comment for pod replacement policy 2023-12-05 13:17:24 -05:00
Tim Hockin
eddf65849d
Fix list_type_missing in k8s.io/apiserver 2023-11-27 12:24:10 -08:00
Tim Hockin
18f3941c24
Fix list_type_missing in k8s.io/metrics 2023-11-27 12:06:33 -08:00
Tim Hockin
58fb9f6e66
Fix list_type_missing in api/storage 2023-11-27 12:06:32 -08:00
Tim Hockin
e96578fb4d
Fix list_type_missing in api/rbac 2023-11-27 12:06:31 -08:00
Tim Hockin
b2458e456a
Fix list_type_missing in api/networking 2023-11-27 12:06:30 -08:00
Tim Hockin
7fc3ef1fec
Fix list_type_missing in api/imagepolicy 2023-11-27 12:06:29 -08:00
Tim Hockin
cddfa43769
Fix list_type_missing in api/extensions 2023-11-27 12:06:29 -08:00
Tim Hockin
cfe146615a
Fix list_type_missing in api/core 2023-11-27 12:06:28 -08:00
Tim Hockin
fe902f7384
Fix list_type_missing in api/autoscaling 2023-11-27 12:06:27 -08:00
Tim Hockin
ad39737397
Fix list_type_missing in api/authorization 2023-11-27 12:06:26 -08:00
Tim Hockin
b24cffb174
Fix list_type_missing in api/authentication 2023-11-27 12:06:25 -08:00
Tim Hockin
a3ea994fa2
Fix list_type_missing in api/apps 2023-11-27 12:06:24 -08:00
Tim Hockin
460df86f2a
Fix list_type_missing in api/admissionregistration 2023-11-27 12:06:23 -08:00
Tim Hockin
e9bd9262dc
Fix list_type_missing in apiextensions-apiserver 2023-11-27 12:06:21 -08:00
Tim Hockin
44060fb1f3
Fix "list_type_missing" API violations in meta/v1
This assumes that any such field is atomic, except:
  * OwnerReferences: because it has a `+patchStrategy=merge`, but it
    probably needs a `+listMapKey=...` ?
  * Finalizers: because it hs a `+patchStrategy=merge`, but is a
    primitive type (string).
  * []byte fields, which should not be failing this anyway (fixed
    subsequently).

An alternative approach could be just to turn off the API warnings for
these fields, but it felt more correct to declare the semantics.
2023-11-27 12:05:52 -08:00
Kubernetes Prow Robot
e4b74dd12f
Merge pull request #121765 from mimowo/ready-pods-stable-api
Fix API comment for the Job ready field
2023-11-07 23:52:12 +01:00
Michal Wozniak
9d5b2a4476 Fix API comment for the Job ready field 2023-11-07 07:38:51 +01:00
Michal Wozniak
1395e2e02c Fix API comment for the FailIndex Job pod failure policy action 2023-11-06 17:47:13 +01:00
Kubernetes Prow Robot
22866ca5eb
Merge pull request #121034 from alexzielenski/apiserver/apiextensions/ratcheting-oldself-create
KEP-4008: CRDValidationRatcheting: Add support for optional `oldSelf`
2023-11-04 02:57:46 +01:00
Alexander Zielenski
42a70cdbd1 codegen 2023-11-03 15:34:13 -07:00
Taahir Ahmed
599fdb7add Regenerate for ClusterTrustBundlePEM projected volume API 2023-11-03 11:40:48 -07:00
Humble Chirammal
3890546265 Update APIs and adjust tests
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-11-01 09:28:36 +05:30
Kubernetes Prow Robot
6abff7457e
Merge pull request #116516 from aojea/servicecidr
KEP-1880 Multiple ServiceCIDR ( and IPAddress allocation)
2023-11-01 03:52:24 +01:00
carlory
083818f9e2 fix wrong condition description in PVC 2023-11-01 10:17:46 +08:00
Dan Winship
1a6b9b811e Simplify nftables/proxier.go by removing localhost nodeport support
and related route_localnet setting / anti-martian-packet rule
2023-10-31 17:33:53 -04:00
Dan Winship
a70653143e Add a dummy nftables kube-proxy backend which is just a copy of iptables 2023-10-31 17:31:42 -04:00
Antonio Ojea
fee07ad608 make update with the new API with arrays 2023-10-31 21:05:58 +00:00
Antonio Ojea
8182c4d9ec make update
Change-Id: I4007d4f6dda24b5c74f602d35191556f315de222
2023-10-31 21:05:05 +00:00
Kubernetes Prow Robot
dba565193c
Merge pull request #121104 from carlory/kep-3751-api-changes
[KEP-3571] introduce the VolumeAttributesClass API
2023-10-31 20:23:50 +01:00
Kubernetes Prow Robot
5d03ce7ae4
Merge pull request #120354 from aroradaman/proxy-conntrack-api
Add support for `nf_conntrack_tcp_be_liberal` sysctl to kube-proxy
2023-10-31 19:15:44 +01:00
carlory
56ab6c5942 generated changes 2023-10-31 11:26:35 +08:00
Abu Kashem
b8cd792b36
rename the roundtrip annotation, forbid it in v1 2023-10-30 18:22:51 -04:00
Abu Kashem
730d10a8fb
apiserver: add generated files for flowcontrol api change 2023-10-30 08:18:41 -04:00
Abu Kashem
5972037ffd
apiserver: generate code for apf flowcontrol v1 API
run:
- hack/update-codegen.sh
- hack/update-openapi-spec.sh
2023-10-30 07:48:22 -04:00
Daman Arora
9ae77364e9 pkg/proxy: configure tcp-be-liberal
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-10-28 01:11:24 +05:30
Kubernetes Prow Robot
12b01aff1b
Merge pull request #121275 from haircommander/image-max-gc
KEP-4210: add support for ImageMaximumGCAge field
2023-10-25 21:29:10 +02:00
Kubernetes Prow Robot
8149ab3f3f
Merge pull request #121356 from mimowo/backoff-limit-per-index-beta
Graduate BackoffLimitPerIndex to Beta
2023-10-23 18:39:58 +02:00
Kubernetes Prow Robot
581552eaf0
Merge pull request #116065 from sanposhiho/match-label-key-alternative
feature(scheduler): implement matchLabelKeys in PodAffinity and PodAntiAffinity
2023-10-23 18:39:13 +02:00
Peter Hunt
d992ea4b30 kubelet: add and use ImageMaximumGCAge in KubeletConfiguration
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2023-10-20 12:23:31 -04:00
Kubernetes Prow Robot
2c10d9cacb
Merge pull request #121277 from dprotaso/update-standard-protocols
update standard protocols to match KEP-3726
2023-10-20 03:10:43 +02:00
Michal Wozniak
6dd0ad5c0f Graduate BackoffLimitPerIndex to Beta 2023-10-19 12:18:36 +02:00
Alexander Zielenski
0a6d9531f4 update generated code and openapi 2023-10-18 16:07:06 -07:00
Dave Protasowski
b7477c31b0 update versioned types 2023-10-18 11:36:48 -04:00
Kensei Nakada
d5d3c26337 feature(scheduler): implement matchLabelKeys in PodAffinity and PodAntiAffinity 2023-10-18 11:28:02 +00:00
AxeZhan
5c0618b848 codegen 2023-10-16 19:50:33 +08:00
Kubernetes Prow Robot
4d8a51acac
Merge pull request #121229 from aojea/remove_cluster_cidr
remove ClusterCIDR alpha API
2023-10-15 02:56:33 +02:00
Kubernetes Prow Robot
cf54acce5c
Merge pull request #120274 from danwinship/kube-proxy-config-docs
kube-proxy config/CLI doc fixups
2023-10-15 02:56:24 +02:00
Antonio Ojea
c2d473f0d4 remove ClusterCIDR
KEP-2593 proposed to expand the existing node-ipam controller
to be configurable via a ClusterCIDR objects, however, there
were reasonable doubts on the SIG about the feature and after
several months of dicussions we decided to not move forward
with the KEP intree, hence, we are going to remove the existing
code, that is still in alpha.

https://groups.google.com/g/kubernetes-sig-network/c/nts1xEZ--gQ/m/2aTOUNFFAAAJ

Change-Id: Ieaf2007b0b23c296cde333247bfb672441fe6dfc
2023-10-14 19:06:22 +00:00
Kubernetes Prow Robot
d4a6a674de
Merge pull request #120976 from tengqm/fix-audit-apidoc
Fix API docs for audit APIs
2023-10-12 20:00:58 +02:00
Hao Ruan
f53ff68edd Generated files 2023-10-12 15:07:45 +08:00
Kubernetes Prow Robot
f9d987c7c8
Merge pull request #121106 from aojea/ipaddress_uid
Remove Ipaddress uid
2023-10-12 03:26:45 +02:00
Kubernetes Prow Robot
b47aa1c20e
Merge pull request #120808 from aroradaman/proxy-conntrack-udp-timeouts
Adding option to configure UDP timeouts for conntrack
2023-10-12 01:59:55 +02:00
Daman Arora
15ae6cc160 pkg/proxy: add flag to configure udp conntrack timeouts
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-10-12 03:08:21 +05:30
Kubernetes Prow Robot
07029999f9
Merge pull request #120666 from b8kings0ga/feature/fix-comment-correction
AttachDetachControllerConfiguration.ReconcilerSyncLoopPeriod default value comment fix
2023-10-11 22:51:49 +02:00
Antonio Ojea
e9957d79aa make update
Change-Id: I61be34cff942264acb2f45fe7e1c8538f807cb4e
2023-10-10 11:03:19 +00:00
Qiming Teng
c65fe450d8 Generated files 2023-10-03 20:16:10 +08:00
Dan Winship
6c9ddf300c update generated 2023-09-30 10:19:10 -04:00
b8kings0ga
9345da51ac fix comment mistake, run "make update" 2023-09-22 16:37:55 +08:00
Christoph Mewes
b59d4afd14 fix typo exeucting => executing 2023-09-17 11:27:57 +02:00
Christoph Mewes
62275e3cc8 fix typo dervied => derived 2023-09-17 11:26:19 +02:00
Christoph Mewes
79a7833ade fix typo Mininum => Minimum 2023-09-17 11:24:29 +02:00
Christoph Mewes
6e3ebdc68e fix typo Conext => Context 2023-09-17 11:18:43 +02:00
SataQiu
2825519da2 apf: remove v1alpha1 API 2023-08-30 20:48:42 +08:00
Michal Wozniak
cc784cfe85 Mark Job onPodConditions as optional in pod failure policy 2023-08-28 11:42:56 +02:00
Kubernetes Prow Robot
10c622e99a
Merge pull request #119994 from SataQiu/remove-scheduler-v1beta3
scheduler: remove deprecated v1beta3 KubeSchedulerConfiguration component config
2023-08-24 15:31:17 -07:00
Kubernetes Prow Robot
3f705b6ab8
Merge pull request #119962 from pohly/dra-api-list-type
api: change list type for node lists in PodSchedulingContext
2023-08-23 09:35:28 -07:00
Patrick Ohly
c1eb18c00c generated files 2023-08-21 17:07:43 +02:00
Kubernetes Prow Robot
ee265c92fe
Merge pull request #119937 from RyanAoh/kep-1860-dev
Make Kubernetes aware of the LoadBalancer behaviour
2023-08-17 14:00:28 -07:00
Kubernetes Prow Robot
012e61a860
Merge pull request #119806 from enj/enj/i/delete_psp_api
Delete PSP API types and generated clients
2023-08-17 11:21:22 -07:00
Patrick Ohly
5567f288e7 api: change list type for node lists in PodSchedulingContext
The "set" list type was chosen because it seemed appropriate (no duplicates!)
but that made tracking of managed fields more expensive (each entry in the list
is tracked, not the entire field) and for no good reason (one client is
responsible for the entire list).

Therefore the type gets changed to "atomic". Server-side-apply has not been
used in the past and PodSchedulingContext objects are short-lived and still in
alpha, so the any potential compatibility issues should be minor.

The scheduling throughput in scheduler_perf increases:

    name                                                                      old SchedulingThroughput/Average     new SchedulingThroughput/Average
    PerfScheduling/SchedulingWithResourceClaimTemplate/2000pods_100nodes-36   18.8 ± 8%                            24.0 ±37%
    PerfScheduling/SchedulingWithMultipleResourceClaims/2000pods_100nodes-36  13.7 ±81%                            18.5 ±40%
2023-08-17 10:10:03 +02:00