上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 1.用create命令生成,适合部署新项目 kubectl create deployment web --image=nginx:1.14 -o yaml --dry-run> my-deploy.yaml 2.用户get命令导出,适合部署类似项目 kubectl get my-deploy/ng 阅读全文
posted @ 2020-07-02 10:14 caonw 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 1、创建 kubectl run nginx --replicas=3 --image=nginx:1.14 --port=80 kubectl get deploy,pods 2、发布 kubectl expose deployment nginx --port=80 --type=NodePor 阅读全文
posted @ 2020-07-02 10:03 caonw 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1.登录nexus 默认用户名和密码 admin admin123 2.点击上图配置图标 3.点击blob Stores 4.点击 create blob store 填写name 点击创建存储空间 5.创建仓库 hosted(私有仓库):用于发布个人开发的npm组件proxy(代理仓库):可以代理 阅读全文
posted @ 2020-06-30 10:16 caonw 阅读(3478) 评论(0) 推荐(0) 编辑
摘要: npm 为了安全禁止使用root用户或者sudo来安装node-sass,切换到普通用户就可以了,或者添加 --unsafe-perm 参数。-g 全局 npm install --unsafe-perm -g node-sass 修改npm源 npm config set registry htt 阅读全文
posted @ 2020-06-28 16:41 caonw 阅读(6203) 评论(0) 推荐(0) 编辑
摘要: 1. 生产端的配置文件 producer.properties #指定kafka节点列表,用于获取metadata,不必全部指定 #需要kafka的服务器地址,来获取每一个topic的分片数等元数据信息。 metadata.broker.list=kafka01:9092,kafka02:9092, 阅读全文
posted @ 2020-06-22 10:12 caonw 阅读(213) 评论(0) 推荐(0) 编辑
摘要: filebeat.yaml filebeat.prospectors: - input_type: log paths: - /var/log/messages output.kafka: hosts: ["10.23.215.95:9092","10.23.215.96:9092","10.23. 阅读全文
posted @ 2020-06-19 09:23 caonw 阅读(2666) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-06-17 11:26 caonw 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.安装ntp服务端 [root@kafka1 ~]# yum install ntp -y 2.修改配置 cat /etc/ntp.conf driftfile /var/lib/ntp/drift restrict default nomodify notrap nopeer noquery r 阅读全文
posted @ 2020-06-12 21:12 caonw 阅读(778) 评论(0) 推荐(0) 编辑
摘要: 报错: Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from position > f 阅读全文
posted @ 2020-06-12 10:59 caonw 阅读(271) 评论(0) 推荐(0) 编辑
摘要: [root@monitor prometheus]# curl -XPOST localhost:9090/-/reloadLifecycle API is not enabled. 添加--web.enable-lifecycle 阅读全文
posted @ 2020-06-11 14:01 caonw 阅读(4662) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页