本教程已加入 Istio 系列:https://istio.whuanle.cn 可观测性 Istio 集成了 Jaeger、Zipkin 和 Skywalking 等链路追踪应用,能够有效地捕获服务网格的结构,展示网络拓扑结构,并分析网格的健康状况。 这一切都得益于 Envoy 代理的实现。由于所有进出流量都需要经过 Envoy 代理,Envoy 可以捕获这些流量记录,并将其推送到相应的链路追踪系统中。这样一来,可以链路追踪系统轻松地监控和分析服务网格内的流量情况。 另外 Istio 还支持 Prometheus…

2023年7月9日 1条评论 3490点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 3, Quick Start In this chapter, we officially take the first step into learning Istio. Since the knowledge system of Istio is quite extensive, we will first quickly understand how to deploy a set of microservices using …

2023年7月9日 0条评论 1146点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 3,快速入门 在本章中,我们正式迈入学习 Istio 的第一步。因为 Istio 的知识体系是较为庞大的,因此我们可以先通过本章的入门教程快速了解如何使用 Istio 部署一套微服务,以及 Istio 核心功能的使用方法,了解 Istio 可以为微服务解决什么问题。 在本章中,我们将会学习到如何部署一套微服务、如何使用 Istio 暴露服务到集群外,并且如何使用可观测性组件监测流量和系统指标。 在后面的章节中,笔者会针对每个 Isti…

2023年7月9日 0条评论 3002点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 2. Deploy Istio In this chapter, we will introduce how to deploy Istio in Kubernetes using Helm. The installation methods for Istio can be broadly classified into two categories: the first category is installation based…

2023年7月9日 0条评论 922点热度 0人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 2,部署 Istio 在本章中,将会介绍如何在 Kubernetes 中使用 Helm 部署 Istio。 Istio 的安装方式主要有两类,第一类是基于 Kubernetes 原生集群或虚拟机的安装。另一种是基于 Azure、KubeSphere 等公私有云或 Kubernetes 管理平台上的安装。而在本章中介绍的是基于 Kubernetes 的 Helm 安装。 Istio 官网关于这两类部署方式还有很多小细节,读者可根据实际需…

2023年7月9日 0条评论 2872点热度 0人点赞 痴者工良 阅读全文

Jq is a lightweight and flexible command-line JSON processor. Official website: https://jqlang.github.io/jq/ https://jqlang.github.io/jq/manual/ Jq can parse data from JSON and replace data in field expressions to generate new JSON. For example, a JSON: { "foo…

2023年6月6日 2条评论 1416点热度 1人点赞 痴者工良 阅读全文

Jq 是一个轻量级和灵活的命令行 JSON 处理器。 官网: https://jqlang.github.io/jq/ https://jqlang.github.io/jq/manual/ Jq 可以从 JSON 中解析数据以及将数据替换到字段表达式生成新的 Json。 例如一个 JSON: {"foo": 42, "bar": "less interesting data"} 使用 jq 表达式 .foo? 提取数据,结果: 42 提取数组的 JSON [ {"name":"JSON", "good":true…

2023年6月6日 2条评论 4625点热度 1人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 1. Overview of Istio 🚩 Let's Talk About Microservices Design It seems that using Kubernetes means you have a microservice system. I've encountered many people or companies blindly worshiping Kubernetes, constantly shout…

2023年5月28日 0条评论 3005点热度 4人点赞 痴者工良 阅读全文

本教程已加入 Istio 系列:https://istio.whuanle.cn 1,Istio 概述 🚩聊聊微服务设计 似乎用上 Kubernetes ,就是微服务系统了。 碰到很多人或公司盲目崇拜 Kubernetes ,一直喊着要上 Kubernetes,但是本身既没有技术储备,也没有规划方案。想着上了 Kubernetes 之后,就会变成分布式、高性能、高逼格的微服务系统。 从经验来看,很多公司用上 Kubernetes 之后,并不会显著改善旧系统的缺点,而由于项目中充斥着大量泥球般混乱的代码、随意使用数据…

2023年5月28日 0条评论 3017点热度 4人点赞 痴者工良 阅读全文

Debezium can monitor the incremental changes of the following databases: MongoDB MySQL PostgreSQL SQL Server Oracle Db2 Cassandra Then it synchronizes the incremental data to Kafka. When the data is synchronized to Kafka, we can choose to develop our own tool …

