<#3762 Allow setting resources for cluster resourc...
# flyte-github
a
#3762 Allow setting resources for cluster resource controller deployment Pull request opened by katrogan Tracking issue N/A Describe your changes This change allows setting optional resource requests & limits for the cluster resource deployment Testing Modified
charts/flyte-core/values.yaml
to add a resources block and verified that running
make helm
updated the generated helm chart:
Copy code
# Source: flyte/charts/flyte/templates/clusterresourcesync/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: syncresources
  namespace: flyte
...
spec:
 ...
  template:
    metadata:
      annotations:
        configChecksum: "475154c41cdb06999025ab796aa1264fa3d235df51ac088a39c89c7ce300408"
      labels:
        <http://app.kubernetes.io/name|app.kubernetes.io/name>: flyteclusterresourcesync
        <http://app.kubernetes.io/instance|app.kubernetes.io/instance>: flyte
        <http://helm.sh/chart|helm.sh/chart>: flyte-v0.1.10
        <http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: Helm
    spec:
    ...
      serviceAccountName: flyteadmin
      resources:
          limits:
            cpu: 250m
            ephemeral-storage: 100Mi
            memory: 500Mi
          requests:
            cpu: 10m
            ephemeral-storage: 50Mi
            memory: 50Mi
      volumes:
        ...
Check all the applicable boxes ☐ I updated the documentation accordingly. ☐ All new and existing tests passed. ☐ All commits are signed-off. Screenshots N/A Note to reviewers N/A flyteorg/flyte All checks have passed 8/8 successful checks