cckellogg commented on issue #3090: kubernetes create function silently fails when broker/worker does not have the right permissions URL: https://github.com/apache/pulsar/issues/3090#issuecomment-442656790 stack trace: 23:51:57.621 [FunctionActionerThread] INFO org.apache.pulsar.functions.runtime.RuntimeSpawner - public/default/reverse--1 RuntimeSpawner starting function 23:51:58.422 [FunctionActionerThread] INFO org.apache.pulsar.functions.runtime.KubernetesRuntime - Submitting the following service to k8 {"metadata":{"name":"pf-public-default-reverse"},"spec":{"clusterIP":"None","ports":[{"name":"grpc","port":9093,"protocol":"TCP"}],"selector":{"app":"streamlio","namespace":"default","tenant":"public"}}} 23:51:58.422 [pulsar-load-manager-6-1] INFO org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl - Only 1 broker available: no load shedding will be performed 23:52:01.026 [FunctionActionerThread] ERROR org.apache.pulsar.functions.runtime.KubernetesRuntime - Error creating Service for function public/default/reverse:- Forbidden 23:52:01.026 [FunctionActionerThread] INFO org.apache.pulsar.functions.worker.FunctionActioner - public/default/reverse Error starting function java.lang.IllegalStateException: Forbidden at org.apache.pulsar.functions.runtime.KubernetesRuntime.submitService(KubernetesRuntime.java:330) ~[org.apache.pulsar-pulsar-functions-runtime-2.2.0-streamlio-29.jar:2.2.0-streamlio-29] at org.apache.pulsar.functions.runtime.KubernetesRuntime.start(KubernetesRuntime.java:201) ~[org.apache.pulsar-pulsar-functions-runtime-2.2.0-streamlio-29.jar:2.2.0-streamlio-29] at org.apache.pulsar.functions.runtime.RuntimeSpawner.start(RuntimeSpawner.java:78) ~[org.apache.pulsar-pulsar-functions-runtime-2.2.0-streamlio-29.jar:2.2.0-streamlio-29] at org.apache.pulsar.functions.worker.FunctionActioner.startFunction(FunctionActioner.java:185) ~[org.apache.pulsar-pulsar-functions-worker-2.2.0-streamlio-29.jar:2.2.0-streamlio-29] at org.apache.pulsar.functions.worker.FunctionActioner.lambda$new$0(FunctionActioner.java:100) ~[org.apache.pulsar-pulsar-functions-worker-2.2.0-streamlio-29.jar:2.2.0-streamlio-29] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
