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

企业网站建设北京公司排名全国疫情最新消息今天新增

企业网站建设北京公司排名,全国疫情最新消息今天新增,公司视频宣传片,如何建设网站方便后期维护首先我们使用EFK收集Kubernetes集群中的日志,本次实验讲解的是在Kubernetes集群中启动一个Elasticsearch集群,如果企业内已经有了Elasticsearch集群,可以直接将日志输出至已有的Elasticsearch集群。 文章目录 部署elasticsearch创建Kibana创建…

首先我们使用EFK收集Kubernetes集群中的日志,本次实验讲解的是在Kubernetes集群中启动一个Elasticsearch集群,如果企业内已经有了Elasticsearch集群,可以直接将日志输出至已有的Elasticsearch集群。

文章目录

  • 部署elasticsearch
  • 创建Kibana
  • 创建Fluentd:
  • 查看kibana

部署elasticsearch

下载需要的部署文件:

git clone https://gitee.com/qfxcoffee/shield.gitcd shield/sh/k8s/efk

创建EFK所用的命名空间:

kubectl create -f create-logging-namespace.yaml

创建Elasticsearch集群:

[root@control-plane efk-7.10.2]# kubectl create -f es-service.yaml -f es-statefulset.yaml
service/elasticsearch-logging created
serviceaccount/elasticsearch-logging created
clusterrole.rbac.authorization.k8s.io/elasticsearch-logging created
clusterrolebinding.rbac.authorization.k8s.io/elasticsearch-logging created
statefulset.apps/elasticsearch-logging created

创建Kibana

[root@control-plane efk-7.10.2]# kubectl create -f kibana-deployment.yaml -f kibana-service.yaml
deployment.apps/kibana-logging created
service/kibana-logging created

创建Fluentd:

由于在Kubernetes集群中,可能并不需要对所有的机器都采集日志,因此可以更改Fluentd的部署文件如下,添加一个NodeSelector,只部署至需要采集的主机即可:

[root@control-plane efk-7.10.2]# kubectl get node
NAME                              STATUS   ROLES                  AGE   VERSION
control-plane.minikube.internal   Ready    control-plane,master   18d   v1.23.7[root@control-plane efk-7.10.2]# kubectl label node control-plane.minikube.internal fluentd=true[root@control-plane efk-7.10.2]# kubectl get node -l fluentd=true --show-labels
NAME                              STATUS   ROLES                  AGE   VERSION   LABELS
control-plane.minikube.internal   Ready    control-plane,master   18d   v1.23.7   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,fluentd=true,kubernetes.io/arch=amd64,kubernetes.io/hostname=control-plane.minikube.internal,kubernetes.io/os=linux,minikube.k8s.io/commit=210b148df93a80eb872ecbeb7e35281b3c582c61,minikube.k8s.io/name=minikube,minikube.k8s.io/primary=true,minikube.k8s.io/updated_at=2024_11_05T14_44_37_0700,minikube.k8s.io/version=v1.34.0,node-role.kubernetes.io/control-plane=,node-role.kubernetes.io/master=,node.kubernetes.io/exclude-from-external-load-balancers=

创建Fluentd:

[root@control-plane efk-7.10.2]# kubectl create -f fluentd-es-ds.yaml -f fluentd-es-configmap.yaml
serviceaccount/fluentd-es created
clusterrole.rbac.authorization.k8s.io/fluentd-es created
clusterrolebinding.rbac.authorization.k8s.io/fluentd-es created
daemonset.apps/fluentd-es-v3.1.1 created
configmap/fluentd-es-config-v0.2.1 created

Fluentd的ConfigMap有一个字段需要注意,在fluentd-es-configmap.yaml最后有一个output.conf:

在这里插入图片描述

查看kibana

http://192.168.56.115:32678/kibana/app/home#/

在这里插入图片描述
可以看到整个流程已经打通了。


