Commit Graph

107250 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
41501c4fcf
Merge pull request #108704 from MartinForReal/feat/add_bootid_for_windows
Add bootid support for windows node.
2022-03-22 10:36:11 -07:00
Kubernetes Prow Robot
e0b334f570
Merge pull request #105077 from marosset/windows-run-kubelet-in-job-object
Run kubelet in a job object in windows
2022-03-22 10:35:59 -07:00
Matthew Booth
928a5db93b
cloud-provider handles kubelet's --node-ip
When using a legacy cloud provider, if kubelet is passed a node address
in --node-ip it will use this address in preference out the the
addresses by the cloud provider.

When using an external cloud provider, kubelet will annotate the Node
with the first --node-ip for use by the cloud provider. The cloud
provider validates this annotation but does not otherwise use it,
meaning that --node-ip has no effect.

This change moves the node address filtering code from kubelet to
component-helpers and updates both kubelet and cloud-provider to use it.
There is no functional change to kubelet, but cloud-provider now honours
kubelet's --node-ip.
2022-03-22 16:58:37 +00:00
Nikhil Sharma
4224b524d5 Managing nil pointer in VolumeManager 2022-03-22 22:04:24 +05:30
Kubernetes Prow Robot
5984099509
Merge pull request #108870 from dims/golang-update-to-1.18-from1.18rc1
golang: Update to 1.18 from 1.18rc1
2022-03-22 08:37:44 -07:00
Davanum Srinivas
d8f1da5ecb
golang: Update to 1.18 from 1.18rc1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-22 09:47:35 -04:00
Sascha Grunert
6b63231b7e
kubeadm: reuse found crictl path for exec
We now re-use the crictl tool path within the `ContainerRuntime` when
exec'ing into it. This allows introducing a convenience function to
create the crictl command and re-use it where necessary.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-03-22 14:03:57 +01:00
Kubernetes Release Robot
dd604a0f9a CHANGELOG: Update directory for v1.24.0-alpha.4 release 2022-03-22 11:27:03 +00:00
Kubernetes Prow Robot
0b8a665d50
Merge pull request #108613 from Huang-Wei/fix-v1beta3-order
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config
2022-03-22 01:01:44 -07:00
Patrick Ohly
f5340fdd02 storage capacity: CRUD conformance test
This is needed for GA APIs. This one is based on
test/e2e/common/node/runtimeclass.go.
2022-03-22 08:12:56 +01:00
Kubernetes Prow Robot
9a8defda15
Merge pull request #108383 from tkashem/revert
Revert the revert of #107456 - "apf: change controller to use SSA for patches"
2022-03-21 22:09:43 -07:00
Kubernetes Prow Robot
0053a0e0fd
Merge pull request #108782 from cfryanr/expirationseconds_conformance
Promote CertificateSigningRequest's Spec.ExpirationSeconds field to GA
2022-03-21 20:19:55 -07:00
Kubernetes Prow Robot
29528a266a
Merge pull request #108680 from kidlj/fix_cache_index_comments
make comments of `(c *threadSafeMap) updateIndices` optimization code more accurate
2022-03-21 20:19:44 -07:00
Kubernetes Prow Robot
7cf5c02980
Merge pull request #107979 from XudongLiuHarold/promote-loadbalancerclass-to-ga
Promote load balancer class to GA
2022-03-21 17:54:13 -07:00
Xudong Liu
c8a6c7f338 promote load balancer class to GA
Signed-off-by: Xudong Liu <xudongliuharold@gmail.com>
2022-03-21 16:16:13 -07:00
Mike Miranda
44e3280799 Increase timeout for stats check 2022-03-21 22:20:57 +00:00
Stephen Heywood
b5edb55bbc Create e2e job status test
e2e test validates the following 3 extra endpoints
- patchBatchV1NamespacedJobStatus
- readBatchV1NamespacedJobStatus
- replaceBatchV1NamespacedJobStatus
2022-03-22 10:26:44 +13:00
Kubernetes Prow Robot
afb0136d62
Merge pull request #108852 from mikedanese/auth-plugin-doc
add better link for gcp auth plugin doc
2022-03-21 14:20:44 -07:00
Katrina Verey
be5e14521f
Script kubectl kustomize update process 2022-03-21 15:47:30 -04:00
Kubernetes Prow Robot
80746c7622
Merge pull request #108829 from kerthcet/feature/remove-unsupported-alwaysCheckAllPredicates
remove no longer supported scheduler option `runAllFilters`
2022-03-21 12:04:57 -07:00
Kubernetes Prow Robot
5c4bb8d6d0
Merge pull request #108824 from liggitt/exec-auth-cleanup
Clean up unused exec auth from cluster setup
2022-03-21 12:04:45 -07:00
Wei Huang
d330f4dcb4
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config 2022-03-21 10:46:26 -07:00
Mike Danese
6a8579d1cd add better link for gcp auth plugin doc 2022-03-21 10:44:03 -07:00
Patrick Ohly
0b7d303a90 logs: replace our custom flush daemon with klog's daemon
The advantage is that klog properly handles restarting of the daemon
with a new interval and the daemon can be stopped.

