https://flyte.org logo
#ask-the-community
Title
# ask-the-community
l

Laura Lin

10/25/2022, 1:39 AM
How do you modify k8-array plugin config? I tried adding a k8s-array at this level for
max-array-job-size
but it didn't seem to work.
k

Ketan (kumare3)

10/25/2022, 3:33 AM
What do you want to do? K8s array should be default enabled
d

Dan Rammer (hamersaw)

10/25/2022, 11:50 AM
@Laura Lin it should be done under the
plugins
config level, where were you trying? Something like:
Copy code
plugins:
  k8s-array:
    maxArrayJobSize: 7000
Also, how high are you trying to set this value?
l

Laura Lin

10/25/2022, 2:47 PM
Copy code
k8s:
      plugins:
        # -- Configuration section for all K8s specific plugins [Configuration structure](<https://pkg.go.dev/github.com/lyft/flyteplugins/go/tasks/pluginmachinery/flytek8s/config>)
        k8s:
          default-env-vars: []
          #  DEFAULT_ENV_VAR: VALUE
          default-cpus: 100m
          default-memory: 100Mi
        k8s-array:
          max-array-job-size: 10000
this is what I was trying since its yaml, I did dashes
d

Dan Rammer (hamersaw)

10/25/2022, 2:49 PM
sure, it probably should be defined with dashes, but for some reason it is defined with camel case. please let me know if this doesn't work!
5 Views