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

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

    [ https://issues.apache.org/jira/browse/FLINK-28725 ]


    Biao Geng deleted comment on FLINK-28725:
    -----------------------------------

was (Author: bgeng777):
Hi [~lizu18xz], the field "replicas" of task manager is introduced into CRD since 1.1.0. If your kube cluster has already installed earlier version of flink-kubernetes-operator, you may have to remove the outdated CRD manually and reinstall the newest operator. The detail of upgrade process is [here|https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-release-1.1/docs/operations/upgrade/]

Besides, in most cases, users do not need to set replica of task managers manually as it can be calculated from configs(i.e. parallelism / taskSlots).

> 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)