Commit Graph

112519 Commits

Author SHA1 Message Date
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
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
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
Patrick Ohly
5c09ca57ff e2e storage: remove context.WithCancel
The context provided by Ginkgo will get cancelled automatically.
2022-12-12 11:30:07 +01:00
Patrick Ohly
896c6fa082 e2e framework: add AnnotatedLocationWithOffset
This is useful in helper functions which themselves don't need to be recorded.
2022-12-12 11:30:07 +01:00
Patrick Ohly
c466c49682 e2e apps: avoid assertions in wait.Until callback
wait.Until catches panics and logs them, which leads to confusing
output. Besides, the test is written so that failures must get reported to the
main goroutine.
2022-12-12 11:30:07 +01:00
Patrick Ohly
2168dd5334 e2e apps: capture expected state before making changes
Looking up the expected nodes in the goroutine raced with the test making
changes to the configuration. When doing (unrelated?) changes, the test started
to fail:

Oct 23 15:47:03.092: INFO: Unexpected error:
    <*errors.errorString | 0xc001154c70>: {
        s: "no subset of available IP address found for the endpoint test-rolling-update-with-lb within timeout 2m0s",
    }
Oct 23 15:47:03.092: FAIL: no subset of available IP address found for the endpoint test-rolling-update-with-lb within timeout 2m0s
2022-12-12 11:30:07 +01:00
Patrick Ohly
7454c3ff81 e2e metrics: remove incorrect comment
The "should report resource usage through the resource metrics api" E2E test
calls getResourceMetrics, which calls GrabKubeletMetricsWithoutProxy.
2022-12-12 11:30:07 +01:00
Patrick Ohly
8c27313cfd e2e storage: don't panic when server stops
Now that everything is connected to a per-test context, the gRPC server might
encounter an error before it gets shut down normally. We must not panic in that
case because it would kill the entire Ginkgo worker process. This is not even
an error, so just log it as info message.
2022-12-12 11:30:07 +01:00
Patrick Ohly
f897c86119 e2e framework: support ignoring "not found" errors during DeferCleanup
The wrapper can be used in combination with ginkgo.DeferCleanup to ignore
harmless "not found" errors during delete operations.

Original code suggested by Onsi Fakhouri.
2022-12-12 11:30:07 +01:00
Patrick Ohly
73b60ba769 e2e framework: don't fail when DumpAllNamespaceInfo is nil
It is set in all of the test/e2e* suites, but not in the ginkgo output
tests. This check is needed before adding a test case there which would trigger
this nil pointer access.
2022-12-12 11:30:07 +01:00
Kubernetes Prow Robot
bc6afee049
Merge pull request #114361 from kerthcet/cleanup/emit-errors-more-precise
Tune the error messages in scheduler cache
2022-12-12 00:15:44 -08:00
Kubernetes Prow Robot
c80b03fee8
Merge pull request #113499 from kerthcet/cleanup/map-empty-judgement
Fix: resourceToWeightMap will never be nil here
2022-12-12 00:15:33 -08:00
Arda Güçlü
d0f558612a use io instead ioutil 2022-12-12 09:34:35 +03:00