_helper.tpl
{{- define "fluentd-config" -}}
image: {{ .Values.fluentd.kinesis_image }}
resources:
limits:
memory: 200Mi
requests:
cpu: 100m
memory: 200Mi
{{- end -}}
部署.yaml
- name: log-agent
{{ include "fluentd-configuration" . | indent 2 }}
但是我遇到了以下错误消息
Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(Deployment.spec): unknown field "resources" in io.k8s.api.apps.v1.DeploymentSpec
请告诉我为什么我得到那个。谢谢。