Hello, I am looking into Kubernetes Tasks, and eve...
# ask-community
r
Hello, I am looking into Kubernetes Tasks, and even though there is a
CreateNamespacedDeployment
task I am not sure, if it could start server based on docker image. Any suggestions?
j
Hi @Rafal do you think you could elaborate on what you are attempting to accomplish?
r
Sure Josh. I would like to deploy R-studio with cloned repo and specific dataset in one pipeline
j
Ah I see. That task takes any dictionary representation of a Kubernetes deployment yaml spec in the
body
argument so I guess however you would normally spin up rstudio on kubernetes is all you would need to pass to deploy it
r
Thanks, @josh I will try that! Do you plan to simplify this? Another way is to use directly python Kubernetes client and pass deployment yaml file there
j