victorious-jelly-28729
05/14/2025, 7:22 AMjolly-florist-66728
05/14/2025, 7:22 AMvictorious-jelly-28729
05/14/2025, 7:27 AMjolly-florist-66728
05/14/2025, 7:27 AMconfiguration:
inline:
namespace_mapping:
template: "{{ project }}"
This will ensure that when you create a project (e.g., xyz), Flyte will use the namespace xyz for all domains, instead of xyz-development, xyz-production, etc. For more details, see the logic in namespace.go and related discussions in issue #1583.
Sources:
- namespace.go
- issue #1583 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.victorious-jelly-28729
05/14/2025, 7:33 AMconfiguration:
inline:
namespace_mapping:
template: "{{ project }}"
add this in flyte-admin-base-config ??jolly-florist-66728
05/14/2025, 7:33 AMnamespace_mapping.template
configuration under the appropriate section in your FlyteAdmin config, such as flyte-admin-base-config
. This will instruct Flyte to use only the project name (e.g., xyz) as the namespace, instead of the default project-domain pattern. See namespace.go for how the template is used.
Make sure to restart FlyteAdmin after making this change for it to take effect. Would you like a sample YAML snippet for this config?
Sources:
- namespace.go 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.victorious-jelly-28729
05/14/2025, 7:35 AMjolly-florist-66728
05/14/2025, 7:35 AMserver.yaml
. Instead, you should add it in a separate section called namespace_config.yaml
within your FlyteAdmin configmap (e.g., flyte-admin-base-config
). The data sources show that namespace_mapping.template
is configured in its own YAML file or section, not under server.yaml
(flyte_helm_generated.yaml).
For example:
namespace_mapping:
template: "{{ project }}"
Place this in namespace_config.yaml
or the corresponding section in your configmap, not inside server.yaml
. Would you like more detail on how to structure your configmap?
Sources:
- flyte_helm_generated.yaml 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.victorious-jelly-28729
05/14/2025, 7:59 AMnamespace_mapping:
template: "{{ project }}"
jolly-florist-66728
05/14/2025, 7:59 AMnamespace_mapping.yaml
with the following content:
namespace_mapping:
template: "{{ project }}"
This will configure Flyte to use only the project name as the namespace. Make sure this file is referenced or merged into your FlyteAdmin configmap so FlyteAdmin loads it, as shown in namespace.go.
Sources:
- namespace.go 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.victorious-jelly-28729
05/14/2025, 8:29 AMjolly-florist-66728
05/14/2025, 8:29 AMdatacatalog
pod (specifically the run-migrations
container) is missing limits.cpu
and limits.memory
settings. You need to set both CPU and memory limits for all containers in your Helm values or deployment YAML. See the resource section in datacatalog deployment for the correct place to add these.
Would you like a sample values.yaml snippet to resolve this?
Sources:
- datacatalog deployment 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.victorious-jelly-28729
05/14/2025, 8:38 AMjolly-florist-66728
05/14/2025, 8:38 AMvalues.yaml
under the datacatalog
section to ensure both the main and run-migrations
containers have CPU and memory limits:
datacatalog:
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 100m
memory: 100Mi
This will set the required resource limits and requests for all containers in the datacatalog deployment, satisfying the ResourceQuota. For reference, see the datacatalog deployment template.
Sources:
- https://github.com/flyteorg/flyte/blob/master/charts/flyte-core/values-keycloak-idp-flyteclients-without-browser.yaml
- https://github.com/flyteorg/flyte/pull/3762 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.