Commit Graph

112021 Commits

Author SHA1 Message Date
Wojciech Tyczyński
e301306d89 Reuse generic ListNonRecurisve test for cacher 2022-11-04 10:31:11 +01:00
Wojciech Tyczyński
37db332298 Stop exporting storage testing utility functions 2022-11-04 10:31:10 +01:00
Kubernetes Prow Robot
63a7f6ba5d
Merge pull request #113598 from MikeSpreitzer/simplify-seat-demand-stats
apiserver: remove redundant field from seatDemandStats
2022-11-04 01:46:25 -07:00
Kubernetes Prow Robot
db1ee6091f
Merge pull request #113494 from MikeSpreitzer/fix-nil-cast
Handle nil case correctly in TimingHistogramVec::WithLabelValuesChecked
2022-11-04 01:46:14 -07:00
kerthcet
04573fb8c9 Add api-side enablement tests for nodeInclusionPolicy when updating
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-11-04 15:11:08 +08:00
kerthcet
21dea23f56 Add api-side enablement tests for nodeInclusionPolicy
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-11-04 15:11:05 +08:00
Kubernetes Prow Robot
3e8c848cfc
Merge pull request #112261 from brianpursley/k-108630-2
kubectl run: deprecate unused / nonuseful flags
2022-11-03 22:28:14 -07:00
Andrew Sy Kim
72f2e1cc0d lease controller: update NewController to accept leaseName as a parameter, remove NewControllerWithLeaseName
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-04 00:44:13 -04:00
Kubernetes Prow Robot
8c77820759
Merge pull request #113274 from Huang-Wei/kep-3521-A
[KEP-3521] Part 1: New Pod API .spec.schedulingGates
2022-11-03 21:24:25 -07:00
Kubernetes Prow Robot
79014dd6da
Merge pull request #113216 from astraw99/ftr-add-backoff-container
Add container name in the `BackOff` event message
2022-11-03 21:24:13 -07:00
Alexander Zielenski
26a6e12348 add FindFieldsOwners util function
to be used by kubectl to determine csa manager name used

findowners
2022-11-03 20:31:20 -07:00
Alexander Zielenski
4e4d748c06 add UpgradeManagedFieldsPatch
rather than modify the object directly, this function provides a JSONPATCH that should be sent to the server to upgrade its managed fields.
2022-11-03 20:31:20 -07:00
Brian Pursley
09804a198c kubectl/pkg/cmd/run: deprecate flags
The --cascade flag, has no practical effect when used, so it is being deprecated.

The following flags, which are unused and ignored by kubectl run,
have been deprecated:

--filename
--force
--grace-period
--kustomize
--recursive
--timeout
--wait
2022-11-03 23:11:12 -04:00
Kubernetes Prow Robot
b0cbf71f5c
Merge pull request #113146 from alexzielenski/explain-output-plaintext
kubectl explain --output plaintext
2022-11-03 20:04:14 -07:00
Andrew Sy Kim
3c0b75f4ad apiserver identity: always use a unique value for the Lease holder identity
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 22:53:56 -04:00
Andrew Sy Kim
6925bee6d5 lease controller: add new constructor NewControllerWithLeaseName to support cases when the lease name and holder identity differ
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 22:53:56 -04:00
Andrew Sy Kim
f74f819e1a apiserver identity: update Lease creation integration test to validate new naming format and hostname label
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 22:53:56 -04:00
Andrew Sy Kim
21507902ba apiserver identity: use persistent identity format based on hostname
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 22:53:56 -04:00
cyclinder
4aff0dba0d
kube-proxy ipatbles: update log message 2022-11-04 10:07:15 +08:00
Alexander Zielenski
dca025f37c use discovery client from factory in explain v2
was making my own which was uncached
2022-11-03 18:59:42 -07:00
Kubernetes Prow Robot
208b2b7ca9
Merge pull request #113580 from mimowo/fix-disruption-controller-permissions
Fix disruption controller permissions to allow patching pod's status
2022-11-03 18:54:24 -07:00
Kubernetes Prow Robot
54d3de0850
Merge pull request #113562 from aojea/e2e_lb
e2e loadbalancer remove after each cleanup
2022-11-03 18:54:13 -07:00
David Ashpole
ed1610ad15
add otel tracing to latency filters 2022-11-04 01:19:55 +00:00
Alexander Zielenski
5002ba215b add OWNERS to csaupgrade 2022-11-03 17:39:34 -07:00
Andrew Sy Kim
9e24680d0b test/integration/endpointslice: remove references to EndpointSliceTerminatingCondition feature gate
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 20:26:51 -04:00
Andrew Sy Kim
5ca805fdee pkg/registry/discovery: remove references to EndpointSliceTerminatingCondition feature gate when dropping disabled fields
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 20:26:51 -04:00
Andrew Sy Kim
e282b6c6b3 pkg/controller/endpointslice: remove all references to the EndpointSliceTerminatingCondition feature gate
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 20:26:51 -04:00
Andrew Sy Kim
219300c26b k8s.io/api/discovery: remove API docs referencing EndpointSliceTerminatingCondition feature gate
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 20:16:20 -04:00
Andrew Sy Kim
c11368cb93 promote EndpointSliceTerminatingCondition feature gate to GA
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-03 20:16:20 -04:00
Kubernetes Prow Robot
d86c013b0d
Merge pull request #108250 from cyclinder/add_flag_in_proxy
kube-proxy:  add a flag  to  disable nodePortOnLocalhost
2022-11-03 17:10:13 -07:00
Han Kang
dfff6e4364 update documentation for metrics with deprecated version and version of k8s
Change-Id: Ia04d21f6644e7fc498304c0035d6f1ae58766a91
2022-11-03 14:57:57 -07:00
Kubernetes Prow Robot
7a46516369
Merge pull request #113496 from avoltz/anvoltz/ga-itr
Promote ServiceInternalTrafficPolicy to GA
2022-11-03 14:50:26 -07:00
Kubernetes Prow Robot
d96e052d98
Merge pull request #109505 from zigarn/no-error-reannotate
Do not raise an error proposing to use '--overwrite' when annotating with the same value
2022-11-03 14:50:15 -07:00
Wei Huang
fc831d7088
Automated codegen 2022-11-03 14:32:35 -07:00
Wei Huang
7b6293b6b6
APIs, Validation and condition enforcements
- New API field .spec.schedulingGates
- Validation and drop disabled fields
- Disallow binding a Pod carrying non-nil schedulingGates
- Disallow creating a Pod with non-nil nodeName and non-nil schedulingGates
- Adds a {type:PodScheduled, reason:WaitingForGates} condition if necessary
- New literal SchedulingGated in the STATUS column of `k get pod`
2022-11-03 14:32:34 -07:00
Mark Rossetti
a7bafa1361
CRI-API updates for windows host networking
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-11-03 14:07:17 -07:00
Mark Rossetti
c916f1a0eb
Adding WindowsHostNetwork feature gate
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-11-03 13:47:30 -07:00
Kubernetes Prow Robot
d62cc3dc6d
Merge pull request #113511 from xing-yang/node_shutdown_beta
Move non-graceful node shutdown to beta
2022-11-03 13:38:13 -07:00
Moshe Levi
c337d7b6f9 fix local-up-cluster.sh to run on other arch than amd64
tested on arm64

