Commit Graph

107235 Commits

Author SHA1 Message Date
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
Dan Winship
dd4d88398c proxy/iptables: fix up endpoint chain name computation
Rather than lazily computing and then caching the endpoint chain name
because we don't have the right information at construct time, just
pass the right information at construct time and compute the chain
name then.
2022-03-18 16:10:33 -04:00
Dan Winship
e3549646ec pkg/proxy: Simplify LocalTrafficDetector
Now that we don't have to always append all of the iptables args into
a single array, there's no reason to have LocalTrafficDetector take in
a set of args to prepend to its own output, and also not much point in
having it write out the "-j CHAIN" by itself either.
2022-03-18 16:09:04 -04:00
Kubernetes Prow Robot
cd6af9e64b
Merge pull request #106155 from enj/enj/i/webhook_rest_config
webhook: use rest.Config instead of kubeconfig file as input
2022-03-18 12:23:56 -07:00
Kubernetes Prow Robot
afbe293539
Merge pull request #108506 from jlsong01/fix_kubectl_ingress_default_backend
fix kubectl describe ingress shows default-backend:80 when no default…
2022-03-18 10:58:53 -07:00
Kubernetes Prow Robot
f87e37c337
Merge pull request #108271 from kkkkun/sort-kubectl-output-format
sort kubectl get output format
2022-03-18 10:58:41 -07:00
Margo Crawford
38cbe6d7fe Generated code for deleting exec credential v1alpha1 api
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-18 10:16:58 -07:00
Margo Crawford
5b690b44d0 Remove v1alpha1 of the execcredential
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-18 10:16:11 -07:00
Kubernetes Prow Robot
0ade4678a7
Merge pull request #108771 from andrewsykim/bump-agnhost
Bump agnhost@v2.36 to include changes for --delay-shutdown flag
2022-03-18 00:15:17 -07:00
Kubernetes Prow Robot
ad751e8520
Merge pull request #108710 from kevindelgado/ssfv-testing-improvement
Exact Matching for Field Validation Integration Tests
2022-03-17 21:21:16 -07:00
Kubernetes Prow Robot
aface3ab99
Merge pull request #108761 from denkensk/set-flush-arg
Set PodMaxUnschedulableQDuration as 5 min
2022-03-17 20:15:39 -07:00
MartinForReal
d529b7e10b add bootid support for windows node.
Signed-off-by: MartinForReal <fanshangxiang@gmail.com>
2022-03-18 02:17:52 +00:00
Kubernetes Prow Robot
b0c435c8c4
Merge pull request #108772 from aojea/user_agent
client-go: default user agent if empty
2022-03-17 19:07:39 -07:00
Monis Khan
fef7d0ef1e
webhook: use rest.Config instead of kubeconfig file as input
This change updates the generic webhook logic to use a rest.Config
as its input instead of a kubeconfig file.  This exposes all of the
rest.Config knobs to the caller instead of the more limited set
available through the kubeconfig format.  This is useful when this
code is being used as a library outside of core Kubernetes. For
example, a downstream consumer may want to override the webhook's
internals such as its TLS configuration.

Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-17 20:47:42 -04:00
Kevin Delgado
7983932800 Exact Matching for Field Validation Tests 2022-03-17 22:08:49 +00:00