摘要: filebeat.inputs: - type: log #enabled: ture encoding: GB2312 paths: #- /var/log/*.log - D:\logs\*.log filebeat.config.modules: path: ${path.config}/mo 阅读全文
posted @ 2020-12-25 19:10 戒爱不戒情 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 一、安装第一台mysql:【mysql01】 1、安装前准备 (1)关闭selinux和防火墙(修改完重启服务器) # vim /etc/selinux/config SELINUX=disabled # systemctl stop firewalld; systemctl disable fir 阅读全文
posted @ 2020-11-26 09:44 戒爱不戒情 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Zabbix 地图显示全国延迟 1、 效果图 2、 实现方法 将地图.png上传到zabbix为背景,上传红绿点.png为图标。然后新建主机关联模板为ICMP Ping,新建一个拓扑图调用地图为背景,然后添加主机到地图并修改为我们上传的红绿点。这样添加全国多个点对应地图位置,就可以实现美观实用的地图 阅读全文
posted @ 2020-11-26 09:43 戒爱不戒情 阅读(519) 评论(0) 推荐(0) 编辑
摘要: 1: 安装keepalived yum install -y keepalived ipvsadm 安装keepalived和LVS管理软件ipvsadm 主机与备机都需要安装 ######修改配置文件 下面是简易配置############################### vim /etc/ 阅读全文
posted @ 2020-11-26 09:38 戒爱不戒情 阅读(153) 评论(0) 推荐(0) 编辑
摘要: # Copyright 2017 The Kubernetes Authors.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compli 阅读全文
posted @ 2020-11-26 09:37 戒爱不戒情 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: kind: ClusterRoleapiVersion: rbac.authorization.k8s.io/v1beta1metadata: name: flannelrules: - apiGroups: - "" resources: - pods verbs: - get - apiGrou 阅读全文
posted @ 2020-11-26 09:36 戒爱不戒情 阅读(1443) 评论(0) 推荐(0) 编辑
摘要: k8S 搭建集群1:修改主机名称hostnamectl --static set-hostname masterhostnamectl --static set-hostname node1hostnamectl --static set-hostname node2 2:绑定hosts192.16 阅读全文
posted @ 2020-11-26 09:35 戒爱不戒情 阅读(159) 评论(0) 推荐(0) 编辑
摘要: ########K8S搭建开始########1.准备三台机器,系统使用centos7(2核心以上 不然会出错)需要绑定一下host 172.24.16.153 k8s-master172.24.16.154 k8s-node1172.24.16.155 k8s-node22.修改机器名,每台机器修 阅读全文
posted @ 2020-11-26 09:34 戒爱不戒情 阅读(1023) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-26 09:32 戒爱不戒情 阅读(144) 评论(0) 推荐(0) 编辑
摘要: #####划分vlan##### 进入管理模式 system-view 查看vlan display vlan 创建vlan vlan 100 批量创建vlan vlan batch 100 200 进入端口 interface GigabitEthernet 0/0/1 更改端口模式 port l 阅读全文
posted @ 2020-11-26 09:29 戒爱不戒情 阅读(719) 评论(0) 推荐(0) 编辑