本教程已加入 Istio 系列:https://istio.whuanle.cn 1,Istio 概述 🚩聊聊微服务设计 似乎用上 Kubernetes ,就是微服务系统了。 碰到很多人或公司盲目崇拜 Kubernetes ,一直喊着要上 Kubernetes,但是本身既没有技术储备,也没有规划方案[......] 继续阅读
本教程已加入 Istio 系列:https://istio.whuanle.cn 1,Istio 概述 🚩聊聊微服务设计 似乎用上 Kubernetes ,就是微服务系统了。 碰到很多人或公司盲目崇拜 Kubernetes ,一直喊着要上 Kubernetes,但是本身既没有技术储备,也没有规划方案[......] 继续阅读
本教程已加入 Istio 系列:https://istio.whuanle.cn 1. Overview of Istio 🚩 Let's Talk About Microservices Design It seems that using Kubernetes means you have a[......] 继续阅读
由于新版本的 docker 跟 kubernetes 对系统有要求,因此首先要做以下操作,确保 docker、kubelet 可以正常工作。 首先修改或添加 /etc/docker/daemon.json,内容替换如下: { "registry-mirrors": ["https://94[......]继续阅读
Due to the requirements of the new versions of Docker and Kubernetes for the system, the following operations must first be performed to ensure that D[......] 继续阅读
Kubernetes 日志 和 EFK 日志方案 本文主要参考以下两个文章,对文章内容进行翻译整合。 https://devopscube.com/kubernetes-logging-tutorial/ https://devopscube.com/setup-efk-stack-on-kuber[......] 继续阅读
Kubernetes Logging and EFK Logging Solution This article mainly references the following two articles and integrates and translates their contents. ht[......] 继续阅读
Kubernetes 监控 当你的应用部署到 Kubenetes 后,你很难看到容器内部发生了什么,一旦容器死掉,里面的数据可能就永远无法恢复,甚至无法查看日志以定位问题所在,何况一个应用可能存在很多个实例,用户的一个请求不指定被哪个容器处理了,这使得在 Kubernetes 中对应用进行故障排除较[......] 继续阅读
Kubernetes Monitoring When your application is deployed to Kubernetes, it becomes challenging to see what is happening inside the containers. Once a c[......] 继续阅读
What to Write Not long ago, I wrote a project using C#, which utilizes the Kubernetes API Server to retrieve information and monitor Kubernetes resour[......] 继续阅读
写什么呢 前段时间使用 C# 写了个项目,使用 Kubernetes API Server,获取信息以及监控 Kubernetes 资源,然后结合 Neting 做 API 网关。 体验地址 http://neting.whuanle.cn:30080/ 账号 admin,密码 admin123 [......] 继续阅读
目录 Kubectl Command Overview Installing Kubernetes-Dashboard RESTful API Authentication Annotations Pod YAML Structure Configuration Kubectl Command[......] 继续阅读
目录 Kubectl 命令大全 安装 Kubernetes-Dashboard RESTful API 鉴权 注解 Pod YAML 结构 配置 Kubectl 命令大全 在前面,我们学习到了一些 Kubernetes 知识,现在列出 kubectl 的所有命令以及其缩写形式,供翻阅查询。 ku[......] 继续阅读
Table of Contents Update Rollout Rollback Scale Deployment Direct Set Pod Horizontal Autoscaling Proportional Scaling Pause Deployment Rollout This[......] 继续阅读
目录 更新 上线 会滚 缩放 Deployment 直接设置 Pod 水平自动缩放 比例缩放 暂停 Deployment 上线 本篇内容讨论 Pod 的更新和回滚,内容不多。 更新 打开 https://hub.docker.com/_/nginx 可以查询 nginx 的镜像版本,我们可以[......] 继续阅读
Table of Contents Srevice Creation and Phenomenon of Service Service Definition Endpoint Slices Creating Endpoint and Service Service Creating Appli[......] 继续阅读
目录 Srevice Service 的创建及现象 Service 定义 Endpoint slices 创建 Endpoint、Service Service 创建应用 创建 Endpoint 浅入Kubernetes(8):外网访问集群 中已经介绍过部署一个 Deployment 和 S[......] 继续阅读
目录 标签和nodeSelector 标签选择 亲和性和反亲和性 污点和容忍度 系统默认污点 容忍度 DaemonSet 在前面的学习中,我们学到了 Deployment 部署,以及副本数(ReplicaSet),但是 Pod 部署到哪个 Worker 节点是随机,即使有 3个 Woker 和设[......] 继续阅读
目录 Labels and nodeSelector Label Selection Affinity and Anti-Affinity Taints and Tolerations Default System Taints Tolerations DaemonSet In our prev[......] 继续阅读
本篇主要介绍 Kubernetes 中的架构组成,在前面我们已经学习到了 kubeadm、kubectl,这两个命令行工具是 k8s 组成之一。而前面在搭建集群时,也学到了 master、worker 节点;第一篇第二篇中也提前介绍了一些 k8s 的概念,这篇将会对这些 k8s 中关键的组件或结构组[......] 继续阅读
This article mainly introduces the architectural components of Kubernetes. Previously, we have learned about kubeadm and kubectl, which are two comman[......] 继续阅读