当前位置: 首页 > news >正文

中国公司网站建设方案多页网站模板

中国公司网站建设方案,多页网站模板,网站推广方式措施,反向代理服务器做wordpress外网背景 在上一个章节中已经介绍了基本的Flink-Operator安装,但是在实际的数据中台的项目中,用户可能希望看到Flink Operator的运行日志情况,当然这可以通过修改Flink-Operator POD的文件实现卷挂载的形势将日志输出到宿主机器的指定目录下,但是这种办法对数据中台的产品不是…

背景

在上一个章节中已经介绍了基本的Flink-Operator安装,但是在实际的数据中台的项目中,用户可能希望看到Flink Operator的运行日志情况,当然这可以通过修改Flink-Operator POD的文件实现卷挂载的形势将日志输出到宿主机器的指定目录下,但是这种办法对数据中台的产品不是特别友好,因此我们需要将Operator服务的日志输出到Kafka Appender中;因此我们需要修改Flink Operator的helm中的values配置文件文件,达成我们的目标.

默认情况下Flink Operator不支持Kafka Appender日志输出,为了支持改能力,需要在flink-operator的镜像编译的时候添加kafka依赖,这里小编是在flink-kubernetes-operator模块的pom.xml文件中添加如下配置

<!--kafka版本信息-->
<properties><kafka-clients.version>2.2.0</kafka-clients.version>
</properties>
...
<!--kafka clients依赖-->
<dependency><groupId>org.apache.kafka</groupId><artifactId>kafka-clients</artifactId><version>${kafka-clients.version}</version>
</dependency>

然后对flink-operator重新进行打包编译,重新发布flink-kubernetes-operator镜像即可

日志采集

可以这么理解flink-operator服务是一个flink 任务提交的客户端,在设计的时候会在提交作业的时候允许用户覆盖log4j-console.propertieslog4j-operator.properties配置文件,其中如果用户需要采集k8s作业容器的运行日志可以尝试配置log4j-console.properties配置文件,如果是希望查看flink-operator服务本身的日志需要覆盖log4j-operator.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.
################################################################################---# List of kubernetes namespaces to watch for FlinkDeployment changes, empty means all namespaces.
# When enabled RBAC is only created for said namespaces, otherwise it is done for the cluster scope.
# watchNamespaces: ["flink"]image:repository: ghcr.io/apache/flink-kubernetes-operatorpullPolicy: IfNotPresenttag: "51eeae1"# If image digest is set then it takes precedence and the image tag will be ignored# digest: ""imagePullSecrets: []# Replicas must be 1 unless operator leader election is configured
replicas: 1# Strategy type must be Recreate unless leader election is configured
strategy:type: Recreaterbac:create: true# kubernetes.rest-service.exposed.type: NodePort requires# list permission for nodes at the cluster scope.# Set create to true if you are using NodePort type.nodesRule:create: falseoperatorRole:create: truename: "flink-operator"operatorRoleBinding:create: truename: "flink-operator-role-binding"jobRole
http://www.yayakq.cn/news/670506/

相关文章:

  • 建立网站需要多少钱多少钱28湖南岚鸿给网站加个地图的代码
  • 提取网站子页面邮箱公司的网站是什么
  • 网站建设前台后台教程百度指数分析数据
  • 上海网站架设淄博安监局网站两体系建设
  • 焦作网站建设哪家专业网站域名费用交给谁
  • 网站建设买服务器价格免费建网
  • 网站改版的好处商品推广文案
  • 免费建设网站入驻深圳媒体网络推广有哪些
  • 好乐买的网站推广方式专业购物网站
  • 做的视频传到哪个网站好新昌网站开发
  • 公司网站设计与实现的项目建议书网络推广公司 深圳
  • 网站建设捌金手指花总二七报个电脑培训班多少钱
  • 怎么建立免费的网站程序员用的编程软件
  • 成都网站建设公司高新百度直播推广
  • 网站建设 洪广州市网站建设价格
  • asp 网站管理系统如何制作一个论坛网站
  • 网站建设基本流程图noren wordpress
  • 招商网站建设多少钱网站集约化建设 统一出口
  • 电子商务网站名称中型网站 收益
  • 虚拟主机空间发布网站域名注册后怎么建设网站
  • 营销型网站知识营销方法有哪几种
  • 南山做网站教程大连建设工程造价信息网
  • 电子商务网站系统规划 案例分析免费百度广告怎么投放
  • 物流查询网站开发网站的设计步骤
  • 环保行业网站开发建网站图片怎么找
  • 论坛备案 和网站备案第二章 营销型网站建设测验
  • 网站后端做留言板功能程序员 给老婆做网站
  • dede 如何做视频网站国内打开google网页的方法
  • 设计师服务平台鱼巴士有哪些网站十大网站黄页免费
  • 衡水做网站找谁title 门户网站建设招标书