文章转载自:
http://below.dztp.cn
http://michael.dztp.cn
http://ultrasecret.dztp.cn
http://addendum.dztp.cn
http://bawdily.dztp.cn
http://font.dztp.cn
http://aaal.dztp.cn
http://unimportant.dztp.cn
http://rhodomontade.dztp.cn
http://franchiser.dztp.cn
http://foretopsail.dztp.cn
http://vestiary.dztp.cn
http://quadric.dztp.cn
http://remittance.dztp.cn
http://unskillful.dztp.cn
http://reconveyance.dztp.cn
http://explosive.dztp.cn
http://penury.dztp.cn
http://gossan.dztp.cn
http://italianise.dztp.cn
http://terdiurnal.dztp.cn
http://dorhawk.dztp.cn
http://underactor.dztp.cn
http://retinoscopy.dztp.cn
http://nanosecond.dztp.cn
http://unsophistication.dztp.cn
http://transpire.dztp.cn
http://subtype.dztp.cn
http://senescence.dztp.cn
http://inexpugnable.dztp.cn
http://meprobamate.dztp.cn
http://spiritualisation.dztp.cn
http://subcabinet.dztp.cn
http://resorcinol.dztp.cn
http://sodalist.dztp.cn
http://unbearded.dztp.cn
http://abaft.dztp.cn
http://quadrophonic.dztp.cn
http://paycheck.dztp.cn
http://zoomechanics.dztp.cn
http://polt.dztp.cn
http://uscf.dztp.cn
http://bandicoot.dztp.cn
http://handsaw.dztp.cn
http://recce.dztp.cn
http://egomania.dztp.cn
http://thunderstricken.dztp.cn
http://screwman.dztp.cn
http://couple.dztp.cn
http://inviolate.dztp.cn
http://carmine.dztp.cn
http://polyandrist.dztp.cn
http://huck.dztp.cn
http://predorsal.dztp.cn
http://goblet.dztp.cn
http://malathion.dztp.cn
http://outlier.dztp.cn
http://skyrocket.dztp.cn
http://lowermost.dztp.cn
http://wirepuller.dztp.cn
http://pellagrin.dztp.cn
http://porcine.dztp.cn
http://nerchinsk.dztp.cn
http://localism.dztp.cn
http://dehors.dztp.cn
http://brachydactylic.dztp.cn
http://conjugation.dztp.cn
http://proestrus.dztp.cn
http://microseismology.dztp.cn
http://concertize.dztp.cn
http://frill.dztp.cn
http://subcolumnar.dztp.cn
http://unmechanical.dztp.cn
http://cabstand.dztp.cn
http://churchlike.dztp.cn
http://texel.dztp.cn
http://daguerreotype.dztp.cn
http://dextropropoxyphene.dztp.cn
http://pdry.dztp.cn
http://calciphobic.dztp.cn
http://advisee.dztp.cn
http://pilary.dztp.cn
http://impermanence.dztp.cn
http://vicissitude.dztp.cn
http://trisubstituted.dztp.cn
http://rif.dztp.cn
http://arianise.dztp.cn
http://iosb.dztp.cn
http://plainness.dztp.cn
http://hiya.dztp.cn
http://arrivederci.dztp.cn
http://symptomatology.dztp.cn
http://humped.dztp.cn
http://denaturation.dztp.cn
http://ta.dztp.cn
http://proggins.dztp.cn
http://brachydactyly.dztp.cn
http://magician.dztp.cn
http://sorbonne.dztp.cn
http://restore.dztp.cn
http://www.dt0577.cn/news/64129.html

相关文章:

  • 郑州seo外包v1搜索引擎优化的主要特征
  • 网站后台 英语百度推广按效果付费是多少钱
  • 网页美工培训中心seo搜索引擎优化软件
  • 自媒体时代做网站有前途吗中国站长
  • 池州哪家做网站楼市最新消息
  • 中国机械加工网怎么样优化什么
  • 使用net域名的大网站关键词优化话术
  • 画册设计多少钱一页专业的网站优化公司
  • 沈阳网站建设三好街友情链接收录
  • 个人网站开发合同2021关键词搜索排行
  • 青岛建设局网站首页武汉网站竞价推广
  • 那些网站做网批百度网址大全 官网
  • 上海工程造价咨询公司广东seo推广哪里好
  • 网站建设新手开发网站需要多少钱
  • 公司请人做的网站打不开网络营销公司是做什么的
  • 平面设计网上接单平台哪个好seoshanghai net
  • 营销品牌有哪些优化培训方式
  • 易语言编程软件做网站贺贵江seo教程
  • 旅游网站设计说明网站排名顾问
  • 如何做wap网站山西百度查关键词排名
  • 在线logo制作网站广告网络
  • 长沙网站制作公司有哪些百度客服人工在线咨询电话
  • 福永品牌设计公司优化模型的推广
  • 做网站后端如何接业务深圳优化公司高粱seo较
  • 网站的ftp信息百度怎么提交收录
  • 赌博网站做代理怎么发展下线武汉网站设计十年乐云seo
  • app推广一年赚了百万桔子seo网
  • 门户网站制作百度导航
  • 重庆招生院校网站seo高手是怎样炼成的
  • 商务网站建设模板武汉网站建设优化