Lukasz Szaszkiewicz
ca562fd280
storage/etcd: the watcher supports the API streaming
2023-09-25 12:26:38 +02:00
Kubernetes Prow Robot
c6bb90aeea
Merge pull request #120852 from bzsuni/cleanup/sets/scheduler
...
use generic Set in scheduler
2023-09-25 01:52:57 -07:00
SataQiu
1a68195626
kubeadm: fix the bug that kubeadm always do CRI detection when --config is passed even if it is not required by subcommand
2023-09-25 16:35:47 +08:00
Kubernetes Prow Robot
3cbfa3e2cd
Merge pull request #120854 from dpasiukevich/patch-1
...
Remove dpasiukevich from cluster/addons/dns OWNERS
2023-09-24 15:24:57 -07:00
Dzmitry Pasiukevich
72b68b8003
Remove dpasiukevich from cluster/addons/dns OWNERS
2023-09-24 21:47:22 +02:00
Kubernetes Prow Robot
ba0505319e
Merge pull request #120851 from dhruvmehtaaa/remove-code
...
Remove an old compatibility check/warning
2023-09-24 12:28:57 -07:00
bzsuni
b71d7f9305
use generic Set in scheduler
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-09-24 22:46:55 +08:00
dhruvmehtaaa
7c5219438d
Remove an old compatibility check/warning
2023-09-24 20:08:40 +05:30
Lubomir I. Ivanov
5c80007ecc
cluster-bootstrap: make randBytes() be in constant-time
...
The function generates bytes in the x={0-252} range and then
applies an y=(x mod 36) to obtain allowed token characters
from validBootstrapTokenChars[y].
Instead of using crypto/rand.Reader, use crypto/rand.Int()
that operates in the val={0-len(validBootstrapTokenChars))}.
Once a random index is generated, use simple operations
to obtain a random character in the a-z,0-9 character range.
This makes the character generation in constant-time.
2023-09-23 18:24:42 +03:00
Kubernetes Prow Robot
c5cf0ac188
Merge pull request #120836 from jkh52/knp-0.28.0
...
Bump Konnectivity to 0.28.0
2023-09-23 07:02:57 -07:00
Joseph Anttila Hall
1b602ffd9a
Bump Konnectivity to 0.28.0
2023-09-22 13:10:24 -07:00
Dezhou Jiang
06deb49d2c
Fix panic testing intree vSphere dynamic PV.
...
Change-Id: I9d1ee7f49f01c3308b967d84865fa6bcfafc4b0d
2023-09-22 18:58:44 +00:00
Dan Winship
0910fe4b98
Extend iptables packet tracer to check the protocol
2023-09-22 11:41:21 -04:00
Dan Winship
a25fb03c00
Add assertIPTablesChainEquals, to streamline a few tests
...
Rather than checking the entire iptables dump, only check a single
chain.
2023-09-22 11:41:21 -04:00
Dan Winship
0ab0e404b8
Drop the now-unused assertIPTablesRulesNotEqual
...
Previously this was used to assert "something changed since the last
sync", but we already have packet flow tests in all of those cases now
to assert that the *specific* something we care about changed.
2023-09-22 11:41:21 -04:00
Dan Winship
4438f5e436
Remove assertIPTablesRulesEqual checks from terminating endpoints tests
...
The flow tests sufficiently check the results.
Also remove some irrelevant bits of the Service definition that don't
affect these tests.
2023-09-22 11:41:17 -04:00
Kubernetes Prow Robot
3ac83f528d
Merge pull request #119290 from carlory/add-logger
...
the scheduling queue logs the error and treats it as QueueAfterBackoff
2023-09-22 08:10:49 -07:00
Dan Winship
d57a51d0a9
Remove assertIPTablesRulesEqual from InternalTrafficPolicy test
...
Just use the flow tests. Also, add a new test for a missing case.
2023-09-22 11:07:53 -04:00
Dan Winship
43db55e93d
Rename and extend TestOverallIPTablesRulesWithMultipleServices
...
Rename TestOverallIPTablesRulesWithMultipleServices to just
TestOverallIPTablesRules, and add one rule type we weren't previously
testing (session affinity).
2023-09-22 11:06:45 -04:00
Kubernetes Prow Robot
7a941176a7
Merge pull request #120807 from p0lyn0mial/upstream-extend-generic-watch-semantic-tests
...
Extend RunWatchSemantics test by a new flavour and fill the gap
2023-09-22 06:16:49 -07:00
Lukasz Szaszkiewicz
0e238c4c28
storage/testing/watcher_tests: add new flavour to RunWatchSemantics test and fill the gap
...
the new flavour proves that a storage layer follows RV
which is equal to the global rv
2023-09-22 13:02:22 +02:00
Akhil Mohan
45a776d5ff
update rules to switch from deprecated dir field
...
dir field has been deprecated in favour of dirs field, so that
multiple directories can be specified in the rules in future
when publishing-bot moves from filter-branch to filter-repo
Signed-off-by: Akhil Mohan <makhil@vmware.com>
2023-09-22 11:38:53 +05:30
Kubernetes Prow Robot
4eb6b3907a
Merge pull request #120361 from tnqn/improve-test-log
...
Improve service unit test failure report
2023-09-21 21:17:52 -07:00
Kubernetes Prow Robot
19d82808c1
Merge pull request #120818 from danwinship/bridge-nf-call-iptables
...
Remove an old compatibility check/warning
2023-09-21 20:09:50 -07:00
fusida
9fb77db9b9
e2e: set liveness probe timeout seconds for conformance test
2023-09-22 11:05:00 +08:00
Alvaro Aleman
5d56f7cf86
Apimeta Set/RemoveStatusCondition: Indicate change
...
The SetStatusCondition and RemoveStatusCondition currently do not
indicate if they changed anything. In most cases that information is
necessary to determine if an Update of the object is needed. This change
adds a boolean return to them that indicate if they changed anything.
As the two functions had no return at all prior to this, this shouldn't
break anything.
2023-09-21 21:13:33 -04:00
Dan Winship
b489beb365
Remove an old compatibility check/warning
...
It was IPv4-specific but nobody ever noticed this or reported the lack
of IPv6 check as a problem, suggesting that it is no longer needed.
2023-09-21 16:49:23 -04:00
Kubernetes Prow Robot
1e862b0fec
Merge pull request #120388 from HirazawaUi/add-group-to-apiserver-tracing
...
Add group, version, namespace, name, and subresource to apiserver tracing
2023-09-21 13:07:10 -07:00
Fabio Bertinatto
eb109e3948
e2e: bootstrap vsphere tests earlier
2023-09-21 16:19:37 -03:00
Kubernetes Prow Robot
cde6a46a48
Merge pull request #120799 from aojea/workqueue_test
...
workqueue unit tests to assert collapsing behaviors
2023-09-21 08:44:27 -07:00
Kubernetes Prow Robot
0a2a568639
Merge pull request #120797 from p0lyn0mial/upstream-refactor-generic-watch-semantic-tests
...
storage/testing/watcher_tests: refactor RunWatchSemantics tests
2023-09-21 07:24:56 -07:00
Kubernetes Prow Robot
ed552363c3
Merge pull request #120405 from Rei1010/introduceNewMethod
...
using wait.Interrupted instead of deprecated wait.ErrWaitTimeout for apps
2023-09-21 07:24:44 -07:00
Evan Lezar
d3d1827c05
Use local isCgroup2UnifiedMode consistently
...
This change switches to using isCgroup2UnifiedMode locally to ensure
that any mocked function is also used when checking the swap controller
availability.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-09-21 16:09:04 +02:00
Antonio Ojea
8a31bb6786
workqueue unit tests to assert collapsing behaviors
...
Change-Id: If4bf54c3af603c17de49055960f9a76e7d38aab3
2023-09-21 11:13:33 +00:00
Kubernetes Prow Robot
5ebb9f3195
Merge pull request #120793 from chendave/doc
...
kubeadm: Nominate myself (chendave) as a kubeadm approver
2023-09-21 03:45:07 -07:00
Lukasz Szaszkiewicz
dc5cfe3cff
storage/testing/watcher_tests: refactor RunWatchSemantics tests
2023-09-21 12:16:16 +02:00
Lubomir I. Ivanov
b5bffb6d97
kubeadm: add v1beta4.ClusterConfiguration.EncryptionAlgorithm
...
Add v1beta4.ClusterConfiguration.EncryptionAlgorithm field (string)
and allow the user to configure the cluster asymetric encryption
algorithm to be either "RSA" (default, 2048 pkey size) or "ECDSA" (P-256).
Add validation and fuzzing. Conversion from v1beta3 is not required
because an empty field value is accepted and defaulted to RSA if needed.
Leverage the existing configuration option (feature gate) PublicKeysECDSA
but rename the backend fields, arguments, function names to be more
generic - EncryptionAlgorithm instead of PublicKeyAlgorithm.
That is because once the feature gate is enabled the algorithm
configuration also applies to private keys. It also uses the kubeadm API
type (string) instead of the x509.PublicKeyAlgorithm enum (int).
Deprecate the PublicKeysECDSA feature gate with a message.
It should be removed with the release of v1beta4 or maximum one release
later (it is an alpha FG).
2023-09-21 11:48:48 +03:00
Kubernetes Prow Robot
f170340524
Merge pull request #120723 from princepereira/ppereira-kubeproxy-mock-test-fix
...
Fix for Kubeproxy Mock framework where hcn object is holding always new object and not the pointer reference
2023-09-21 01:06:19 -07:00
Dave Chen
d8cf68e75f
kubeadm: Nominate myself (chendave) as kubeadm approver
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-09-21 15:00:53 +08:00
Kubernetes Prow Robot
bf421d52f2
Merge pull request #120777 from atiratree/reintroduce-resource-quota-monitor
...
reintroduce resourcequota.NewMonitor
2023-09-20 21:22:25 -07:00
Kubernetes Prow Robot
ee73715dd9
Merge pull request #120774 from pacoxu/revert-120749-skip-kube-dns-tests-when-missing
...
Revert "Skip kube-dns tests if coredns is installed"
2023-09-20 21:22:14 -07:00
Mengjiao Liu
3eb6c4d368
Migrated pkg/scheduler/framework/plugins/volumebinding
to contextual logging
2023-09-21 11:28:12 +08:00
carlory
0105a002bc
when the hint fn returns error, the scheduling queue logs the error and treats it as QueueAfterBackoff.
...
Co-authored-by: Kensei Nakada <handbomusic@gmail.com>
Co-authored-by: Kante Yin <kerthcet@gmail.com>
Co-authored-by: XsWack <xushiwei5@huawei.com>
2023-09-21 09:40:44 +08:00
Kubernetes Prow Robot
824889c929
Merge pull request #120779 from enj/enj/i/ctb_noop_update
...
Allow storage migration of CTB without attest authorization
2023-09-20 13:12:01 -07:00
Kubernetes Prow Robot
884bc96fec
Merge pull request #120773 from swatisehgal/tm-metrics-e2e-deflake
...
topology-mgr: metrics: Deflake Topology Manager metrics e2e tests
2023-09-20 11:26:26 -07:00
Kubernetes Prow Robot
7fb7e2625b
Merge pull request #120401 from shijinye/e2eclean-node-notequal
...
cleanup:e2e:stop using deprecated framework.ExpectNotEqual
2023-09-20 11:26:19 -07:00
Kubernetes Prow Robot
3191493cea
Merge pull request #119402 from Tal-or/e2e_podres_terminal_pods
...
e2e:podresources: verify count for terminal pods
2023-09-20 11:26:11 -07:00
Kubernetes Prow Robot
89b4153d4d
Merge pull request #116884 from mengjiao-liu/contextual-logging-scheduler-plugin-nodevolumelimits
...
Change the scheduler plugins FactoryAdapter function to use context parameter to pass logger
2023-09-20 11:26:00 -07:00
Monis Khan
e00551fe5d
Allow storage migration of CTB without attest authorization
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-09-20 12:26:11 -04:00
Filip Křepinský
c816601d83
reintroduce resourcequota.NewMonitor
...
- this function is used by other packages and was mistakenly removed
in 397cc73dc9
- let resource quota controller use this constructor instead of an
object instantiation
2023-09-20 17:18:55 +02:00