nutritious-piano-11388
07/14/2025, 3:43 PMflyte-core
chart installable in a namespace-scoped way. Before we try to do that work, is this something that the Flyte team feels like they would support?nutritious-piano-11388
07/14/2025, 3:43 PMclean-glass-36808
07/14/2025, 3:52 PMnutritious-piano-11388
07/14/2025, 4:02 PMcluster_resource_manager
because we cannot allow Flyte to manage namespaces.
Our expectation is that we can configure Flyte to launch resources in its own namespace only - rather than using unique namespaces for each project.
I hadn't seen the namespaces
key though in there... but I am hoping that by disabling the resource manager, we just bypass that whole system.clean-glass-36808
07/14/2025, 4:10 PMcluster_resource_manager
. I think that is for further customizing the workflow resources.clean-glass-36808
07/14/2025, 4:11 PMcluster_resource_manager
you'll stil need to configure the namespace mapping configuration as that is what is used by flyteadmin
to generate the source resource (before the cluster resource manager would theoretically modify it)nutritious-piano-11388
07/14/2025, 5:57 PMclean-glass-36808
07/14/2025, 6:09 PMcool-nest-98527
07/14/2025, 11:56 PMall
(default) or a single other namespace. I’m not sure if this means the control plane would be installed in the same namespace as where tasks run, but we could try it. I’ve read that the service accounts used by Flyte will only require a Role
and RoleBinding
, not their cluster-wide equivalents in this configuration.
• propeller manager can be used with the include / exclude flyte project / domain configuration values on propeller. These were originally introduced for using propeller manager to automatically scale-out propeller. You could use this component, or if you wanted to manually manage each propeller instance (rather than having the manager handle them all) you can pass specific values for inlcude / exclude. (slack)cool-nest-98527
07/15/2025, 2:16 AMcluster_resource_manager:
enabled: false
configmap:
namespace_config:
namespace_mapping:
template: '{{ .Release.Namespace }}'
core:
propeller:
limit-namespace: '{{ .Release.Namespace }}'
domain:
domains:
- id: development
name: development
namespace: '{{ .Release.Namespace }}'
- id: staging
name: staging
namespace: '{{ .Release.Namespace }}'
- id: production
name: production
namespace: '{{ .Release.Namespace }}'
attached is a screenshot of a task pod ajx4…
running in the flyte namespace alongside the control plane. and here’s my namespaces:
$ k get namespaces | grep flyte
flyte Active 5m21s
i think it still tries to install the CRD, ClusterRole and ClusterRoleBinding, though…nutritious-piano-11388
07/15/2025, 3:06 AMnutritious-piano-11388
07/15/2025, 11:06 PMaverage-finland-92144
07/16/2025, 11:27 AMnutritious-piano-11388
07/17/2025, 2:58 PMmake helm
but it didn't fix the redis: null
thing... and each time I run it, we get a different randomly generated password (which is a behavior in helm charts that I can't stand). Would you try checking it out and seeing if you get a different make helm
output?average-finland-92144
07/17/2025, 5:32 PMmake helm
in your fork
diff --git a/deployment/sandbox/flyte_helm_generated.yaml b/deployment/sandbox/flyte_helm_generated.yaml
index 1edf46e6c..7edd98f9f 100644
--- a/deployment/sandbox/flyte_helm_generated.yaml
+++ b/deployment/sandbox/flyte_helm_generated.yaml
@@ -671,7 +671,6 @@ data:
resource_manager.yaml: |
propeller:
resourcemanager:
- redis: null
type: noop
storage.yaml: |
storage:
@@ -7185,7 +7184,7 @@ spec:
template:
metadata:
annotations:
- configChecksum: "580cd917ae7b7ed52d3100047b252b68a265175f2572a5803417473bb9e5e8d"
+ configChecksum: "fe60472a10d9e71dea69ddfa28ab9232b15b80cb3453af79354a885e1b6a93f"
average-finland-92144
07/17/2025, 5:33 PMnutritious-piano-11388
07/17/2025, 10:35 PMversion.BuildInfo{Version:"v3.18.2", GitCommit:"04cad4610054e5d546aa5c5d9c1b1d5cf68ec1f8", GitTreeState:"clean", GoVersion:"go1.24.3"}
Currently the script/generate_helm.sh
script installs a specific (v3.15.4
) version of helm, but .. if its already installed, it doesn't properly override it with an older version:
% make helm
fatal: No names found, cannot describe anything.
Makefile:130: warning: overriding commands for target `go-tidy'
boilerplate/flyte/golang_test_targets/Makefile:59: warning: ignoring old commands for target `go-tidy'
bash script/generate_helm.sh
+ echo 'Generating Helm'
Generating Helm
+ HELM_SKIP_INSTALL=false
+ '[' false '!=' true ']'
+ curl <https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3>
+ DESIRED_VERSION=v3.15.4
+ bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 11913 100 11913 0 0 75355 0 --:--:-- --:--:-- --:--:-- 75398
Helm v3.15.4 is already v3.15.4
+ helm version
version.BuildInfo{Version:"v3.18.2", GitCommit:"04cad4610054e5d546aa5c5d9c1b1d5cf68ec1f8", GitTreeState:"clean", GoVersion:"go1.24.3"}
So ... what should we do? Should I just bump the version of helm in the generate_helm script so its more modern?nutritious-piano-11388
07/17/2025, 10:35 PM