上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: crictl pull registry.cn-hangzhou.aliyuncs.com/google_containers/prometheus:latest crictl pull docker.io/library/busybox:stable-glibc crictl pull docke 阅读全文
posted @ 2025-04-07 10:15 zhaoguanhao 阅读(29) 评论(0) 推荐(0)
摘要: 一、为什么使用prometheus监控k8s集群与k8s高度集成:与k8s的组件高度集成,以获取有关Pod、容器和服务的指标数据方便查询数据:支持PromQL,一种多维的灵活查询语言,查询数据更方便简洁使用“拉”模型:通过HTTP上的拉取时间序列收集数据,相比“推”模型降低压力可扩展性强:Prome 阅读全文
posted @ 2025-04-02 10:32 zhaoguanhao 阅读(484) 评论(0) 推荐(0)
摘要: 使用官方提供的 YAML 文件来部署 Nginx Ingress Controller。 wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/baremetal/dep 阅读全文
posted @ 2025-03-19 20:20 zhaoguanhao 阅读(27) 评论(0) 推荐(0)
摘要: @echo off rem IISRESETrem timeout /t 15 for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /value') do set datetime=%%Irem for /f "tokens=2 阅读全文
posted @ 2025-02-25 14:36 zhaoguanhao 阅读(9) 评论(0) 推荐(0)
摘要: 1.安装docker apt install docker.io 2.拉取.net core依赖镜像 docker pull mcr.microsoft.com/dotnet/core/aspnet:latest 3.创建.net core3.1项目 选择docker支持,会生成dockerFile 阅读全文
posted @ 2025-02-21 17:07 zhaoguanhao 阅读(116) 评论(0) 推荐(0)
摘要: harbor是不附带任何证书的,因此默认情况下使用http来进行访问 K8S在使用harbor作为私有仓库时或生产环境下强烈建议使用https 生成证书 生产环境下,需要从CA获取证书,测试或者开发可以使用OpenSSL自己生成证书 生成私钥 # 创建证书的存储目录 mkdir /home/ssl 阅读全文
posted @ 2025-01-08 14:35 zhaoguanhao 阅读(203) 评论(0) 推荐(0)
摘要: USE [database] GO /****** Object: StoredProcedure [dbo].[bp_sys_DatabaseBackup] Script Date: 01/04/2025 18:08:44 ******/ SET ANSI_NULLS ON GO SET QUOT 阅读全文
posted @ 2025-01-04 18:22 zhaoguanhao 阅读(17) 评论(0) 推荐(0)
摘要: 在Debian 11上部署Harbor,您可以遵循以下步骤: 1.安装Docker和相关依赖: sudo apt update sudo apt install ca-certificates curl gnupg lsb-release curl -fsSL https://download.do 阅读全文
posted @ 2024-12-31 14:30 zhaoguanhao 阅读(56) 评论(0) 推荐(0)
摘要: 1、证书生成 生成密钥,采用的是des3算法 openssl genrsa -des3 -out server.key 2048 根据密钥签发申请文件CSR openssl req -new -key server.key -out server.csr#这一步主要是去除密钥的密码,便于后续部署op 阅读全文
posted @ 2024-12-31 14:22 zhaoguanhao 阅读(1110) 评论(0) 推荐(0)
摘要: use database_name; SELECT t.NAME AS TableName, p.rows AS RowCounts, SUM(a.total_pages) * 8/1024 AS TotalSpaceMB, SUM(a.used_pages) * 8/1024 AS UsedSpa 阅读全文
posted @ 2024-12-25 19:57 zhaoguanhao 阅读(12) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 14 下一页