2023年5月26日 1条评论 6923点热度 3人点赞 痴者工良 阅读全文

Debezium 可以监控以下数据的增量变化: MongoDB MySQL PostgreSQL SQL Server Oracle Db2 Cassandra 然后将增量数据同步到 Kafka。 当数据同步到 Kafka 时,我们可以选择自己研发工具读取 Kafka 的数据,然后从 Kafka 中进行数据清洗。 或者使用官方的 Kafka Connect 工具,它支持同步到 ElasticSearch 等地方。 下面来演示如何部署 Debezium。 部署 Kafka 因为 Debezium 需要将增量数据同步到…

2023年5月26日 2条评论 9207点热度 4人点赞 痴者工良 阅读全文

swagger2tsclient is not a Vue.js related library, but a tool used to convert Swagger API definition files into TypeScript client code. You can use the generated TypeScript client code with Vue.js projects to simplify interactions with back-end APIs. Here are t…

2023年5月15日 0条评论 3099点热度 1人点赞 痴者工良 阅读全文

swagger2tsclient 并不是一个 Vue.js 相关的库,而是一个用于将 Swagger API 定义文件转换为 TypeScript 客户端代码的工具。您可以将生成的 TypeScript 客户端代码与 Vue.js 项目一起使用,以简化与后端 API 的交互。以下是如何在 Vue.js 项目中使用 swagger2tsclient 的步骤: 安装 swagger2tsclient npm 包: npm install -g swagger2tsclient 在 package.json 的 scri…

2023年5月15日 0条评论 3503点热度 1人点赞 痴者工良 阅读全文

Snort is an open-source Intrusion Detection and Prevention System (IDS/IPS) used to monitor network traffic and block malicious behavior. Here are the basic usage methods for Snort: Install Snort: For Debian/Ubuntu systems, use the following command to install…

2023年5月12日 0条评论 3754点热度 0人点赞 痴者工良 阅读全文

Snort 是一款开源的入侵检测和防止系统(IDS/IPS),用于监控网络流量并阻止恶意行为。以下是 Snort 的基本使用方法: 安装 Snort: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-get install snort 对于 CentOS/RHEL 系统,首先安装 EPEL 仓库,然后使用以下命令安装: sudo yum install epel-release sudo yum install snort 配置 Snort: S…

2023年5月12日 0条评论 6497点热度 0人点赞 痴者工良 阅读全文

ClamAV is an open-source antivirus software used for detecting and removing viruses, trojans, and malware. Below are the basic usage methods for ClamAV: Install ClamAV: For Debian/Ubuntu systems, use the following commands to install: sudo apt-get update sudo …

2023年5月12日 0条评论 958点热度 1人点赞 痴者工良 阅读全文

ClamAV 是一款开源的杀毒软件,用于检测和清除病毒、木马和恶意软件。以下是 ClamAV 的基本使用方法: 安装 ClamAV: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-get install clamav clamav-daemon 对于 CentOS/RHEL 系统,使用以下命令安装: sudo yum install epel-release sudo yum install clamav clamav-update 更新病毒数…

2023年5月12日 0条评论 4863点热度 1人点赞 痴者工良 阅读全文

Fail2ban is a tool designed to prevent brute-force attacks by monitoring log files and blocking IP addresses when malicious behavior is detected. Here are the basic usage instructions for Fail2ban: Install Fail2ban: For Debian/Ubuntu systems, use the following…

2023年5月12日 0条评论 3602点热度 0人点赞 痴者工良 阅读全文

Fail2ban 是一个用于防止暴力破解的工具,可以监控日志文件,并在发现恶意行为时封锁 IP 地址。以下是 Fail2ban 的基本使用方法: 安装 Fail2ban: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-get install fail2ban 对于 CentOS/RHEL 系统,使用以下命令安装: sudo yum install epel-release sudo yum install fail2ban 配置 Fail2ba…

2023年5月12日 0条评论 4639点热度 0人点赞 痴者工良 阅读全文

Basic Knowledge In C#, there are symmetric and asymmetric encryption methods, among which RSA is the most commonly used asymmetric encryption. Due to significant changes in the encryption libraries in different .NET versions, this discussion will focus on vers…

2023年4月25日 0条评论 1392点热度 0人点赞 痴者工良 阅读全文
1789101154