Do you know the History of Data Science? READ MORE

Add custom configuration for kubernetes execution

Solved!
DrissiReda
Level 3
Add custom configuration for kubernetes execution

I can run dataiku jobs as kubernetes pods. I want to also add the setting:

securityContext:

   runAsNonRoot: true

 

But using "Custom properties" doesn't work. I added a property:

- spec.securityContext.runAsNonRoot ==> true

 

Anyway I could achieve this?

0 Kudos
1 Solution
fchataigner2
Dataiker
Dataiker

Hi,

on container configurations, "custom properties" are flags for use by DSS, they're not passed to Kubernetes. If you need alterations on the yaml sent to Kubernetes, only what's available in the container configuration is overridable (limits, requests, tolerations, ...).

The only way to alter the yaml sent to Kubernetes beyond what's available in the container configurations is to manually edit the yaml templates in the resources/container-exec/kubernetes/ subfolder of the DSS installation. Note that doing so obviously voids support.

 

View solution in original post

0 Kudos
1 Reply
fchataigner2
Dataiker
Dataiker

Hi,

on container configurations, "custom properties" are flags for use by DSS, they're not passed to Kubernetes. If you need alterations on the yaml sent to Kubernetes, only what's available in the container configuration is overridable (limits, requests, tolerations, ...).

The only way to alter the yaml sent to Kubernetes beyond what's available in the container configurations is to manually edit the yaml templates in the resources/container-exec/kubernetes/ subfolder of the DSS installation. Note that doing so obviously voids support.

 

View solution in original post

0 Kudos
A banner prompting to get Dataiku DSS