openyurtio / openyurt

OpenYurt - Extending your native Kubernetes to edge(project under CNCF)

Home Page:https://openyurt.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature request]add resources configuration into yurt-manager deployment

rambohe-ch opened this issue · comments

What would you like to be added:
The following configuration has not been added into yurt-manager.yaml file under template.

resources:
limits:
cpu: 2000m
memory: 1024Mi
requests:
cpu: 100m
memory: 256Mi

please add the resource configuration into https://github.com/openyurtio/openyurt/blob/master/charts/yurt-manager/templates/yurt-manager.yaml file as following:

          readinessProbe:
            httpGet:
              path: /readyz
              port: {{ .Values.ports.healthProbe }}
            initialDelaySeconds: 60
            timeoutSeconds: 2
            periodSeconds: 10
            failureThreshold: 2
           // add begin
          {{- if .Values.resources }}
          resources: {{ toYaml .Values.resources | nindent 12 }}
          {{- end }}
          // add end
      serviceAccountName: yurt-manager

others
/kind feature

commented

/assign