Open cyclinder opened 5 days ago
Attention: Patch coverage is 0%
with 103 lines
in your changes missing coverage. Please review.
Project coverage is 79.30%. Comparing base (
5ff6c82
) to head (7663fa2
).:exclamation: Current head 7663fa2 differs from pull request most recent head 7f26f0b
Please upload reports for the commit 7f26f0b to get more accurate results.
没有 E2E ,至少 需要 把 E2E 设计 提到 doc
仍然在排查 webhook 流程问题:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedCreate 10s (x13 over 31s) replicaset-controller Error creating: Internal error occurred: failed calling webhook "pods.kubernetes.io": failed to call webhook: the server could not find the requested resource
root@10-20-1-200:~# kubectl logs -n kube-system kube-apiserver-spider-control-plane | grep pods.kubernetes.io
W0628 10:24:25.536243 1 dispatcher.go:225] Failed calling webhook, failing closed pods.kubernetes.io: failed calling webhook "pods.kubernetes.io": failed to call webhook: the server could not find the requested resource
logging error output: "k8s\x00\n\f\n\x02v1\x12\x06Status\x12\xbe\x02\n\x06\n\x00\x12\x00\x1a\x00\x12\aFailure\x1a\x8e\x01Internal error occurred: failed calling webhook \"pods.kubernetes.io\": failed to call webhook: the server could not find the requested resource\"\rInternalError*\x87\x01\n\x00\x12\x00\x1a\x00\"{\n\x00\x12ufailed calling webhook \"pods.kubernetes.io\": failed to call webhook: the server could not find the requested resource\x1a\x00(\x002\x000\xf4\x03\x1a\x00\"\x00"
W0628 10:24:25.553750 1 dispatcher.go:225] Failed calling webhook, failing closed pods.kubernetes.io: failed calling webhook "pods.kubernetes.io": failed to call webhook: the server could not find the requested resource
the server could not find the requested resource
the server could not find the requested resource ---- is spiderpool parameter CRD not registerred ?
just go ahead next Monday
the server could not find the requested resource ---- is spiderpool parameter CRD not registered ?
No, all spiderpool CRD has been registered, this webhook is just for pods, the error is extraordinary
Thanks for contributing!
What type of PR is this?
What this PR does / why we need it:
webhook: auto inject the rdma resource to pod.
pod.resourceClaims -> spiderclaimparameters.staticNics -> spidermultusconfig -> resourceName -> pod.resource.requests.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: