1,一个字段是数组,如果数组中不存在这个记录时,向数组增加一个记录。 FilterDefinitionBuilder<WorkflowDo> fd = Builders<WorkflowDo>.Filter; var f = f[......]继续阅读

2022年12月7日 0条评论 2890点热度 28人点赞 痴者工良 阅读全文

A field is an array. If this record does not exist in the array, add a record to the array. FilterDefinitionBuilder<WorkflowDo> fd[......]继续阅读

2022年12月7日 0条评论 2948点热度 28人点赞 痴者工良 阅读全文

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[......] 继续阅读

2022年11月6日 0条评论 3132点热度 0人点赞 痴者工良 阅读全文

由于新版本的 docker 跟 kubernetes 对系统有要求,因此首先要做以下操作,确保 docker、kubelet 可以正常工作。 首先修改或添加 /etc/docker/daemon.json,内容替换如下: { "registry-mirrors": ["https://94[......]继续阅读

2022年11月6日 0条评论 3146点热度 0人点赞 痴者工良 阅读全文

在 Mysql 中,批量插入自增列,是不能批量返回自增后的 Id,为了解决批量插入的问题,利用 Redis 的原子操作,实现无锁原子分配 自增 Id。 核心是在 Redis 中,保存表的最大 Id。 每次插入前,检查缓存 CacheId 跟数据库 MaxId 相比,如果 CacheId > M[......] 继续阅读

2022年8月19日 0条评论 2276点热度 0人点赞 痴者工良 阅读全文

In MySQL, batch inserting auto-increment columns cannot return the auto-incremented IDs in bulk. To solve the problem of batch insertion, we use atomi[......] 继续阅读

2022年8月19日 0条评论 296点热度 0人点赞 痴者工良 阅读全文

整体格式 大体格式定义 pipeline { // 全局环境变量 // environment { // IMAGENAME = 'webdemo' // 镜像名称 // } // Jenkins 上可以看到的参数 //[......]继续阅读

2022年6月29日 0条评论 2428点热度 2人点赞 痴者工良 阅读全文

Overall Format General format definition pipeline { // Global environment variables // environment { // IMAGENAME = 'webdemo'[......]继续阅读

2022年6月29日 0条评论 2424点热度 2人点赞 痴者工良 阅读全文

Kubernetes Logging and EFK Logging Solution This article mainly references the following two articles and integrates and translates their contents. ht[......] 继续阅读

2022年2月14日 0条评论 3328点热度 0人点赞 痴者工良 阅读全文

Kubernetes 日志 和 EFK 日志方案 本文主要参考以下两个文章,对文章内容进行翻译整合。 https://devopscube.com/kubernetes-logging-tutorial/ https://devopscube.com/setup-efk-stack-on-kuber[......] 继续阅读

2022年2月14日 0条评论 3356点热度 0人点赞 痴者工良 阅读全文

Kubernetes Monitoring When your application is deployed to Kubernetes, it becomes challenging to see what is happening inside the containers. Once a c[......] 继续阅读

2022年2月13日 0条评论 2264点热度 0人点赞 痴者工良 阅读全文

Kubernetes 监控 当你的应用部署到 Kubenetes 后,你很难看到容器内部发生了什么,一旦容器死掉,里面的数据可能就永远无法恢复,甚至无法查看日志以定位问题所在,何况一个应用可能存在很多个实例,用户的一个请求不指定被哪个容器处理了,这使得在 Kubernetes 中对应用进行故障排除较[......] 继续阅读

2022年2月13日 0条评论 2254点热度 0人点赞 痴者工良 阅读全文

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[......] 继续阅读

2022年1月24日 0条评论 342点热度 2人点赞 痴者工良 阅读全文

写什么呢 前段时间使用 C# 写了个项目,使用 Kubernetes API Server,获取信息以及监控 Kubernetes 资源,然后结合 Neting 做 API 网关。 体验地址 http://neting.whuanle.cn:30080/ 账号 admin,密码 admin123 [......] 继续阅读

2022年1月24日 0条评论 2755点热度 2人点赞 痴者工良 阅读全文

导读 CZGL.ProcessMetrics 是一个 Metrics 库,能够将程序的 GC、CPU、内存、机器网络、磁盘空间等信息记录下来,使用 Prometheus 采集信息,然后使用 Grafana 显示。 周日花了时间把这个库更新,修复了一些 Bug,增加了一些有趣的功能,支持多服务器多应用[......] 继续阅读

2021年7月18日 0条评论 2995点热度 0人点赞 痴者工良 阅读全文

Introduction CZGL.ProcessMetrics is a metrics library that records information such as GC, CPU, memory, machine network, and disk space of application[......] 继续阅读

2021年7月18日 0条评论 277点热度 0人点赞 痴者工良 阅读全文

Introduction CZGL.ProcessMetrics is a metrics library that records information about the program's GC (Garbage Collection), CPU, memory, machine netwo[......] 继续阅读

2021年7月4日 0条评论 396点热度 0人点赞 痴者工良 阅读全文

导读 CZGL.ProcessMetrics 是一个 Metrics 库,能够将程序的 GC、CPU、内存、机器网络、磁盘空间等信息记录下来,使用 Prometheus 采集信息,然后使用 Grafana 显示。 视频地址: https://www.bilibili.com/video/BV18y4[......] 继续阅读

2021年7月4日 0条评论 2995点热度 0人点赞 痴者工良 阅读全文

Remote Deployment of .NET Core/Framework to IIS via Jenkins Pipeline Introduction In this chapter, we will discuss how to compile .NET Core and .NET F[......] 继续阅读

2021年6月25日 0条评论 3365点热度 0人点赞 痴者工良 阅读全文

Jenkins 流水线远程部署 .NET Core/Framework 到 IIS 导读 在本章中,将会介绍在 Windows Jenkins 上,编译 .NET Core、.NET Framework 项目,以及远程部署到 IIS 中。 Windows 我们先在 Windows 上安装好相应的环境[......] 继续阅读

2021年6月25日 0条评论 3344点热度 0人点赞 痴者工良 阅读全文
123456