Antonio Ojea
b2c8190ee7
allow to set the service reference on the allocator
2023-03-14 22:58:11 +00:00
Antonio Ojea
e6f197a991
plumb new ipallocators in the apiserver
...
plumb the new allocators from the control-plane instance to the
registry_core
Change-Id: I240cc91942260f725492597f1b599f7480560b1e
2023-03-14 22:58:11 +00:00
Antonio Ojea
b022475448
clusterip allocator based on IPAddress API
...
add a new ClusterIP allocator that uses the new IPAddress API resource
and an informer as the backend, instead a bitmap snapshotted on etcd.
Change-Id: Ia891a2900acd2682d4d169abab65cdd9270a8445
2023-03-14 22:58:11 +00:00
Antonio Ojea
aa18a0cd3f
enable IPAddress on storage
...
Change-Id: Iaeac050223bb7db6acba601aa9b7254c74f2b5d2
2023-03-14 22:58:11 +00:00
Antonio Ojea
a2dfbd6117
Add IPAddress API to the REST registry
...
ipaddress registry storage
don't generate names for ipaddress
2023-03-14 22:58:11 +00:00
Antonio Ojea
d9cc625538
add apis to apiserver storage
...
Change-Id: Iea1263ad612c13b93baf8a07641265bf56f08728
2023-03-14 22:58:11 +00:00
Antonio Ojea
befd131fa1
add feature gate
...
Add MultiCIDRServiceAllocator feature gate.
2023-03-14 22:58:11 +00:00
Antonio Ojea
d6d057b9a1
hack import aliases
2023-03-14 22:58:11 +00:00
Antonio Ojea
d06dbadd14
IPAddress printers
...
Change-Id: I60f40f4fe20b3ebd61b8ee137e55bcdefc1f2c96
2023-03-14 22:58:07 +00:00
Antonio Ojea
53dbf1752b
kubectl describe IPAddress
...
Change-Id: I201c2980830058c92b66e2386bfe8bedd8f0dcd4
2023-03-14 22:56:44 +00:00
Antonio Ojea
c36562dfd7
IPAddress validation
...
Validate IPAddress name is in canonical format
Validate ParentRef is required, and Resource and Name.
Validate IPAddress is inmutable on update.
2023-03-14 22:56:44 +00:00
Antonio Ojea
036f57f3cb
Add IPAddress API
...
Change-Id: I9cf710f011b58409ab880d3b2e7f841f228ee5ee
2023-03-14 22:56:44 +00:00
Moshe Levi
ffb07d1e78
kubelet dra: add lock to addCDIDevices
...
Signed-off-by: Moshe Levi <moshele@nvidia.com>
2023-03-15 00:50:45 +02:00
Kensei Nakada
543f15d10c
HPA: expose the metrics "metric_computation_duration_seconds" and "metric_computation_total" from HPA controller
2023-03-14 22:47:24 +00:00
Kevin Klues
452f345c47
Update generated code for resource.k8s.io/v1alpha2
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2023-03-14 22:41:44 +00:00
Kevin Klues
6ba9b91604
Update e2e tests for recent changes to resource.k8s.io/v1alpha2
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2023-03-14 22:34:19 +00:00
Kevin Klues
74d634a028
Update kubelet support for recent changes to resource.k8s.io/v1alpha2
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2023-03-14 22:34:18 +00:00
Kevin Klues
da0b75f8f9
Update validation for recent changes to resource.k8s.io/v1alpha2
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2023-03-14 22:34:18 +00:00
Kevin Klues
53dda4ffe2
Update AllocationResult and ResourceHandle for resource.k8s.io/v1alpha2
...
This implements the change outlined in the following KEP update:
https://github.com/kubernetes/enhancements/pull/3802
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2023-03-14 22:34:18 +00:00
Kubernetes Prow Robot
e8acfc45ba
Merge pull request #116610 from xing-yang/vSphere_lock
...
Lock CSIMigrationvSphere feature gate for k8s 1.27
2023-03-14 15:15:05 -07:00
Kubernetes Prow Robot
0e8eae6e35
Merge pull request #116607 from alculquicondor/optimize-spreading
...
Optimize topology spreading for null selector
2023-03-14 15:14:57 -07:00
Kubernetes Prow Robot
fae6f642a9
Merge pull request #116606 from SergeyKanzhelev/appaArmorNoReevaluation
...
AppArmor no reevaluation of host is needed
2023-03-14 15:14:49 -07:00
Kubernetes Prow Robot
a9fd6dfc73
Merge pull request #116603 from seans3/discovery-resilience
...
Aggregated discovery client resilient to nil GVK in response
2023-03-14 15:14:42 -07:00
Kubernetes Prow Robot
fbfc887a09
Merge pull request #116556 from pohly/dra-podschedulingcontext
...
dra: PodScheduling -> PodSchedulingContext
2023-03-14 15:14:34 -07:00
Kubernetes Prow Robot
900278dd41
Merge pull request #116390 from alexzielenski/kubectl/explain/openapiv3/on-by-default
...
kubectl explain: use openapiv3 by default
2023-03-14 15:14:26 -07:00
Kubernetes Prow Robot
715e957084
Merge pull request #115374 from pacoxu/add-net.ipv4.ip_local_reserved_ports
...
add net.ipv4.ip_local_reserved_ports to safe sysctls
2023-03-14 15:14:14 -07:00
Madhav Jivrajani
87b64744dc
test/e2e: Fix flaking subresource test
...
Avoid comparing fields that might end up changing
between two invocations of kubectl.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-03-15 03:42:17 +05:30
Claudiu Belu
f335812719
unittests: Fixes unit tests for Windows (part 5)
...
Currently, there are some unit tests that are failing on Windows due to
various reasons:
- getHostDNSConfig is reading a resolv.conf file. However, we don't have
that on Windows. Instead, we can get the DNS server list and the DNS
suffix list from Windows itself.
On Windows, getHostDNSConfig will now return the host's DNS configuration
if the given resolverConfig is "Host". If it's not "Host" or an empty string,
an error will be returned.
Based on the code from kubernetes/test/images/agnhost/dns/dns_windows.go
2023-03-14 22:11:29 +00:00
justinsb
82eee59d0f
prunev2: find resources in parallel
...
To improve wall-clock speed, we run list operations in parallel. This
particularly helps when the round-trip time is high.
We issue requests as quickly as possible, kube-apiservers should all
have priority and fairness at this point and we don't want to
duplicate/fight that system.
2023-03-14 22:06:38 +00:00
Patrick Ohly
fe59e091eb
dependencies: ginkgo v2.9.1, gomega v1.27.4
...
They contain some nice-to-have improvements (for example, better printing of
errors with gomega/format.Object) but nothing that is critical right now.
"go mod tidy" was run manually in
staging/src/k8s.io/kms/internal/plugins/mock (https://github.com/kubernetes/kubernetes/pull/116613
not merged yet).
2023-03-14 22:26:27 +01:00
Anish Ramasekar
8eacf09649
[KMSv2] use encDEK, keyID and annotations to generate cache key
...
It is possible for a KMSv2 plugin to return a static value as Ciphertext
and store the actual encrypted DEK in the annotations. In this case,
using the encDEK will not work. Instead, we are now using a combination
of the encDEK, keyID and annotations to generate the cache key.
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-03-14 21:24:44 +00:00
Kubernetes Prow Robot
60be214af1
Merge pull request #116599 from justinsb/kubectl_applyset_e2e_test
...
kubectl prunev2: simple e2e/integration test
2023-03-14 14:13:33 -07:00
Kubernetes Prow Robot
3c6ad6df1d
Merge pull request #116580 from justinsb/applyset_refactor
...
kubectl prunev2: Refactor the applyset to be more reusable
2023-03-14 14:13:26 -07:00
Kubernetes Prow Robot
a99779eb63
Merge pull request #116579 from justinsb/kubectl_diff_split_tracker_from_prune
...
kubectl diff: refactor tracker into a separate type
2023-03-14 14:13:19 -07:00
Kubernetes Prow Robot
34acfb877a
Merge pull request #116546 from marosset/winstats-10-seconds
...
Updating perfCounterUpdatePeriod for Windows to 10 seconds
2023-03-14 14:13:11 -07:00
Kubernetes Prow Robot
f2e1a67c05
Merge pull request #116535 from denkensk/fix-match
...
feat: forbid to set matchLabelKeys when labelSelector isn’t set in topologySpreadConstraints
2023-03-14 14:13:04 -07:00
Kubernetes Prow Robot
27e23bad7d
Merge pull request #116529 from pohly/controllers-with-name
...
kube-controller-manager: convert to structured logging
2023-03-14 14:12:55 -07:00
Kubernetes Prow Robot
c0ef73222f
Merge pull request #116522 from robscott/topology-1-27-updates
...
Introducing Topology Mode Annotation, Deprecating Topology Hints Annotation
2023-03-14 14:12:48 -07:00
Kubernetes Prow Robot
466c48bdc7
Merge pull request #116002 from charles-chenzz/master
...
resourceClaimController should be registered like the others one to keep code clean
2023-03-14 14:12:40 -07:00
Kubernetes Prow Robot
83cd5ec710
Merge pull request #115935 from enj/enj/i/unsafe_str_byte
...
token/cache: use go 1.20's approach for no-copy string/bytes conversions
2023-03-14 14:12:33 -07:00
Kubernetes Prow Robot
28fa3cbbf1
Merge pull request #115847 from moshe010/pod-resource-api-dra-upstream
...
Extend the PodResources API to include resources allocated by DRA
2023-03-14 14:12:26 -07:00
Kubernetes Prow Robot
89a9c0c8bb
Merge pull request #96120 from LorbusChris/kubelet-journal-logs
...
KEP 2258: add node log query
2023-03-14 14:12:14 -07:00
Sergey Kanzhelev
1e6281e4a2
first iteration to add standalone mode
2023-03-14 20:46:41 +00:00
Mo Khan
81586ff81a
Add k8s.io/kms/internal/plugins/mock to internal modules
2023-03-14 16:31:54 -04:00
vinay kulkarni
86efc8bd79
Add isInPlacePodVerticalScalingAllowed for restart check block
2023-03-14 20:30:02 +00:00
Alexander Zielenski
4fb6385140
fix test to look for FIELD: not RESOURCE: when a field was looked up
2023-03-14 12:47:09 -07:00
Alexander Zielenski
0c0a91d4d9
throw missing field in std err
2023-03-14 12:47:08 -07:00
Davanum Srinivas
ee294de56d
missed registering kubelet-config-file for the command line use case running test-e2e-node target
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-03-14 15:46:31 -04:00
Kubernetes Prow Robot
9c2d28f7d5
Merge pull request #116595 from MadhavJivrajani/bump-kubectl-subresource-beta
...
kubectl: Change subresource flag to beta
2023-03-14 12:38:50 -07:00
Kubernetes Prow Robot
abb6328661
Merge pull request #116590 from MadhavJivrajani/e2e-kubectl-subresource
...
test/e2e: Add e2e tests for kubectl --subresource
2023-03-14 12:38:42 -07:00