Signed-off-by: Moshe Levi <moshele@nvidia.com>
2022-11-03 21:39:09 +02:00
Alexander Zielenski
0c055eae3c remove kubectl annotation logic from upgrade patch
adds unneccessary complexity. also discussed in SIG CLI meeting to keep annotation around for a while longer
2022-11-03 12:07:11 -07:00
Kubernetes Prow Robot
a27a323419
Merge pull request #113535 from kidddddddddddddddddddddd/strict_serializer_audit
Log a warning when dropping unknown fields from loading an audit policy
2022-11-03 11:52:12 -07:00
Kubernetes Prow Robot
50a4dd85ff
Merge pull request #110754 from jsturtevant/cri-stats-windows
CRI: Add Windows Podsandbox Stats
2022-11-03 11:52:05 -07:00
Mike Spreitzer
114f276d68 Handle nil case correctly
Also add test for that case and another.
2022-11-03 11:50:56 -07:00
Mark Rossetti
81e7c9bca0
e2e - use resource-consumer:1.13
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-11-03 11:21:18 -07:00
Mike Spreitzer
4ad1c0f9cb apiserver: remove redundant field from seatDemandStats 2022-11-03 10:41:50 -07:00
Walter Fender
99156b5bdc Turn on CCM in kube-up when cloudprovider=external
Currently if we disable cloud provider by the following
CLOUD_PROVIDER_FLAG=external
KUBE_FEATURE_GATES=DisableCloudProviders=true,DisableKubeletCloudCredentialProviders=true
we can no longer schedule workloads due to taints and a lack of
node configuration.
This pulls a CCM image from K/cloud-provider-gcp to run tests.
This is a pre-step for taking the above feature gates to beta.
It does not address the last known good dependency issue.
Specifically the CCM image is built on top of client-go and staging.
However this image will be an "old" verison of those libraries.
So it does not test if those libraries work in the CCM.

Fix shellcheck errors.
Add CCM_FEATURE_GATES for testing.
Switching to extended regex from perl regex.
Adding instrumentation to cluster configuration.
Improved regex to not greedily get key-value pairs.
Fixed issue with error on regex no line match.
Switch credentialprovider version to v1alpha1
2022-11-03 10:38:23 -07:00
Mike Spreitzer
ba5ec78916 apiserver: define metrics for API Priority and Fairness borrowing 2022-11-03 10:37:20 -07:00
Kubernetes Prow Robot
3b6b8f9101
Merge pull request #113560 from logicalhan/refactor-stability
refactor static analysis code for stability framework
2022-11-03 10:31:37 -07:00
Ionut Balutoiu
f092343300 tests: Spawn poststart / prestop pods on the same node as the https pod
In the PR https://github.com/kubernetes/kubernetes/pull/86139, two more lifecycle hook tests (poststart / prestop)
were added using HTTPS. They are similar with the existing HTTP tests.

However, this causes failures on Windows due to how networking
works there. We previously fixed this in the HTTP tests via f9e4a015e2.

This commit applies the same fix on the lifecycle hook HTTPS tests.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2022-11-03 19:25:15 +02:00
Andy Voltz
29f4862ed8 Promote ServiceInternalTrafficPolicy to GA 2022-11-03 13:17:03 -04:00