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

云南建设厅网站删除微信小程序公众平台

云南建设厅网站删除,微信小程序公众平台,中文企业网站模板免费下载,书店网站建设背景 在上一个章节中已经介绍了基本的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.dtcms.com/wzjs/600623.html

相关文章:

  • 科讯cms网站管理系统kesioncms微信h5作品欣赏
  • 模板网站的好处商务网站建设实训报告1500字
  • 网站自己做服务器做效果图需要提供什么
  • 网站建设推广服务合同范本织梦做的网站首页排版错误
  • 银川建设网站幕墙配件在那个网站做推广好
  • 男女做暖暖不要钱的试看网站国家企业信用系统查询官网入口
  • 郑州第一附属医院不孕不育科搜索引擎营销seo
  • 建设网站联系方式谷歌 chrome 浏览器
  • 推广类网站网络规划设计师如何复习
  • 网站开发专业感想网站建设产品说明书
  • 53套网站源码wordpress 插件错误
  • 网站推广无锡手机怎么防止网站自动跳转
  • 大芬地铁站附近做网站自主建站是什么意思
  • 做建筑材料哪个网站好一点为什么大公司不用c 做网站
  • 电话销售做网站犯法吗园林公司网站建设费用
  • 定制做网站费用网站vip功能怎么实现
  • .net 网站开发视频教程学网站建设 赚钱
  • 手机网页及网站设计创办一个网站要多少钱
  • 网站域名需要每年续费深圳外贸企业网站建设
  • 有ip地址如何做网站厦门 公司网站建设
  • jsp如何进行购物网站开发医联体网站建设
  • 国外网站做freelancer陕西网站建设报价
  • 给客户做网站需要提供昆明seo网站
  • 国内建网站流程注册一个公司最少要多少钱
  • 南昌网站建设公司服务器热门的网站模板
  • 可以搜任何网站的浏览器个人交互式网站备案
  • dw做网站怎么加视频做网站软件dw
  • 内部网站建设的步骤过程免费视频素材库app
  • php网站开发应具备能力上海网站建设__永灿品牌建站
  • 北京海淀公司网站icp备案wordpress任意文件删除漏洞