[
https://issues.apache.org/jira/browse/FLINK-29762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623986#comment-17623986
]
yuvipanda commented on FLINK-29762:
-----------------------------------
Here is the jobmanager deployment created:
{{apiVersion: apps/v1}}
{{kind: Deployment}}
{{metadata:}}
{{ annotations:}}
{{ deployment.kubernetes.io/revision: "1"}}
{{ flinkdeployment.flink.apache.org/generation: "1"}}
{{ creationTimestamp: "2022-10-25T18:31:36Z"}}
{{ generation: 1}}
{{ labels:}}
{{ app: test-flink-cluster}}
{{ component: jobmanager}}
{{ type: flink-standalone-kubernetes}}
{{ name: test-flink-cluster}}
{{ namespace: default}}
{{ resourceVersion: "14946930"}}
{{ uid: 766cdb2c-5e2d-4b27-8694-cf8ae58ea084}}
{{spec:}}
{{ progressDeadlineSeconds: 600}}
{{ replicas: 1}}
{{ revisionHistoryLimit: 10}}
{{ selector:}}
{{ matchLabels:}}
{{ app: test-flink-cluster}}
{{ component: jobmanager}}
{{ type: flink-standalone-kubernetes}}
{{ strategy:}}
{{ rollingUpdate:}}
{{ maxSurge: 25%}}
{{ maxUnavailable: 25%}}
{{ type: RollingUpdate}}
{{ template:}}
{{ metadata:}}
{{ annotations:}}
{{ flinkdeployment.flink.apache.org/generation: "1"}}
{{ creationTimestamp: null}}
{{ labels:}}
{{ app: test-flink-cluster}}
{{ component: jobmanager}}
{{ type: flink-standalone-kubernetes}}
{{ spec:}}
{{ containers:}}
{{ - args:}}
{{ - jobmanager}}
{{ command:}}
{{ - /docker-entrypoint.sh}}
{{ env:}}
{{ - name: _POD_IP_ADDRESS}}
{{ valueFrom:}}
{{ fieldRef:}}
{{ apiVersion: v1}}
{{ fieldPath: status.podIP}}
{{ image: flink:1.15}}
{{ imagePullPolicy: IfNotPresent}}
{{ name: flink-main-container}}
{{ ports:}}
{{ - containerPort: 8081}}
{{ name: rest}}
{{ protocol: TCP}}
{{ - containerPort: 6123}}
{{ name: jobmanager-rpc}}
{{ protocol: TCP}}
{{ - containerPort: 6124}}
{{ name: blobserver}}
{{ protocol: TCP}}
{{ resources:}}
{{ limits:}}
{{ cpu: 200m}}
{{ memory: 1Gi}}
{{ requests:}}
{{ cpu: 200m}}
{{ memory: 1Gi}}
{{ terminationMessagePath: /dev/termination-log}}
{{ terminationMessagePolicy: File}}
{{ volumeMounts:}}
{{ - mountPath: /opt/flink/conf}}
{{ name: flink-config-volume}}
{{ dnsPolicy: ClusterFirst}}
{{ restartPolicy: Always}}
{{ schedulerName: default-scheduler}}
{{ securityContext: {}}}
{{ serviceAccount: flink}}
{{ serviceAccountName: flink}}
{{ terminationGracePeriodSeconds: 30}}
{{ volumes:}}
{{ - configMap:}}
{{ defaultMode: 420}}
{{ items:}}
{{ - key: log4j-console.properties}}
{{ path: log4j-console.properties}}
{{ - key: flink-conf.yaml}}
{{ path: flink-conf.yaml}}
{{ name: flink-config-test-flink-cluster}}
{{ name: flink-config-volume}}
{{status:}}
{{ conditions:}}
{{ - lastTransitionTime: "2022-10-25T18:31:36Z"}}
{{ lastUpdateTime: "2022-10-25T18:31:39Z"}}
{{ message: ReplicaSet "test-flink-cluster-58cd584fdd" has successfully
progressed.}}
{{ reason: NewReplicaSetAvailable}}
{{ status: "True"}}
{{ type: Progressing}}
{{ - lastTransitionTime: "2022-10-25T18:45:34Z"}}
{{ lastUpdateTime: "2022-10-25T18:45:34Z"}}
{{ message: Deployment does not have minimum availability.}}
{{ reason: MinimumReplicasUnavailable}}
{{ status: "False"}}
{{ type: Available}}
{{ observedGeneration: 1}}
{{ replicas: 1}}
{{ unavailableReplicas: 1}}
{{ updatedReplicas: 1}}
and the configmap
{{apiVersion: v1}}
{{data:}}
{{ flink-conf.yaml: |}}
{{ blob.server.port: 6124}}
{{ kubernetes.jobmanager.annotations:
flinkdeployment.flink.apache.org/generation:1}}
{{ kubernetes.jobmanager.replicas: 1}}
{{ scheduler-mode: reactive}}
{{ "kubernetes.operator.metrics.reporter.prom.port": "9999"}}
{{ jobmanager.rpc.address: test-flink-cluster.default}}
{{ kubernetes.taskmanager.cpu: 0.2}}
{{ "prometheus.io/port": "9999"}}
{{ kubernetes.service-account: flink}}
{{ kubernetes.cluster-id: test-flink-cluster}}
{{ kubernetes.container.image: flink:1.15}}
{{ parallelism.default: 2}}
{{ kubernetes.namespace: default}}
{{ taskmanager.numberOfTaskSlots: 2}}
{{ kubernetes.rest-service.exposed.type: ClusterIP}}
{{ "prometheus.io/scrape": "true"}}
{{ taskmanager.memory.process.size: 1024m}}
{{ "kubernetes.operator.metrics.reporter.prom.class":
"org.apache.flink.metrics.prometheus.PrometheusReporter"}}
{{ web.cancel.enable: false}}
{{ execution.target: remote}}
{{ jobmanager.memory.process.size: 1024m}}
{{ taskmanager.rpc.port: 6122}}
{{ kubernetes.internal.cluster-mode: SESSION}}
{{ kubernetes.jobmanager.cpu: 0.2}}
{{ $internal.flink.version: v1_15}}
{{ log4j-console.properties: |}}
{{
################################################################################}}
{{ # Licensed to the Apache Software Foundation (ASF) under one}}
{{ # or more contributor license agreements. See the NOTICE file}}
{{ # distributed with this work for additional information}}
{{ # regarding copyright ownership. The ASF licenses this file}}
{{ # to you under the Apache License, Version 2.0 (the}}
{{ # "License"); you may not use this file except in compliance}}
{{ # with the License. You may obtain a copy of the License at}}
{{ #}}
{{ # http://www.apache.org/licenses/LICENSE-2.0}}
{{ #}}
{{ # Unless required by applicable law or agreed to in writing, software}}
{{ # distributed under the License is distributed on an "AS IS" BASIS,}}
{{ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.}}
{{ # See the License for the specific language governing permissions and}}
{{ # limitations under the License.}}
{{
################################################################################}}
{{ # This affects logging for both user code and Flink}}
{{ rootLogger.level = INFO}}
{{ rootLogger.appenderRef.console.ref = ConsoleAppender}}
{{ rootLogger.appenderRef.rolling.ref = RollingFileAppender}}
{{ # Uncomment this if you want to _only_ change Flink's logging}}
{{ #logger.flink.name = org.apache.flink}}
{{ #logger.flink.level = INFO}}
{{ # The following lines keep the log level of common libraries/connectors
on}}
{{ # log level INFO. The root logger does not override this. You have to
manually}}
{{ # change the log levels here.}}
{{ logger.akka.name = akka}}
{{ logger.akka.level = INFO}}
{{ logger.kafka.name= org.apache.kafka}}
{{ logger.kafka.level = INFO}}
{{ logger.hadoop.name = org.apache.hadoop}}
{{ logger.hadoop.level = INFO}}
{{ logger.zookeeper.name = org.apache.zookeeper}}
{{ logger.zookeeper.level = INFO}}
{{ # Log all infos to the console}}
{{ appender.console.name = ConsoleAppender}}
{{ appender.console.type = CONSOLE}}
{{ appender.console.layout.type = PatternLayout}}
{{ appender.console.layout.pattern = %d\{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c
%x - %m%n}}
{{ # Log all infos in the given rolling file}}
{{ appender.rolling.name = RollingFileAppender}}
{{ appender.rolling.type = RollingFile}}
{{ appender.rolling.append = false}}
{{ appender.rolling.fileName = ${sys:log.file}}}
{{ appender.rolling.filePattern = ${sys:log.file}.%i}}
{{ appender.rolling.layout.type = PatternLayout}}
{{ appender.rolling.layout.pattern = %d\{yyyy-MM-dd HH:mm:ss,SSS} %-5p %-60c
%x - %m%n}}
{{ appender.rolling.policies.type = Policies}}
{{ appender.rolling.policies.size.type = SizeBasedTriggeringPolicy}}
{{ appender.rolling.policies.size.size=100MB}}
{{ appender.rolling.strategy.type = DefaultRolloverStrategy}}
{{ appender.rolling.strategy.max = 10}}
{{ # Suppress the irrelevant (wrong) warnings from the Netty channel
handler}}
{{ logger.netty.name =
org.apache.flink.shaded.akka.org.jboss.netty.channel.DefaultChannelPipeline}}
{{ logger.netty.level = OFF}}
{{ # Flink Deployment Logging Overrides}}
{{ # rootLogger.level = DEBUG}}
{{kind: ConfigMap}}
{{metadata:}}
{{ creationTimestamp: "2022-10-25T18:31:36Z"}}
{{ labels:}}
{{ app: test-flink-cluster}}
{{ type: flink-standalone-kubernetes}}
{{ name: flink-config-test-flink-cluster}}
{{ namespace: default}}
{{ ownerReferences:}}
{{ - apiVersion: apps/v1}}
{{ blockOwnerDeletion: true}}
{{ controller: true}}
{{ kind: Deployment}}
{{ name: test-flink-cluster}}
{{ uid: 766cdb2c-5e2d-4b27-8694-cf8ae58ea084}}
{{ resourceVersion: "14943742"}}
{{ uid: ef1dbf21-8b85-4d0a-95be-519b1f4d8f04}}
> Can not create a standalone cluster with reactive mode using the operator
> -------------------------------------------------------------------------
>
> Key: FLINK-29762
> URL: https://issues.apache.org/jira/browse/FLINK-29762
> Project: Flink
> Issue Type: Bug
> Components: Kubernetes Operator
> Environment: Kubernetes Version 1.22 on EKS.
> Flink Operator veresion 1.2.0
> Flink Veresion 1.15 (errors in 1.14 too)
> Reporter: yuvipanda
> Priority: Major
>
> I'm trying to create a minimal running flink cluster with reactive scaling
> using the kubernetes operator (running v1.2.0), with the following YAML:
>
> {{
> kind: FlinkDeployment
> metadata:
> name: test-flink-cluster
> spec:
> flinkConfiguration:
> scheduler-mode: reactive
> flinkVersion: v1_15
> image: flink:1.15
> jobManager:
> replicas: 1
> resource:
> cpu: 0.2
> memory: 1024m
> mode: standalone
> serviceAccount: flink
> taskManager:
> replicas: 1
> resource:
> cpu: 0.2
> memory: 1024m}}
>
> However, this causes the jobmanager to crash with the following:
>
> {{sed: couldn't open temporary file /opt/flink/conf/sedLX7Jx8: Read-only file
> system}}
> {{sed: couldn't open temporary file /opt/flink/conf/sed1vva8t: Read-only file
> system}}
> {{/docker-entrypoint.sh: line 73: /opt/flink/conf/flink-conf.yaml: Read-only
> file system}}
> {{/docker-entrypoint.sh: line 89: /opt/flink/conf/flink-conf.yaml.tmp:
> Read-only file system}}
> {{Starting Job Manager}}
> {{Starting standalonesession as a console application on host
> test-flink-cluster-58cd584fdd-xwbtf.}}
> {{2022-10-25 18:32:00,422 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> --------------------------------------------------------------------------------}}
> {{2022-10-25 18:32:00,510 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> Preconfiguration: }}
> {{2022-10-25 18:32:00,512 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - }}
> {{RESOURCE_PARAMS extraction logs:}}
> {{jvm_params: -Xmx469762048 -Xms469762048 -XX:MaxMetaspaceSize=268435456}}
> {{dynamic_configs: -D jobmanager.memory.off-heap.size=134217728b -D
> jobmanager.memory.jvm-overhead.min=201326592b -D
> jobmanager.memory.jvm-metaspace.size=268435456b -D
> jobmanager.memory.heap.size=469762048b -D
> jobmanager.memory.jvm-overhead.max=201326592b}}
> {{logs: WARNING: sun.reflect.Reflection.getCallerClass is not supported. This
> will impact performance.}}
> {{INFO [] - Loading configuration property: blob.server.port, 6124}}
> {{INFO [] - Loading configuration property:
> kubernetes.jobmanager.annotations,
> flinkdeployment.flink.apache.org/generation:1}}
> {{INFO [] - Loading configuration property: kubernetes.jobmanager.replicas,
> 1}}
> {{INFO [] - Loading configuration property: scheduler-mode, reactive}}
> {{INFO [] - Loading configuration property:
> "kubernetes.operator.metrics.reporter.prom.port", "9999"}}
> {{INFO [] - Loading configuration property: jobmanager.rpc.address,
> test-flink-cluster.default}}
> {{INFO [] - Loading configuration property: kubernetes.taskmanager.cpu, 0.2}}
> {{INFO [] - Loading configuration property: "prometheus.io/port", "9999"}}
> {{INFO [] - Loading configuration property: kubernetes.service-account,
> flink}}
> {{INFO [] - Loading configuration property: kubernetes.cluster-id,
> test-flink-cluster}}
> {{INFO [] - Loading configuration property: kubernetes.container.image,
> flink:1.15}}
> {{INFO [] - Loading configuration property: parallelism.default, 2}}
> {{INFO [] - Loading configuration property: kubernetes.namespace, default}}
> {{INFO [] - Loading configuration property: taskmanager.numberOfTaskSlots,
> 2}}
> {{INFO [] - Loading configuration property:
> kubernetes.rest-service.exposed.type, ClusterIP}}
> {{INFO [] - Loading configuration property: "prometheus.io/scrape", "true"}}
> {{INFO [] - Loading configuration property: taskmanager.memory.process.size,
> 1024m}}
> {{INFO [] - Loading configuration property:
> "kubernetes.operator.metrics.reporter.prom.class",
> "org.apache.flink.metrics.prometheus.PrometheusReporter"}}
> {{INFO [] - Loading configuration property: web.cancel.enable, false}}
> {{INFO [] - Loading configuration property: execution.target, remote}}
> {{INFO [] - Loading configuration property: jobmanager.memory.process.size,
> 1024m}}
> {{INFO [] - Loading configuration property: taskmanager.rpc.port, 6122}}
> {{INFO [] - Loading configuration property:
> kubernetes.internal.cluster-mode, SESSION}}
> {{INFO [] - Loading configuration property: kubernetes.jobmanager.cpu, 0.2}}
> {{INFO [] - Loading configuration property: $internal.flink.version, v1_15}}
> {{INFO [] - The derived from fraction jvm overhead memory (102.400mb
> (107374184 bytes)) is less than its min value 192.000mb (201326592 bytes),
> min value will be used instead}}
> {{INFO [] - Final Master Memory configuration:}}
> {{INFO [] - Total Process Memory: 1024.000mb (1073741824 bytes)}}
> {{INFO [] - Total Flink Memory: 576.000mb (603979776 bytes)}}
> {{INFO [] - JVM Heap: 448.000mb (469762048 bytes)}}
> {{INFO [] - Off-heap: 128.000mb (134217728 bytes)}}
> {{INFO [] - JVM Metaspace: 256.000mb (268435456 bytes)}}
> {{INFO [] - JVM Overhead: 192.000mb (201326592 bytes)}}
> {{2022-10-25 18:32:00,514 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> --------------------------------------------------------------------------------}}
> {{2022-10-25 18:32:00,516 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Starting
> StandaloneSessionClusterEntrypoint (Version: 1.15.1, Scala: 2.12,
> Rev:f494be6, Date:2022-06-20T14:40:28+02:00)}}
> {{2022-10-25 18:32:00,516 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - OS current
> user: flink}}
> {{2022-10-25 18:32:00,517 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Current
> Hadoop/Kerberos user: <no hadoop dependency found>}}
> {{2022-10-25 18:32:00,517 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JVM:
> OpenJDK 64-Bit Server VM - Oracle Corporation - 11/11.0.16+8}}
> {{2022-10-25 18:32:00,519 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Arch:
> amd64}}
> {{2022-10-25 18:32:00,519 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Maximum
> heap size: 433 MiBytes}}
> {{2022-10-25 18:32:00,520 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JAVA_HOME:
> /usr/local/openjdk-11}}
> {{2022-10-25 18:32:00,520 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - No Hadoop
> Dependency available}}
> {{2022-10-25 18:32:00,522 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JVM
> Options:}}
> {{2022-10-25 18:32:00,523 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> -Xmx469762048}}
> {{2022-10-25 18:32:00,523 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> -Xms469762048}}
> {{2022-10-25 18:32:00,523 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> -XX:MaxMetaspaceSize=268435456}}
> {{2022-10-25 18:32:00,524 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> -Dlog.file=/opt/flink/log/flink--standalonesession-0-test-flink-cluster-58cd584fdd-xwbtf.log}}
> {{2022-10-25 18:32:00,524 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> -Dlog4j.configuration=file:/opt/flink/conf/log4j-console.properties}}
> {{2022-10-25 18:32:00,524 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> -Dlog4j.configurationFile=file:/opt/flink/conf/log4j-console.properties}}
> {{2022-10-25 18:32:00,524 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> -Dlogback.configurationFile=file:/opt/flink/conf/logback-console.xml}}
> {{2022-10-25 18:32:00,524 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Program
> Arguments:}}
> {{2022-10-25 18:32:00,526 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> --configDir}}
> {{2022-10-25 18:32:00,528 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> /opt/flink/conf}}
> {{2022-10-25 18:32:00,528 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> --executionMode}}
> {{2022-10-25 18:32:00,528 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> cluster}}
> {{2022-10-25 18:32:00,529 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D}}
> {{2022-10-25 18:32:00,529 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> jobmanager.memory.off-heap.size=134217728b}}
> {{2022-10-25 18:32:00,529 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D}}
> {{2022-10-25 18:32:00,533 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> jobmanager.memory.jvm-overhead.min=201326592b}}
> {{2022-10-25 18:32:00,533 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D}}
> {{2022-10-25 18:32:00,534 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> jobmanager.memory.jvm-metaspace.size=268435456b}}
> {{2022-10-25 18:32:00,534 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D}}
> {{2022-10-25 18:32:00,534 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> jobmanager.memory.heap.size=469762048b}}
> {{2022-10-25 18:32:00,534 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D}}
> {{2022-10-25 18:32:00,534 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> jobmanager.memory.jvm-overhead.max=201326592b}}
> {{2022-10-25 18:32:00,534 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Classpath:
> /opt/flink/lib/flink-cep-1.15.1.jar:/opt/flink/lib/flink-connector-files-1.15.1.jar:/opt/flink/lib/flink-csv-1.15.1.jar:/opt/flink/lib/flink-json-1.15.1.jar:/opt/flink/lib/flink-scala_2.12-1.15.1.jar:/opt/flink/lib/flink-shaded-zookeeper-3.5.9.jar:/opt/flink/lib/flink-table-api-java-uber-1.15.1.jar:/opt/flink/lib/flink-table-planner-loader-1.15.1.jar:/opt/flink/lib/flink-table-runtime-1.15.1.jar:/opt/flink/lib/log4j-1.2-api-2.17.1.jar:/opt/flink/lib/log4j-api-2.17.1.jar:/opt/flink/lib/log4j-core-2.17.1.jar:/opt/flink/lib/log4j-slf4j-impl-2.17.1.jar:/opt/flink/lib/flink-dist-1.15.1.jar:::}}
> {{2022-10-25 18:32:00,535 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] -
> --------------------------------------------------------------------------------}}
> {{2022-10-25 18:32:00,611 INFO
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Registered
> UNIX signal handlers for [TERM, HUP, INT]}}
> {{2022-10-25 18:32:00,635 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: blob.server.port, 6124}}
> {{2022-10-25 18:32:00,715 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.jobmanager.annotations,
> flinkdeployment.flink.apache.org/generation:1}}
> {{2022-10-25 18:32:00,716 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.jobmanager.replicas, 1}}
> {{2022-10-25 18:32:00,716 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: scheduler-mode, reactive}}
> {{2022-10-25 18:32:00,716 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: "kubernetes.operator.metrics.reporter.prom.port",
> "9999"}}
> {{2022-10-25 18:32:00,717 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: jobmanager.rpc.address, test-flink-cluster.default}}
> {{2022-10-25 18:32:00,717 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.taskmanager.cpu, 0.2}}
> {{2022-10-25 18:32:00,717 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: "prometheus.io/port", "9999"}}
> {{2022-10-25 18:32:00,717 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.service-account, flink}}
> {{2022-10-25 18:32:00,717 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.cluster-id, test-flink-cluster}}
> {{2022-10-25 18:32:00,718 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.container.image, flink:1.15}}
> {{2022-10-25 18:32:00,718 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: parallelism.default, 2}}
> {{2022-10-25 18:32:00,718 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.namespace, default}}
> {{2022-10-25 18:32:00,718 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: taskmanager.numberOfTaskSlots, 2}}
> {{2022-10-25 18:32:00,718 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.rest-service.exposed.type, ClusterIP}}
> {{2022-10-25 18:32:00,718 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: "prometheus.io/scrape", "true"}}
> {{2022-10-25 18:32:00,719 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: taskmanager.memory.process.size, 1024m}}
> {{2022-10-25 18:32:00,719 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: "kubernetes.operator.metrics.reporter.prom.class",
> "org.apache.flink.metrics.prometheus.PrometheusReporter"}}
> {{2022-10-25 18:32:00,719 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: web.cancel.enable, false}}
> {{2022-10-25 18:32:00,719 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: execution.target, remote}}
> {{2022-10-25 18:32:00,720 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: jobmanager.memory.process.size, 1024m}}
> {{2022-10-25 18:32:00,720 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: taskmanager.rpc.port, 6122}}
> {{2022-10-25 18:32:00,720 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.internal.cluster-mode, SESSION}}
> {{2022-10-25 18:32:00,720 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: kubernetes.jobmanager.cpu, 0.2}}
> {{2022-10-25 18:32:00,720 INFO
> org.apache.flink.configuration.GlobalConfiguration [] - Loading
> configuration property: $internal.flink.version, v1_15}}
> {{2022-10-25 18:32:00,924 ERROR
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Reactive
> mode is configured for an unsupported cluster type. At the moment, reactive
> mode is only supported by standalone application clusters
> (bin/standalone-job.sh).}}
> {{Exception in thread "main"
> org.apache.flink.configuration.IllegalConfigurationException: Reactive mode
> is configured for an unsupported cluster type. At the moment, reactive mode
> is only supported by standalone application clusters
> (bin/standalone-job.sh).}}
> {{ at
> org.apache.flink.runtime.entrypoint.ClusterEntrypoint.<init>(ClusterEntrypoint.java:177)}}
> {{ at
> org.apache.flink.runtime.entrypoint.SessionClusterEntrypoint.<init>(SessionClusterEntrypoint.java:39)}}
> {{ at
> org.apache.flink.runtime.entrypoint.StandaloneSessionClusterEntrypoint.<init>(StandaloneSessionClusterEntrypoint.java:32)}}
> {{ at
> org.apache.flink.runtime.entrypoint.StandaloneSessionClusterEntrypoint.main(StandaloneSessionClusterEntrypoint.java:56)}}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)