apiVersion:v1 kind:ConfigMap metadata: name:flink-config namespace:xie labels: app:flink data: flink-conf.yaml:|+ jobmanager.rpc.address: flink-jobmanager taskmanager.numberOfTaskSlots: 2 blob.server.port: 6124 jobmanager.rpc.port: 6123 taskmanager.rpc.port: 6122 queryable-state.proxy.ports: 6125 jobmanager.memory.process.size: 1600m taskmanager.memory.process.size: 1728m parallelism.default: 2 eb.upload.dir: /opt/flink/data/upload-jar web.tmpdir: /opt/flink/data/web kubernetes.cluster-id: flink-cluster high-availability: org.apache.flink.kubernetes.highavailability.KubernetesHaServicesFactory high-availability.storageDir: file:///opt/flink/data/recovery restart-strategy: fixed-delay restart-strategy.fixed-delay.attempts: 10 log4j-console.properties:|+ # 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-ddHH: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-ddHH: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