You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2022/07/28 06:10:00 UTC

[jira] [Commented] (FLINK-28725) flink-kubernetes-operator taskManager: replicas: 2 error

    [ https://issues.apache.org/jira/browse/FLINK-28725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17572249#comment-17572249 ] 

Yang Wang commented on FLINK-28725:
-----------------------------------

You need to upgrade the CRD if you want to use the replicas.

 

https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-release-1.1/docs/operations/upgrade/#1-upgrading-the-crd

> flink-kubernetes-operator taskManager:     replicas: 2 error
> ------------------------------------------------------------
>
>                 Key: FLINK-28725
>                 URL: https://issues.apache.org/jira/browse/FLINK-28725
>             Project: Flink
>          Issue Type: Bug
>            Reporter: lizu18xz
>            Priority: Major
>
> version:v1.1.0
>  
> taskManager:
>     replicas: 2
>     resource:
>       memory: "1024m"
>       cpu: 1
>  
> error validating data: ValidationError(FlinkDeployment.spec.taskManager): unknown field "replicas" in org.apache.flink.v1beta1.FlinkDeployment.spec.taskManager; if you choose to ignore these errors, turn validation off with --validate=false



--
This message was sent by Atlassian Jira
(v8.20.10#820010)