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
Andy Voltz
29f4862ed8
Promote ServiceInternalTrafficPolicy to GA
2022-11-03 13:17:03 -04:00
Jan Safranek
6d810f2cd4
Add unit tests
2022-11-03 17:54:58 +01:00
James Sturtevant
295a9753a1
Add Windows Podsandbox Stats
...
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2022-11-03 16:33:02 +00:00
Kubernetes Prow Robot
d802bd56ac
Merge pull request #113559 from wojtek-t/clean_shutdown_5
...
Clean shutdown of few more integration tests
2022-11-03 09:01:45 -07:00
Kubernetes Prow Robot
38bcc0c153
Merge pull request #113519 from xing-yang/node_shutdown_metrics
...
Add metric deleting_pods_total
2022-11-03 09:01:37 -07:00
Jan Safranek
3a79466ddd
Reshuffle functions between reconstruct and reconstruc_common
...
Move common functions to reconstruc_common.go and functions used only for
the current (old) reconstruction to reconstruct.go
2022-11-03 16:55:13 +01:00
Jan Safranek
44b72d0348
Move new reconciler logic into reconciler_new.go
...
Move reconciler logic from reconstruct{new}.go to:
- reconciler.go - only the functionality used by the current (old)
reconciler.
- reconciler_new.go - only the functionality used by the new reconciler.
- reconciler_common.go - common functions.
2022-11-03 16:55:13 +01:00
Jan Safranek
fc245b339b
Refactor ConstructVolumeSpec
...
Return a struct from ConstructVolumeSpec to be able to add more fields to
it later.
2022-11-03 16:55:13 +01:00
Jan Safranek
2dc8cc13a4
Remove SyncReconstructedVolume call
...
With the new reconstruction, AWS.MarkVolumeAsMounted will update outer spec
name with the correct value from Pod.
2022-11-03 16:55:12 +01:00
Jan Safranek
e0f3e5c457
Rework volume reconstruction
...
Subsequent SELinux work (see http://kep.k8s.io/1710 ) will need
ActualStateOfWorld populated around the time kubelet starts mounting
volumes.
Therefore reconstruct volumes before starting reconciler, but do not depend
on the desired state of world populated nor node.status - both need a
working API server, which may not be available at that time.
All reconstructed volumes are marked as Uncertain and reconciler will sort
them out - call SetUp to ensure the volume is really mounted when a pod
needs the volume or call TearDown then there is no such pod.
Finish the reconstruction when the API server becomes available:
- Clean up volumes that failed reconstruction and are not needed.
- Update devicePath of reconstructed volumes from node.status. Make sure
not to overwrite devicePath that may have been updated when the volume
was mounted by reconcile().
Hiding all this rework behind SELinuxMountReadWriteOncePod FeatureGate,
just to make sure we have a way back if this commit is buggy.
2022-11-03 16:55:12 +01:00
Kubernetes Prow Robot
f536b3cc4f
Merge pull request #113555 from wojtek-t/refactor_storage_tests_5
...
Refactor storage tests - part 5
2022-11-03 06:59:35 -07:00
Kubernetes Prow Robot
c98aef484d
Merge pull request #112895 from nokia/kep-1435-GA
...
KEP-1435 Mixed Protocol values in LoadBalancer Service GA
2022-11-03 05:43:35 -07:00
Kubernetes Prow Robot
4086b45af3
Merge pull request #110618 from saschagrunert/v1alpha2-removal
...
Remove CRI v1alpha2
2022-11-03 03:55:35 -07:00
PiotrProkop
75bb437a6b
Improved multi-numa alignment in Topology Manager: implement closest numa policy
...
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2022-11-03 10:45:25 +01:00
PiotrProkop
d5dd42dfac
Improved multi-numa alignment in Topology Manager: introduce TopologyManagerOptions
...
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2022-11-03 10:45:21 +01:00
PiotrProkop
58ef3f202a
Improved multi-numa alignment in Topology Manager: add NUMAInfo
...
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2022-11-03 10:45:09 +01:00
Michal Wozniak
6f54848fa0
Fix disruption controller permissions to allow patching pod's status
2022-11-03 10:19:22 +01:00
Laszlo Janosi
9d75c958ce
Fix review comments. Implement endpoint port validation that verifies the protocol, too.
2022-11-03 10:54:14 +02:00
PiotrProkop
daee219210
Improved multi-numa alignment in Topology Manager: add topology-manager-policy-options flag in Kubelet
...
This patch adds new Kubelet option topologyManagerPolicyOptions.
To introduce new TopologyManager options, first we need to introduce new
flag called `topology-manager-policy-options` to allow users to modify
behaviour of best-effort and restricted policies.
Signed-off-by: PiotrProkop <pprokop@nvidia.com>
2022-11-03 09:45:33 +01:00
Paco Xu
1d04ee4cb6
upgrade github.com/prometheus/client_golang to v1.13.1
2022-11-03 16:22:07 +08:00
Sascha Grunert
f9707064cf
Remove CRI v1alpha2
...
After the removal of dockershim we can finally also drop support for CRI
v1alpha2.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-11-03 09:13:43 +01:00
Kubernetes Prow Robot
98742f9d77
Merge pull request #110747 from harshanarayana/cleanup/GIT-110737/logging-improvements
...
structured-logging: replace KObjs with KObjSlice for logging
2022-11-03 00:49:34 -07:00
Wojciech Tyczyński
83399ccfb8
Minor cleanup in etcd3 tests
2022-11-03 08:21:11 +01:00
Wojciech Tyczyński
e6ddb69e6f
Refactor remaining etcd3 tests to make them generic
2022-11-03 08:20:18 +01:00
Kubernetes Prow Robot
ee0b179a7b
Merge pull request #113387 from wojtek-t/refactor_client_indexing
...
Refactor store index into its structure
2022-11-02 23:45:42 -07:00
Kubernetes Prow Robot
6754265580
Merge pull request #109757 from STRRL/enriching-unit-test-for-container-manager
...
Add testcases for pkg/kubelet/cm/pod_container_manager_linux.go
2022-11-02 23:45:35 -07:00
Alexander Zielenski
a82015b4a2
update vendor
2022-11-02 21:50:55 -07:00
Alexander Zielenski
e394364cbd
add plaintext template
2022-11-02 21:50:54 -07:00
Alexander Zielenski
88792d9e72
add template loading to generator
2022-11-02 21:45:38 -07:00
Alexander Zielenski
f37f63ab9f
refactor generator
...
refactor funcs out of generator
2022-11-02 21:45:38 -07:00
Kubernetes Prow Robot
1d2e804287
Merge pull request #113505 from Abirdcfly/fixcomment
...
chore(scheduler): cleanup some minor issues in testing
2022-11-02 21:40:19 -07:00
Kubernetes Prow Robot
a9f87ad6c8
Merge pull request #113384 from pohly/e2e-formatting
...
e2e: formatting enhancements
2022-11-02 21:40:08 -07:00
Kubernetes Prow Robot
bbe050dd01
Merge pull request #112649 from howardjohn/set/optimize-everything-nothing
...
Optimize `Everything` and `Nothing` label selectors
2022-11-02 21:39:57 -07:00
Kubernetes Prow Robot
a091b01878
Merge pull request #112053 from helen-frank/fix/patchKubeletLongDescription
...
sync website change
2022-11-02 21:39:46 -07:00
Kubernetes Prow Robot
818b13544f
Merge pull request #106242 from thockin/revive-copy-lb-status-type-to-ingress
...
Copy LoadBalancerStatus from core to networking
2022-11-02 21:39:34 -07:00
kidddddddddddddddddddddd
5dcfaae7b9
strict decode policy first
2022-11-03 12:09:40 +08:00
Kubernetes Prow Robot
3cf75a2f76
Merge pull request #103177 from arkbriar/support_cancelable_exec_stream
...
Support cancelable SPDY executor stream
2022-11-02 19:47:36 -07:00