Stopping the daemon solves a data race that the tests had when modifying the
Logger's flush function while goroutines from previous tests were still
running.
2022-03-21 16:23:48 +01:00
Patrick Ohly
f8bb67cc2e logs: flush Logger through klog
Not all code knows that it needs to flush through component-base/logs.FlushLogs
when the JSON logger is used. By registering the flush callback together with
the logger, klog.Flush and klog.FlushAndExit are sufficient for flushing all
data.
2022-03-21 16:23:48 +01:00
Patrick Ohly
09aa1071cd klog v2.60.1
The new release supports FlushAndExit and contextual logging.
2022-03-21 16:23:48 +01:00
Kubernetes Prow Robot
637394c539
Merge pull request #108842 from zzr93/master
clean an unnecessary else
2022-03-21 07:39:21 -07:00
Qiming Teng
629b7aef51 Update generated file(s) 2022-03-21 22:12:35 +08:00
Kubernetes Prow Robot
f14d1c9b1e
Merge pull request #108826 from astraw99/fix-exist-err
Fix function name of `IsNodeExist` error
2022-03-21 05:03:21 -07:00
zzr93
3c57a9e106 clean an unnecessary else 2022-03-21 16:47:00 +08:00
Qiming Teng
4567032b5f Fix doc strings for kubelet config APIs 2022-03-21 16:35:21 +08:00
Kubernetes Prow Robot
9d18c761af
Merge pull request #107981 from lzhecheng/fix-enabletcpreset
Cherry-pick: Fix incorrect EnableTCPReset for non-TCP protocols
2022-03-20 19:25:08 -07:00
kerthcet
29b565d071 feat: remove unsupported configuration field alwaysCheckAllPredicates in scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-03-21 10:17:46 +08:00
Kubernetes Prow Robot
cbf4186a57
Merge pull request #108452 from HirazawaUi/master
show error details removing or adding ipset entry
2022-03-20 16:31:12 -07:00
Kubernetes Prow Robot
343958929e
Merge pull request #108790 from kerthcet/refactor/remove-configurator-in-scheduler
refactor: remove configurator in scheduler
2022-03-20 10:07:08 -07:00
kerthcet
1cf535f8a7 remove unused Binder struct
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-03-20 23:57:46 +08:00
kerthcet
5ecaeb325f refactor: remove configurator in scheduler
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-03-20 23:57:26 +08:00
astraw99
79471695c2 Fix function name of IsExist err 2022-03-19 23:06:51 +08:00
Jordan Liggitt
548c339867 Clean up unused exec auth from cluster setup 2022-03-19 10:47:38 -04:00
Kubernetes Prow Robot
475f7af1c1
Merge pull request #108812 from danwinship/endpoint-chain-names
proxy/iptables: fix up endpoint chain name computation
2022-03-19 02:15:09 -07:00
mozillazg
95f5d507f5
kubectl: Remove deprecated flags
Remove the deprecated `--serviceaccount`, `--hostport`, `--requests` and `--limits` flags
2022-03-19 15:32:06 +08:00
Kubernetes Prow Robot
2bda940add
Merge pull request #108811 from danwinship/simplify-local-traffic-detector
pkg/proxy: Simplify LocalTrafficDetector
2022-03-18 20:59:12 -07:00
Kubernetes Prow Robot
ff4f560238
Merge pull request #108813 from bobbypage/gh_issue_108809
test: increase timeout in pod collection deletion
2022-03-18 16:06:03 -07:00
Kubernetes Prow Robot
b383035ca3
Merge pull request #108810 from enj/enj/i/create_token_duration
kubectl create token: use duration instead of expiration seconds
2022-03-18 16:05:56 -07:00
Kubernetes Prow Robot
54ee338758
Merge pull request #108351 from mengjiao-liu/fix_ipset_test
Fix incorrect test cases to cover code that needs to be tested in `TestValidateIPSet`
2022-03-18 15:01:56 -07:00
Ryan Richard
e29ac0f8be Promote CertificateSigningRequest's Spec.ExpirationSeconds field to GA
Remove the comment "As of v1.22, this field is beta and is controlled
via the CSRDuration feature gate" from the expirationSeconds field's
godoc.

Mark the "CSRDuration" feature gate as GA in 1.24, lock its value to
"true", and remove the various logic which handled when the gate was
"false".

Update conformance test to check that the CertificateSigningRequest's
Spec.ExpirationSeconds field is stored, but do not check if the field
is honored since this functionality is optional.
2022-03-18 14:41:43 -07:00
Kubernetes Prow Robot
c28cfea07d
Merge pull request #108747 from robscott/topology-gate-default
Updating TopologyAwareHints feature gate to be on by default
2022-03-18 13:58:07 -07:00
Kubernetes Prow Robot
b9817c801b
Merge pull request #108616 from margocrawf/delete-execcredential-v1alpha1
Remove v1alpha1 of the execcredential
2022-03-18 13:57:56 -07:00
David Porter
7ac2896a14 test: increase timeout in pod collection deletion
Increase the current timeout of 1 minute for waiting for all pods to be
deleted to avoid flakiness. To avoiding hardcoding a timeout, use the
built in framework's `PodDelete` timeout which defaults to 5 minutes.

While we are in here, also change `framework.PodStartTimeout` to use
`f.Timeouts.PodStart` since `framework.PodStartTimeouts` are marked as
deprecated.

Signed-off-by: David Porter <david@porter.me>
2022-03-18 13:40:29 -07:00
Monis Khan
6b9d556c9d
kubectl create token: use duration instead of expiration seconds
Expiration seconds is great for an unambiguous REST API.  It it not
a great input for a command line meant to be used by humans.

Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-18 16:11:13 -04:00