<@U078Y59KC3B> how can I set a serviceAccountName ...
# ask-ai
s
@RunLLM how can I set a serviceAccountName for pulsar function in kubernetes?
r
To set a
serviceAccountName
for a Pulsar function in Kubernetes, you need to configure the Kubernetes runtime for Pulsar functions. This involves specifying the
serviceAccountName
in the Kubernetes manifest for the function. According to the Pulsar documentation, you can customize the Kubernetes runtime by setting the
runtimeCustomizerClassName
in the
conf/functions-worker.yml
file and using the
customRuntimeOptions
flag to pass additional configurations, such as
serviceAccountName
. Would you like more details on how to configure this in your setup? Sources: - Pulsar documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
s
@RunLLM Can i set this in python ?
r
It seems likely that setting the
serviceAccountName
for a Pulsar function in Kubernetes is not directly related to the programming language used for the function itself, such as Python. Instead, it involves configuring the Kubernetes environment where the function runs. According to the Pulsar documentation, this is done by customizing the Kubernetes runtime settings, which are specified in configuration files like
conf/functions-worker.yml
. Would you like more detailed guidance on configuring these settings? Sources: - Pulsar documentation 👍 0 button 👎 1 button 💡 Hint: Mention @RunLLM in the thread for followups.