https://github.com/GoogleCloudPlatform/spark-on-k8s-operator
当我尝试使用启用的 webhook 启动 spark-operator 时,我收到了该日志
I0907 10:26:15.465503 11 main.go:177] Enabling metrics collecting and exporting to Prometheus
I0907 10:26:15.465675 11 metrics.go:142] Started Metrics server at localhost:10254/metrics
I0907 10:26:15.469193 11 webhook.go:218] Starting the Spark admission webhook server
I0907 10:26:15.493556 11 webhook.go:412] Creating a MutatingWebhookConfiguration for the Spark pod admission webhook
F0907 10:26:15.502685 11 main.go:208] the server could not find the requested resource
如果禁用 webhook 它工作得很好。