Commit Graph

112640 Commits

Author SHA1 Message Date
SataQiu
c51ce945a5 kubeadm: add missing --cri-socket flag for upload-certs phase 2022-12-13 16:59:17 +08:00
Prince Pereira
9abe8d9210 Windows Kube-Proxy implementation for internal traffic policy. 2022-12-13 14:26:10 +05:30
Kubernetes Prow Robot
5b54d48357
Merge pull request #113776 from princepereira/ppereira-kubeproxy-kep1669
Windows Kube-Proxy implementation of ProxyTerminatingEndpoints feature
2022-12-13 00:35:33 -08:00
Prince Pereira
f132215ac1 Creating Ingress IP loadbalancer alone when all the endpoints are terminating. KEP1669 2022-12-13 12:46:58 +05:30
Kubernetes Prow Robot
6228b914ad
Merge pull request #114273 from TommyStarK/unit-tests/pkg-scheduler-internal
scheduler/internal: Improving cache and heap test coverage
2022-12-12 23:11:33 -08:00
Patrick Ohly
d4729008ef e2e: simplify test cleanup
ginkgo.DeferCleanup has multiple advantages:
- The cleanup operation can get registered if and only if needed.
- No need to return a cleanup function that the caller must invoke.
- Automatically determines whether a context is needed, which will
  simplify the introduction of context parameters.
- Ginkgo's timeline shows when it executes the cleanup operation.
2022-12-13 08:09:01 +01:00
Kubernetes Prow Robot
dc1e77143f
Merge pull request #114082 from kidddddddddddddddddddddd/refactor_handleSchedulingFailure
pass status to handleSchedulingFailure
2022-12-12 22:05:34 -08:00
kidddddddddddddddddddddd
6ca62eb2cb refactor 2022-12-13 11:36:12 +08:00
Sean Sullivan
1da46b2f28 Unexport OpenAPIGetter factory method 2022-12-12 19:07:59 -08:00
Kubernetes Prow Robot
73ed9e70ed
Merge pull request #114052 from ionutbalutoiu/tests/lb-rolling-update
tests: Add DaemonSet with LB rolling update test
2022-12-12 18:47:52 -08:00
Kubernetes Prow Robot
cb03415326
Merge pull request #111802 from maaoBit/fix-labelSelectorValidate-missing
Validate labelSelector in topologySpreadConstraints
2022-12-12 18:47:44 -08:00
Kubernetes Prow Robot
923ee203f3
Merge pull request #110991 from thockin/svc-typenames-starTrafficPolicyType
Svc typenames star traffic policy type
2022-12-12 18:47:33 -08:00
Kubernetes Prow Robot
741bd5c382
Merge pull request #113947 from mowangdk/chore/change_adcontroller_log_level
Lower volume attached touch log level
2022-12-12 17:41:51 -08:00
Kubernetes Prow Robot
49b57ce1e2
Merge pull request #113570 from ztzxt/batch-api-doc
Fix documentation for referenced Batch v1 and v1beta1 API fields
2022-12-12 17:41:44 -08:00
Kubernetes Prow Robot
178f4e2461
Merge pull request #113040 from ardaguclu/rollout-restart-nano
rollout restart: Change error message to more descriptive
2022-12-12 17:41:32 -08:00
Kubernetes Prow Robot
4eb5821c51
Merge pull request #113156 from guyzyl/master
Add link to `CHANGELOG.md`
2022-12-12 16:35:44 -08:00
Kubernetes Prow Robot
75ec79e30b
Merge pull request #112497 from ldsdsy/modify3
update comment of annotation_key_constants.go
2022-12-12 16:35:33 -08:00
Kubernetes Prow Robot
76c93b71b5
Merge pull request #114413 from seans3/refactor-validator
Refactor to simplify factory Validator
2022-12-12 15:19:55 -08:00
Kubernetes Prow Robot
472612ccc6
Merge pull request #114191 from apelisse/uds-pprof
Allow profiling information to be served on Unix-Domain Socket
2022-12-12 15:19:44 -08:00
Kubernetes Prow Robot
71da94a0e8
Merge pull request #114048 from TommyStarK/unit-tests/pkg-api-persistentvolume
pkg/api/persistentvolume: Improving test coverage
2022-12-12 15:19:33 -08:00
Kubernetes Prow Robot
944212fe10
Merge pull request #114164 from ttakahashi21/KEP-3294-release-note
update API Change in release note
2022-12-12 14:13:33 -08:00
Ang Gao
3540f948e9 Update method name to make it more explicit 2022-12-12 21:50:07 +00:00
Kubernetes Prow Robot
2baa25027e
Merge pull request #114410 from SataQiu/cleanup-featuregates-20221211
Remove GA feature gates: CSIInlineVolume, CSIMigration, DaemonSetUpdateSurge, EphemeralContainers, IdentifyPodOS, LocalStorageCapacityIsolation, NetworkPolicyEndPort, StatefulSetMinReadySeconds
2022-12-12 11:44:11 -08:00
Kubernetes Prow Robot
d581dee37f
Merge pull request #114378 from qingwave/cel-metrics
cleanup: add help information for apiserver cel metrics
2022-12-12 11:44:04 -08:00
Kubernetes Prow Robot
c6b75dac5b
Merge pull request #114204 from pacoxu/order-unwanted-deps
add github.com/mindprince/gonvml to unwanted dependencies
2022-12-12 11:43:56 -08:00
Kubernetes Prow Robot
832f98f199
Merge pull request #114163 from ritazh/encryption-godoc
Update the godoc on the encryption config API on how to specify group…
2022-12-12 11:43:45 -08:00
Kubernetes Prow Robot
60274a1a0a
Merge pull request #114131 from aojea/noflaky_lb
remove flaky tag for GCE NEG tests
2022-12-12 11:43:33 -08:00
TommyStarK
94a29efe2f scheduler/internal: Improving cache and heap test coverage
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-12-12 20:08:24 +01:00
Swati Sehgal
c6b29a0b05 nrt-api: Update nrt-api go.mod and update vendor directory
```
./hack/update-vendor.sh
```

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 17:02:04 +00:00
Kubernetes Prow Robot
2e3055863d
Merge pull request #113456 from sanposhiho/use-totalscore-in-NodePluginScores
use TotalScore summarized in NodePluginScores
2022-12-12 09:01:45 -08:00
Kubernetes Prow Robot
4e384d3953
Merge pull request #111367 from akankshakumari393/fix_typos_in_func_name
[Minor] Correct Typos in `getBeginingAndEndIndices` func Name
2022-12-12 09:01:33 -08:00
Swati Sehgal
fa1f7470c8 nrt-api: Update publishing-bot rules.yaml
rules.yaml captures the dependencies of the repo and is used by
the publishing-bot to publish the staging repository.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:32 +00:00
Swati Sehgal
4ff3f03748 nrt-api: Add doc.go
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:32 +00:00
Swati Sehgal
5c0a599534 nrt-api: Add a symlink to the staging repo in vendor/k8s.io 2022-12-12 16:48:32 +00:00
Swati Sehgal
65aadd7403 nrt-api: Bootstrap repo
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:32 +00:00
Swati Sehgal
2ee2137fc5 nrt-api: Add noderesourcetopology-api to list of staging repos
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:32 +00:00
Swati Sehgal
6df5827f12 nrt-api: Add manifest directory for example manifests
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:32 +00:00
Swati Sehgal
5c4fdb7fec nrt-api: Add hack directory for generation of autogenerated code
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:31 +00:00
Swati Sehgal
8594b2271f nrt-api: Indicate that PRs are not directly accepted to the repo
- Add contributing.md
- Add .github/PULL_REQUEST_TEMPLATE.md
2022-12-12 16:48:31 +00:00
Swati Sehgal
bd8f4680b7 nrt-api: Add all mandatory template files to the staging repo
- Add OWNERS and SECURITY_CONTACTS
- Add LICENSE file
- Add README.md
- Add code-of-conduct.md

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:48:31 +00:00
Swati Sehgal
62e4d39c2f node: e2e: address review comments (2022/12/12)
- use `ginkgo.DeferCleanup` instead of clean up in the AfterEach block
- encourage use of ginkgo by not extending expect.go

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 16:31:40 +00:00
John Howard
d9f2cc0c95 endpoints: remove obsolete ServiceSelectorCache
Since https://github.com/kubernetes/kubernetes/pull/112648, we can
efficiently handle selectors from pre-existing `map[string]string`,
making the cache obsolete.

Benchmark:

```
name                         old time/op    new time/op    delta
GetPodServiceMemberships-48     189µs ± 1%     193µs ± 1%  +2.10%  (p=0.000 n=10+10)

name                         old alloc/op   new alloc/op   delta
GetPodServiceMemberships-48    59.0kB ± 0%    58.9kB ± 0%  -0.09%  (p=0.000 n=9+9)

name                         old allocs/op  new allocs/op  delta
GetPodServiceMemberships-48     1.02k ± 0%     1.02k ± 0%    ~     (all equal)
```
2022-12-12 08:00:48 -08:00
SataQiu
090c36027f apiserver: cleanup unused StrategyExceptions 2022-12-12 23:56:24 +08:00
Rita Zhang
c085031a8f
Update the godoc on the encryption config API on how to specify group/resources to be encrypted
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2022-12-12 07:22:09 -08:00
Ionut Balutoiu
3feea9db7c tests: Add DaemonSet with LB rolling update test
Add a test case with a DaemonSet behind a simple load balancer whose
address is being constantly hit via HTTP requests.

The test passes if there are no errors when doing HTTP requests to the
load balancer address, during DaemonSet `RollingUpdate` operations.

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2022-12-12 17:16:12 +02:00
Swati Sehgal
a9e3689e63 node: e2e: ensure clean cluster state before e2e tests are run
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 14:50:36 +00:00
Swati Sehgal
7e880d1bab node: e2e: ensure log rotation pod is deleted after test
Some node e2e tests check for expected number of pods running
on the node to verify the correct state of that node after running
test scenarios. An example of such a check is in the device plugin
end to end test here: [1].

If the node is not left in a clean state after an e2e test finishes
running, it can lead to flaky tests because the node might have
unexpected pods running on the node.

In order to avoid that, we make sure that the test pods are
cleaned up after the test runs.

[1]: https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/device_plugin_test.go#L189-L190

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2022-12-12 14:50:32 +00:00
Kubernetes Prow Robot
0e19bbb916
Merge pull request #113742 from princepereira/ppereira-kubeproxy-flags
Add a flag to HNS Load Balancer policy to hint HNS about the VIP being an External IP
2022-12-12 04:23:33 -08:00
Kensei Nakada
9fd15f1fa3 use TotalScore summarized in NodePluginScores 2022-12-12 11:43:22 +00:00
Kubernetes Prow Robot
cef3e3ffe6
Merge pull request #114027 from anggao/master
e2e: make GetSubnetPrefix IP family agnostic
2022-12-12 02:45:33 -08:00