提交 0dcdef6c 编写于 作者: 徐晓伟's avatar 徐晓伟

📝 删除极狐,使用framagit

上级 f661d6fa
......@@ -99,7 +99,7 @@
- [Gitee Pages](https://xuxiaowei-com-cn.gitee.io/gitlab-k8s)
- [GitHub Pages](https://xuxiaowei-com-cn.github.io/gitlab-k8s)
- Repository
- [JiHuLab](https://jihulab.com/xuxiaowei-com-cn/gitlab-k8s)
- [framagit](https://framagit.org/xuxiaowei-com-cn/gitlab-k8s)
- [Gitee](https://gitee.com/xuxiaowei-com-cn/gitlab-k8s)
- [GitCode](https://gitcode.net/xuxiaowei-com-cn/gitlab-k8s)
- [GitLink](https://gitlink.org.cn/xuxiaowei-com-cn/gitlab-k8s)
......@@ -115,7 +115,7 @@ git remote add gitee https://gitee.com/xuxiaowei-com-cn/gitlab-k8s.git
git remote add gitlab https://gitlab.com/xuxiaowei-com-cn/gitlab-k8s.git
git remote add jihulab https://jihulab.com/xuxiaowei-com-cn/gitlab-k8s.git
git remote add framagit https://framagit.org/xuxiaowei-com-cn/gitlab-k8s.git
git remote add github https://github.com/xuxiaowei-com-cn/gitlab-k8s.git
......
......@@ -16,16 +16,16 @@ sidebar_position: 1
2. GitLab Pages 运行环境需要 Docker
3. 开始使用 Containerd
1. [github](https://github.com/containerd/containerd/blob/main/docs/getting-started.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/getting-started.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/getting-started.md)
4. Containerd 配置 Docker 加速镜像
1. [github](https://github.com/containerd/containerd/blob/main/docs/cri/registry.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/registry.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/registry.md)
5. crictl 用户指南
1. [GitHub](https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md)
6. Containerd hosts 配置
1. [GitHub](https://github.com/containerd/containerd/blob/main/docs/hosts.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/hosts.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/hosts.md)
## 视频演示
......
......@@ -362,7 +362,7 @@ sudo systemctl start docker.service
- docker 镜像的源码
1. https://github.com/xuxiaowei-com-cn/nginx
2. https://gitee.com/xuxiaowei-com-cn/nginx
3. https://jihulab.com/xuxiaowei-com-cn/nginx
3. https://framagit.org/xuxiaowei-com-cn/nginx
```shell
docker run \
......@@ -372,7 +372,7 @@ docker run \
-p 1080:80 -p 1443:443 \
-v /etc/localtime:/etc/localtime \
-v /logs/docker/nginx:/var/log/nginx/ \
--name nginx-1.25.2 registry.jihulab.com/xuxiaowei-com-cn/nginx:1.25.2-host.access.log
--name nginx-1.25.2 registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/nginx:1.25.2-host.access.log
```
- Filebeat 收集数据的日志
......
......@@ -21,7 +21,7 @@ GitLab artifacts(流水线产物)使用对象储存 S3(MinIO)
2. S3 对象储存使用的是 MinIO
3.
示例项目:[my-vue-app](https://jihulab.com/xuxiaowei-com-cn/my-vue-app)
示例项目:[my-vue-app](https://framagit.org/xuxiaowei-com-cn/my-vue-app)
## 配置
......
......@@ -22,7 +22,7 @@ GitLab pages(静态页面相关文件)使用对象储存 S3(MinIO)
1. GitLab 使用的版本是 15.11.2
2. S3 对象储存使用的是 MinIO
3. 示例项目:[my-vue-app](https://jihulab.com/xuxiaowei-com-cn/my-vue-app)
3. 示例项目:[my-vue-app](https://framagit.org/xuxiaowei-com-cn/my-vue-app)
## 配置
......
......@@ -22,7 +22,7 @@ GitLab Docker 私库开启配置与使用方式
## 说明
1.[GitLab](https://jihulab.com/)
1.[GitLab](https://gitlab.com/)
商业 GitLab 中可直接使用
2. 如果是自建 GitLab,需要配置 GitLab 容器镜像库的域名(https/SSL)才能使用(docker 镜像仓库需要使用
https),如果没有配置,则不能访问 `项目地址/container_registry`(页面会返回 404)
......
......@@ -10,7 +10,7 @@ GitLab Maven 私库使用方式
## 配置(以Maven为例)
- 示例项目 [my-maven-app](https://jihulab.com/xuxiaowei-com-cn/my-maven-app)
- 示例项目 [my-maven-app](https://framagit.org/xuxiaowei-com-cn/my-maven-app)
1. 身份认证(以下顺序为官方文档的顺序,选择一个适合自己的即可)
1. 在 Maven 中使用个人访问令牌进行身份验证
......@@ -63,7 +63,7 @@ GitLab Maven 私库使用方式
3. 使用 Maven 中的 CI 作业令牌进行身份验证
- `settings.xml` 文件中的配置如下
- 此处使用的是 GitLab Runner 流水线发布 jar 包(其他方式发布时的命令雷同)
- 示例项目 [my-maven-app](https://jihulab.com/xuxiaowei-com-cn/my-maven-app) 中使用自定义 `settings.xml`
- 示例项目 [my-maven-app](https://framagit.org/xuxiaowei-com-cn/my-maven-app) 中使用自定义 `settings.xml`
文件名为 `settings-jihulab.xml`,并在其中增加了国内Maven仓库代理,用于加速依赖下载,发布命令
- 仅发布二进制:`mvn clean -U package deploy -DskipTests -s settings-jihulab.xml`
- 发布二进制、源码:`mvn clean -U package source:jar deploy -DskipTests -s settings-jihulab.xml`
......@@ -98,7 +98,7 @@ GitLab Maven 私库使用方式
<!-- 固定值,与 settings.xml 中的 server id 相同,否则私有仓库无法匹配到秘钥发布 -->
<id>gitlab-maven</id>
<!-- 其中数字为项目ID,访问项目地址即可看到 -->
<!--<url>https://jihulab.com/api/v4/projects/126877/packages/maven</url>-->
<!--<url>https://framagit.org/api/v4/projects/103303/packages/maven</url>-->
<!-- 使用环境变量 CI_PROJECT_ID 替换项目ID -->
<!-- 使用环境变量 CI_API_V4_URL 替换 GitLab API 接口地址 -->
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
......@@ -107,7 +107,7 @@ GitLab Maven 私库使用方式
<!-- 固定值,与 settings.xml 中的 server id 相同,否则私有仓库无法匹配到秘钥发布 -->
<id>gitlab-maven</id>
<!-- 其中数字为项目ID,访问项目地址即可看到 -->
<!--<url>https://jihulab.com/api/v4/projects/126877/packages/maven</url>-->
<!--<url>https://framagit.org/api/v4/projects/103303/packages/maven</url>-->
<!-- 使用环境变量 CI_PROJECT_ID 替换项目ID -->
<!-- 使用环境变量 CI_API_V4_URL 替换 GitLab API 接口地址 -->
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
......@@ -131,4 +131,4 @@ GitLab Maven 私库使用方式
</repositories>
```
4. 发布的Jar包可以在 [软件包库](https://jihulab.com/xuxiaowei-com-cn/my-maven-app/-/packages) 中看到
4. 发布的Jar包可以在 [软件包库](https://framagit.org/xuxiaowei-com-cn/my-maven-app/-/packages) 中看到
......@@ -16,7 +16,7 @@ sidebar_position: 5
2. [Docker-in-Docker](https://docs.gitlab.cn/jh/ci/docker/using_docker_build.html#%E4%BD%BF%E7%94%A8-docker-in-docker)
3. [使用 Docker 套接字绑定](https://docs.gitlab.cn/jh/ci/docker/using_docker_build.html#%E4%BD%BF%E7%94%A8-docker-%E5%A5%97%E6%8E%A5%E5%AD%97%E7%BB%91%E5%AE%9A)
## [示例](https://jihulab.com/xuxiaowei-com-cn/docker-in-docker)
## [示例](https://framagit.org/xuxiaowei-com-cn/docker-in-docker)
### 示例1:使用 docker 命令构建docker镜像
......
......@@ -9,7 +9,7 @@ GitLab Runner CI/CD 使用 shell 执行器时,git 版本过低的问题
## 说明
- [gitcode](https://gitcode.net/) 是从 gitlab-ce v13.7 更改来的
- [jihulab](https://jihulab.com/) 是中国版 gitlab
- [framagit](https://framagit.org/)
## 分析解决
......
......@@ -282,7 +282,7 @@ GitLab Runner 配置 Kubernetes(k8s)执行器运行流水线
privileged = true
```
[使用 docker.sock 端口 示例](https://jihulab.com/mirrors-gitee/log4j/pig/-/blob/xuxiaowei/k8s/.gitlab-ci.yml)
[使用 docker.sock 端口 示例](https://framagit.org/mirrors-gitee/log4j/pig/-/blob/xuxiaowei/k8s/.gitlab-ci.yml)
```yaml
stages:
......
......@@ -16,10 +16,9 @@ sidebar_position: 1
## 说明
1. 极狐GitLab 是国内版的 GitLab,与 GitLab 相同,都提供代码托管与软件安装镜像
2. [极狐GitLab](https://jihulab.com)
3. 本文以 GitLab EE 为例(非极狐GitLab)
4. **本文使用的域名是IP 192.168.80.14(原因:如果使用域名,必须拥有这个域名的所有权,并增加解析才可以,要不然在 Docker
1. [FramaGit](https://framagit.org)
2. 本文以 GitLab EE 为例
3. **本文使用的域名是IP 192.168.80.14(原因:如果使用域名,必须拥有这个域名的所有权,并增加解析才可以,要不然在 Docker
容器中,无法使用域名检出代码,因为根据域名找不到DNS记录)**
## 安装 GitLab
......
......@@ -39,5 +39,3 @@ sidebar_position: 1
gitlab-jh(极狐版),后期有需要直接购买即可,不用担心从gitlab-ce(社区版)版本升级的问题(安装 gitlab-jh、gitlab-ee
不购买授权,默认使用社区版的功能)
5. 极狐gitlab 是一家国内的公司,gitlab 官方以技术入股的形式参股
6. 极狐gitlab [https://jihulab.com/](https://jihulab.com/) 是国内版的 gitlab,速度快,**目前开源项目流水线不受时长限制**
(gitlab 官方开源对于个人、群组都是每个月400分钟免费额度)。
......@@ -40,10 +40,10 @@ sidebar_position: 1
5. Helm
1. 仓库
1. [GitHub](https://github.com/helm/helm)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/helm/helm)
2. [作者镜像仓库](https://framagit.org/mirrors-github/helm/helm)
2. 历史发布
1. [GitHub](https://github.com/helm/helm/releases)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/helm/helm/-/tags)
2. [作者镜像仓库](https://framagit.org/mirrors-github/helm/helm/-/tags)
6. [Helm版本支持策略](https://helm.sh/zh/docs/topics/version_skew/)(2023-06-26 更新)
本文以 k8s 1.26.6、helm 3.12.3 为例
......
......@@ -33,4 +33,4 @@ sidebar_position: 1
- [Gitee Pages](https://xuxiaowei-com-cn.gitee.io/gitlab-k8s)
- [GitHub Pages](https://xuxiaowei-com-cn.github.io/gitlab-k8s)
- [个人域名](https://gitlab-k8s.xuxiaowei.com.cn)
- <a href="https://jihulab.com/xuxiaowei-com-cn/k8s.sh"><strong><font color="red">Kubernetes(k8s)全自动安装配置脚本</font></strong></a>
- <a href="https://framagit.org/xuxiaowei-com-cn/k8s.sh"><strong><font color="red">Kubernetes(k8s)全自动安装配置脚本</font></strong></a>
......@@ -10,10 +10,10 @@ sidebar_position: 2
1. alibaba-cloud-csi-driver 仓库
1. [GitHub](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver)
2. alibaba-cloud-csi-driver 中文介绍
1. [GitHub](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/blob/master/README-zh_CN.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/blob/master/README-zh_CN.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/blob/master/README-zh_CN.md)
3. 阿里云CSI插件实现了在Kubernetes中对阿里云云存储卷的生命周期管理,支持动态创建、挂载、使用云数据卷。
4. 当前的CSI实现基于K8S 1.14以上的版本
3. OSS CSI 插件支持为应用负载挂载阿里云 OSS Bucket,目前不支持动态创建 OSS Bucket。OSS
......@@ -22,7 +22,7 @@ sidebar_position: 2
5. OSS存储是一种共享存储,可以同时被多个应用负载使用(ReadWriteMany)
6. OSS CSI 插件更多详细说明
1. [GitHub](https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/blob/master/docs/oss.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/blob/master/docs/oss.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/blob/master/docs/oss.md)
7. [使用OSS静态存储卷](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/mount-a-statically-provisioned-oss-volume-1)
## 说明
......@@ -37,10 +37,10 @@ sidebar_position: 2
```shell
ALIBABA_CLOUD_CSI_DRIVER_VERSION=1.2.0
curl -LO https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/csi-driver.yaml
curl -LO https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/csi-plugin.yaml
curl -LO https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/csi-provisioner.yaml
curl -LO https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/rbac.yaml
curl -LO https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/csi-driver.yaml
curl -LO https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/csi-plugin.yaml
curl -LO https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/csi-provisioner.yaml
curl -LO https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/deploy/nonecs/rbac.yaml
kubectl apply -f csi-driver.yaml
kubectl apply -f csi-plugin.yaml
......@@ -100,7 +100,7 @@ sidebar_position: 2
```shell
# ALIBABA_CLOUD_CSI_DRIVER_VERSION=1.2.0
# curl -LO https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/examples/oss/pv.yaml
# curl -LO https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/examples/oss/pv.yaml
cat > pv-oss.yaml << EOF
apiVersion: v1
......@@ -140,7 +140,7 @@ sidebar_position: 2
```shell
# ALIBABA_CLOUD_CSI_DRIVER_VERSION=1.2.0
# curl -LO https://jihulab.com/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/examples/oss/pvc.yaml
# curl -LO https://framagit.org/mirrors-github/kubernetes-sigs/alibaba-cloud-csi-driver/-/raw/v$ALIBABA_CLOUD_CSI_DRIVER_VERSION/examples/oss/pvc.yaml
cat > pvc-oss.yaml << EOF
apiVersion: v1
......
......@@ -9,20 +9,20 @@ Kubernetes(k8s)Dashboard 安装
3. 不同 Kubernetes Dashboard 支持的 Kubernetes 版本不同,可查看 Kubernetes Dashboard
发版日志中的说明:https://github.com/kubernetes/dashboard/releases
,下面列举最近几版的版本支持(仅列举了 **完全支持的版本范围**
4. **国内 JiHuLab 个人镜像仓库**
1. https://jihulab.com/mirrors-github/kubernetes/dashboard
4. **作者镜像仓库**
1. https://framagit.org/mirrors-github/kubernetes/dashboard
5. 需要 [安装 Metrics Server](../k8s/metrics-server-install.md) 才能查看资源(内存、CPU)使用情况
6. 使用网址如下:只需要换一下标签名
1. https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.7.0/aio/deploy/recommended.yaml
1. https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.7.0/aio/deploy/recommended.yaml
| Kubernetes Dashboard 版本 | Kubernetes 版本 | 使用 GitHub 官方仓库文件执行命令 | 使用 JiHuLab 个人镜像 仓库 文件执行命令 |
|-------------------------|---------------|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| 2.7.0 | 1.25 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml | kubectl apply -f https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.7.0/aio/deploy/recommended.yaml |
| 2.6.1 | 1.24 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.1/aio/deploy/recommended.yaml | kubectl apply -f https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.6.1/aio/deploy/recommended.yaml |
| 2.6.0 | 1.24 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.0/aio/deploy/recommended.yaml | kubectl apply -f https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.6.0/aio/deploy/recommended.yaml |
| 2.5.1 | 1.23 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.1/aio/deploy/recommended.yaml | kubectl apply -f https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.5.1/aio/deploy/recommended.yaml |
| 2.5.0 | 1.23 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml | kubectl apply -f https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.5.0/aio/deploy/recommended.yaml |
| 2.4.0 | 1.20、1.21 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml | kubectl apply -f https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.4.0/aio/deploy/recommended.yaml |
| Kubernetes Dashboard 版本 | Kubernetes 版本 | 使用 GitHub 官方仓库文件执行命令 | 使用 作者镜像仓库 文件执行命令 |
|-------------------------|---------------|------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|
| 2.7.0 | 1.25 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml | kubectl apply -f https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.7.0/aio/deploy/recommended.yaml |
| 2.6.1 | 1.24 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.1/aio/deploy/recommended.yaml | kubectl apply -f https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.6.1/aio/deploy/recommended.yaml |
| 2.6.0 | 1.24 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.0/aio/deploy/recommended.yaml | kubectl apply -f https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.6.0/aio/deploy/recommended.yaml |
| 2.5.1 | 1.23 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.1/aio/deploy/recommended.yaml | kubectl apply -f https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.5.1/aio/deploy/recommended.yaml |
| 2.5.0 | 1.23 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.0/aio/deploy/recommended.yaml | kubectl apply -f https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.5.0/aio/deploy/recommended.yaml |
| 2.4.0 | 1.20、1.21 | kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml | kubectl apply -f https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.4.0/aio/deploy/recommended.yaml |
## 参考链接
......@@ -30,15 +30,15 @@ Kubernetes(k8s)Dashboard 安装
2. https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/README.md
3. https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md
4. 以上参考连接列举的都是最新版,请结合自身的版本选择对应的标签
5. 国内 JiHuLab 个人镜像
镜像仓库:[https://jihulab.com/mirrors-github/kubernetes/dashboard](https://jihulab.com/mirrors-github/kubernetes/dashboard)
5. 作者镜像仓库
镜像仓库:[https://framagit.org/mirrors-github/kubernetes/dashboard](https://framagit.org/mirrors-github/kubernetes/dashboard)
## 安装
1. 在管理节点上执行
```shell
# JiHuLab 个人镜像:kubectl apply -f https://jihulab.com/mirrors-github/kubernetes/dashboard/-/raw/v2.7.0/aio/deploy/recommended.yaml
# 作者镜像仓库:kubectl apply -f https://framagit.org/mirrors-github/kubernetes/dashboard/-/raw/v2.7.0/aio/deploy/recommended.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml
```
......
......@@ -8,7 +8,7 @@ sidebar_position: 1
## 文档
1. [Kubernetes(k8s)全自动安装配置脚本](https://jihulab.com/xuxiaowei-com-cn/k8s.sh)
1. [Kubernetes(k8s)全自动安装配置脚本](https://framagit.org/xuxiaowei-com-cn/k8s.sh)
2. [等等,Docker 被 Kubernetes 弃用了?](https://dev.to/inductor/wait-docker-is-deprecated-in-kubernetes-now-what-do-i-do-e4m)
3. [容器运行时](https://kubernetes.io/zh-cn/docs/setup/production-environment/container-runtimes/)
4. [端口和协议](https://kubernetes.io/zh-cn/docs/reference/networking/ports-and-protocols/)
......@@ -25,21 +25,21 @@ sidebar_position: 1
14. [Pod 网络无法访问排查处理](https://cloud.tencent.com/document/product/457/40332)
15. 开始使用 Containerd
1. [github](https://github.com/containerd/containerd/blob/main/docs/getting-started.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/getting-started.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/getting-started.md)
16. Containerd 配置 Docker 加速镜像
1. [github](https://github.com/containerd/containerd/blob/main/docs/cri/registry.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/registry.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/registry.md)
17. crictl 用户指南
1. [GitHub](https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md)
18. Containerd hosts 配置
1. [GitHub](https://github.com/containerd/containerd/blob/main/docs/hosts.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/hosts.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/hosts.md)
19. Calico
1. [Kubernetes 上的 Calico 快速入门](https://docs.tigera.io/calico/latest/getting-started/kubernetes/quickstart)
2. 配置
1. [GitHub](https://github.com/projectcalico/calico/blob/master/manifests/calico.yaml)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/projectcalico/calico/-/blob/master/manifests/calico.yaml)
2. [作者镜像仓库](https://framagit.org/mirrors-github/projectcalico/calico/-/blob/master/manifests/calico.yaml)
## 说明
......@@ -207,7 +207,7 @@ sidebar_position: 1
privileged = true
```
[使用 docker.sock 端口 示例](https://jihulab.com/mirrors-gitee/log4j/pig/-/blob/xuxiaowei/k8s/.gitlab-ci.yml)
[使用 docker.sock 端口 示例](https://framagit.org/mirrors-gitee/log4j/pig/-/blob/xuxiaowei/k8s/.gitlab-ci.yml)
```yaml
stages:
......@@ -366,7 +366,7 @@ sidebar_position: 1
# 安装完 k8s 后,才有 crictl 命令
# 参考:
# GitHub:https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md
# JiHuLab 个人镜像:https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md
# 作者镜像仓库:https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md
cat <<EOF > /etc/crictl.yaml
runtime-endpoint: unix:///run/containerd/containerd.sock
......@@ -627,21 +627,21 @@ sidebar_position: 1
17. 控制面板:配置网络,选择 Calico 配置,归档文档:[https://docs.tigera.io/archive/](https://docs.tigera.io/archive/)
| Kubernetes 版本 | Calico 版本 | Calico 文档 | Calico 配置 | JiHuLab 个人镜像 |
|---------------------|-----------|------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
| 1.18、1.19、1.20 | 3.18 | https://docs.tigera.io/archive/v3.18/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.18/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.18.0/manifests/calico.yaml |
| 1.19、1.20、1.21 | 3.19 | https://docs.tigera.io/archive/v3.19/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.19/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.19.0/manifests/calico.yaml |
| 1.19、1.20、1.21 | 3.20 | https://docs.tigera.io/archive/v3.20/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.20/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.20.0/manifests/calico.yaml |
| 1.20、1.21、1.22 | 3.21 | https://docs.tigera.io/archive/v3.21/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.21/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.21.0/manifests/calico.yaml |
| 1.21、1.22、1.23 | 3.22 | https://docs.tigera.io/archive/v3.22/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.22/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.22.0/manifests/calico.yaml |
| 1.21、1.22、1.23 | 3.23 | https://docs.tigera.io/archive/v3.23/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.23/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.23.0/manifests/calico.yaml |
| 1.22、1.23、1.24、1.25 | 3.24 | https://docs.tigera.io/archive/v3.24/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.24/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.24.0/manifests/calico.yaml |
| 1.22、1.23、1.24 | 3.25 | https://docs.tigera.io/archive/v3.25/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.25/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.25.0/manifests/calico.yaml |
| 1.24、1.25、1.26、1.27 | 3.26 | https://docs.tigera.io/calico/latest/getting-started/kubernetes/requirements | https://raw.githubusercontent.com/projectcalico/calico/v3.26.3/manifests/calico.yaml | https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.26.3/manifests/calico.yaml |
| Kubernetes 版本 | Calico 版本 | Calico 文档 | Calico 配置 | 作者镜像仓库 |
|---------------------|-----------|------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
| 1.18、1.19、1.20 | 3.18 | https://docs.tigera.io/archive/v3.18/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.18/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.18.0/manifests/calico.yaml |
| 1.19、1.20、1.21 | 3.19 | https://docs.tigera.io/archive/v3.19/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.19/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.19.0/manifests/calico.yaml |
| 1.19、1.20、1.21 | 3.20 | https://docs.tigera.io/archive/v3.20/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.20/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.20.0/manifests/calico.yaml |
| 1.20、1.21、1.22 | 3.21 | https://docs.tigera.io/archive/v3.21/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.21/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.21.0/manifests/calico.yaml |
| 1.21、1.22、1.23 | 3.22 | https://docs.tigera.io/archive/v3.22/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.22/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.22.0/manifests/calico.yaml |
| 1.21、1.22、1.23 | 3.23 | https://docs.tigera.io/archive/v3.23/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.23/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.23.0/manifests/calico.yaml |
| 1.22、1.23、1.24、1.25 | 3.24 | https://docs.tigera.io/archive/v3.24/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.24/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.24.0/manifests/calico.yaml |
| 1.22、1.23、1.24 | 3.25 | https://docs.tigera.io/archive/v3.25/getting-started/kubernetes/requirements | https://docs.tigera.io/archive/v3.25/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.25.0/manifests/calico.yaml |
| 1.24、1.25、1.26、1.27 | 3.26 | https://docs.tigera.io/calico/latest/getting-started/kubernetes/requirements | https://raw.githubusercontent.com/projectcalico/calico/v3.26.3/manifests/calico.yaml | https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.26.3/manifests/calico.yaml |
```shell
# 下载
wget --no-check-certificate https://jihulab.com/mirrors-github/projectcalico/calico/-/raw/v3.26.3/manifests/calico.yaml
wget --no-check-certificate https://framagit.org/mirrors-github/projectcalico/calico/-/raw/v3.26.3/manifests/calico.yaml
```
```shell
......@@ -748,7 +748,7 @@ sidebar_position: 1
20. 控制面板:创建 nginx 服务
```shell
# 带 命名空间、Service 的完整版参见:https://jihulab.com/xuxiaowei-cloud/xuxiaowei-cloud/-/blob/main/docs/deployment/nginx-deployment.yaml
# 带 命名空间、Service 的完整版参见:https://framagit.org/xuxiaowei-cloud/xuxiaowei-cloud/-/blob/main/docs/deployment/nginx-deployment.yaml
cat > nginx.yaml << EOF
apiVersion: apps/v1
kind: Deployment
......@@ -874,7 +874,7 @@ sidebar_position: 1
# 控制面板:设置服务(将多个 nginx-deployment 的 pod 绑定在一起,通过一个 Service 端口统一对外提供)
kubectl expose deployment nginx-deployment --type=NodePort --name=nginx-service
# 带 命名空间、Service 的完整版参见:https://jihulab.com/xuxiaowei-cloud/xuxiaowei-cloud/-/blob/main/docs/deployment/nginx-deployment.yaml
# 带 命名空间、Service 的完整版参见:https://framagit.org/xuxiaowei-cloud/xuxiaowei-cloud/-/blob/main/docs/deployment/nginx-deployment.yaml
```
```shell
......
......@@ -12,16 +12,16 @@ sidebar_position: 9
2. https://docs.docker.com/build/buildkit/toml-configuration/
3. 开始使用 Containerd
1. [github](https://github.com/containerd/containerd/blob/main/docs/getting-started.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/getting-started.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/getting-started.md)
4. Containerd 配置 Docker 加速镜像
1. [github](https://github.com/containerd/containerd/blob/main/docs/cri/registry.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/registry.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/registry.md)
5. crictl 用户指南
1. [GitHub](https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md)
6. Containerd hosts 配置
1. [GitHub](https://github.com/containerd/containerd/blob/main/docs/hosts.md)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/hosts.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/hosts.md)
7. <font color="red">`[plugins."io.containerd.grpc.v1.cri".registry.mirrors]` 中配置 `域名`,仅支持 `crictl`
命令</font>
......@@ -71,7 +71,7 @@ sidebar_position: 9
# 安装完 k8s 后,才有 crictl 命令
# 参考:
# GitHub:https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md
# JiHuLab 个人镜像:https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md
# 作者镜像仓库:https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md
# 生成配置文件
cat <<EOF > /etc/crictl.yaml
......@@ -171,7 +171,7 @@ sidebar_position: 9
# 安装完 k8s 后,才有 crictl 命令
# 参考:
# GitHub:https://github.com/containerd/containerd/blob/main/docs/cri/crictl.md
# JiHuLab 个人镜像:https://jihulab.com/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md
# 作者镜像仓库:https://framagit.org/mirrors-github/containerd/containerd/-/blob/main/docs/cri/crictl.md
# 生成配置文件
cat <<EOF > /etc/crictl.yaml
......
......@@ -18,8 +18,8 @@ IPv4/IPv6 双协议栈网络能够将 IPv4 和 IPv6 地址分配给 Pod 和 Serv
7. 配置 calico/node: https://docs.tigera.io/calico/latest/reference/configure-calico-node
8. CIDR网络地址计算器: https://www.sioe.cn/xinqing/CIDR.php
9. 示例
1. https://jihulab.com/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6.yaml
2. https://jihulab.com/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6-ingress.yaml
1. https://framagit.org/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6.yaml
2. https://framagit.org/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6-ingress.yaml
1. 此示例需要完成 [Ingress 安装](./ingress-install.md) 才能正常使用
## 支持的功能
......@@ -230,8 +230,8 @@ kubectl -n kube-system rollout restart daemonset kube-proxy
### svc
- 请使用 https://jihulab.com/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6.yaml 进行测试
- 执行 `kubectl apply -f https://jihulab.com/xuxiaowei-com-cn/java/-/raw/main/deploy/deploy-service-ipv6.yaml` ,创建
- 请使用 https://framagit.org/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6.yaml 进行测试
- 执行 `kubectl apply -f https://framagit.org/xuxiaowei-com-cn/java/-/raw/main/deploy/deploy-service-ipv6.yaml` ,创建
pod、Service(支持 IPv6)
- 查看 Service pod 的 IPv6 地址:`kubectl describe svc java-resp-ipv6-1-service | grep IPs`
1. 示例
......@@ -243,6 +243,6 @@ kubectl -n kube-system rollout restart daemonset kube-proxy
### ingress
- 请使用 https://jihulab.com/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6-ingress.yaml
- 请使用 https://framagit.org/xuxiaowei-com-cn/java/-/blob/main/deploy/deploy-service-ipv6-ingress.yaml
1. 此示例需要完成 [Ingress 安装](./ingress-install.md) 才能正常使用
......@@ -14,14 +14,14 @@ sidebar_position: 8
3. **根据不同的`域名`、`path`,转发到不同的 `Service` 中**
2. ingress-nginx 仓库
1. [GitHub](https://github.com/kubernetes/ingress-nginx/)
2. [JiHuLab 加速镜像(个人镜像同步)](https://jihulab.com/mirrors-github/kubernetes/ingress-nginx)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes/ingress-nginx)
1. 注意主分支应该是 `main`
2. 安装指南
1. [GitHub](https://github.com/kubernetes/ingress-nginx/blob/main/docs/deploy/index.md)
2. [JiHuLab 加速镜像](https://jihulab.com/mirrors-github/kubernetes/ingress-nginx/-/blob/main/docs/deploy/index.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes/ingress-nginx/-/blob/main/docs/deploy/index.md)
3. 版本支持
1. [GitHub](https://github.com/kubernetes/ingress-nginx/blob/main/ingress-nginx.yaml)
2. [JiHuLab 加速镜像](https://jihulab.com/mirrors-github/kubernetes/ingress-nginx/-/blob/main/ingress-nginx.yaml)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes/ingress-nginx/-/blob/main/ingress-nginx.yaml)
3. [ingress-nginx 文档](https://kubernetes.github.io/ingress-nginx/)
1. [TLS/HTTPS](https://kubernetes.github.io/ingress-nginx/user-guide/tls/)
4. 本文以 k8s 1.26.2 为例
......@@ -62,17 +62,17 @@ sidebar_position: 8
# 使用 LoadBalancer
# 适合于没有 Helm 的环境,或者是倾向于使用 YAML 配置
# wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v$INGRESS_NGINX_VERSION/deploy/static/provider/cloud/deploy.yaml
wget https://jihulab.com/mirrors-github/kubernetes/ingress-nginx/-/raw/controller-v$INGRESS_NGINX_VERSION/deploy/static/provider/cloud/deploy.yaml
wget https://framagit.org/mirrors-github/kubernetes/ingress-nginx/-/raw/controller-v$INGRESS_NGINX_VERSION/deploy/static/provider/cloud/deploy.yaml
# 或者
# 使用 NodePort
# 适合于裸机服务器的 Kubernetes 集群,以及 Kubernetes 是手动安装的,支持通用的 Linux 发行版(如:CentOS、Ubuntu 等)
# wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v$INGRESS_NGINX_VERSION/deploy/static/provider/baremetal/deploy.yaml
# wget https://jihulab.com/mirrors-github/kubernetes/ingress-nginx/-/raw/controller-v$INGRESS_NGINX_VERSION/deploy/static/provider/baremetal/deploy.yaml
# wget https://framagit.org/mirrors-github/kubernetes/ingress-nginx/-/raw/controller-v$INGRESS_NGINX_VERSION/deploy/static/provider/baremetal/deploy.yaml
# 其他云厂商的k8s,请参见文档:
# https://github.com/kubernetes/ingress-nginx/blob/main/docs/deploy/index.md
# https://jihulab.com/mirrors-github/kubernetes/ingress-nginx/-/blob/main/docs/deploy/index.md
# https://framagit.org/mirrors-github/kubernetes/ingress-nginx/-/blob/main/docs/deploy/index.md
```
2. 修改为国内可以访问的镜像(国内可能无法访问 registry.k8s.io 域名)
......@@ -176,7 +176,7 @@ sidebar_position: 8
spec:
containers:
- name: demo
image: registry.jihulab.com/xuxiaowei-cloud/xuxiaowei-cloud/httpd:2.4.57
image: registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/httpd:2.4.57
ports:
- containerPort: 80
......@@ -302,7 +302,7 @@ sidebar_position: 8
1. 方式1(容器、宿主机端口相同):
1. 文档
1. [GitHub](https://github.com/kubernetes/ingress-nginx/blob/main/docs/deploy/baremetal.md#via-the-host-network)
2. [JiHuLab 加速镜像](https://jihulab.com/mirrors-github/kubernetes/ingress-nginx/-/blob/main/docs/deploy/baremetal.md#via-the-host-network)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes/ingress-nginx/-/blob/main/docs/deploy/baremetal.md#via-the-host-network)
2. 修改配置
1. 方法1:
```shell
......
......@@ -14,10 +14,10 @@ sidebar_position: 5
2. [快速开始](https://github.com/prometheus-operator/kube-prometheus#quickstart)
3. [UI](https://github.com/prometheus-operator/kube-prometheus/blob/main/docs/access-ui.md)
1. 本文已配置远程访问,此文档不重要
2. [JiHuLab 个人镜像 仓库](https://jihulab.com/mirrors-github/prometheus-operator/kube-prometheus)
1. [版本支持](https://jihulab.com/mirrors-github/prometheus-operator/kube-prometheus#compatibility)
2. [快速开始](https://jihulab.com/mirrors-github/prometheus-operator/kube-prometheus#quickstart)
3. [UI](https://jihulab.com/mirrors-github/prometheus-operator/kube-prometheus/blob/main/docs/access-ui.md)
2. [作者镜像仓库](https://framagit.org/mirrors-github/prometheus-operator/kube-prometheus)
1. [版本支持](https://framagit.org/mirrors-github/prometheus-operator/kube-prometheus#compatibility)
2. [快速开始](https://framagit.org/mirrors-github/prometheus-operator/kube-prometheus#quickstart)
3. [UI](https://framagit.org/mirrors-github/prometheus-operator/kube-prometheus/blob/main/docs/access-ui.md)
1. 本文已配置远程访问,此文档不重要
2. Kube Prometheus 包含的部分功能:
......
......@@ -9,7 +9,7 @@ sidebar_position: 4
## 说明
1. 官方github仓库:[https://github.com/kubernetes-sigs/metrics-server](https://github.com/kubernetes-sigs/metrics-server)
2. 个人镜像:https://jihulab.com/xuxiaowei-com-cn/k8s.sh/-/tree/main/mirrors/kubernetes-sigs/metrics-server
2. 个人镜像:https://framagit.org/xuxiaowei-com-cn/k8s.sh/-/tree/main/mirrors/kubernetes-sigs/metrics-server
3. Metrics Server 是一个 Kubernetes 组件,用于收集群集中的容器和节点的资源度量指标,并将这些指标提供给用户和其他组件。Metrics
Server 采集的指标包括CPU使用率、内存使用率、网络流量等。这些指标可以帮助用户了解应用程序、服务以及它们所在的节点和容器的健康情况,帮助用户优化资源使用和应用程序性能。
4. Metrics Server 可以通过 Kubernetes API Server 提供度量指标查询接口,以支持其他组件、工具和应用程序对度量指标进行查询、监控、告警等操作。Metrics
......@@ -18,14 +18,14 @@ sidebar_position: 4
5. 不使用 helm,所以只需关注 `v*.*.*`的标签(即:不含 helm 的标签)
6. 版本介绍:
1. [GitHub](https://github.com/kubernetes-sigs/metrics-server#compatibility-matrix)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/kubernetes-sigs/metrics-server#compatibility-matrix)
2. [作者镜像仓库](https://framagit.org/mirrors-github/kubernetes-sigs/metrics-server#compatibility-matrix)
7. 本文以 v0.6.4 为例(其他版本仅需更换下面的链接中的 v0.6.4)
| 文件类型 | 文件链接 | 个人镜像 |
|----------------------|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| k8s 配置文件 | https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/components.yaml | https://jihulab.com/xuxiaowei-com-cn/k8s.sh/-/raw/main/mirrors/kubernetes-sigs/metrics-server/v0.6.4/components.yaml |
| k8s 高可用配置文件 | https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/high-availability.yaml | https://jihulab.com/xuxiaowei-com-cn/k8s.sh/-/raw/main/mirrors/kubernetes-sigs/metrics-server/v0.6.4/high-availability.yaml |
| k8s 1.21+ 以上 高可用配置文件 | https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/high-availability-1.21+.yaml | https://jihulab.com/xuxiaowei-com-cn/k8s.sh/-/raw/main/mirrors/kubernetes-sigs/metrics-server/v0.6.4/high-availability-1.21+.yaml |
| 文件类型 | 文件链接 | 个人镜像 |
|----------------------|---------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| k8s 配置文件 | https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/components.yaml | https://framagit.org/xuxiaowei-com-cn/k8s.sh/-/raw/main/mirrors/kubernetes-sigs/metrics-server/v0.6.4/components.yaml |
| k8s 高可用配置文件 | https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/high-availability.yaml | https://framagit.org/xuxiaowei-com-cn/k8s.sh/-/raw/main/mirrors/kubernetes-sigs/metrics-server/v0.6.4/high-availability.yaml |
| k8s 1.21+ 以上 高可用配置文件 | https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.6.4/high-availability-1.21+.yaml | https://framagit.org/xuxiaowei-com-cn/k8s.sh/-/raw/main/mirrors/kubernetes-sigs/metrics-server/v0.6.4/high-availability-1.21+.yaml |
8. 未安装 Metrics Server 查看 pod 内存、CPU 将报错
......
......@@ -20,7 +20,7 @@ sidebar_position: 7
## 示例
示例地址:[xuxiaowei-cloud](https://jihulab.com/xuxiaowei-cloud/xuxiaowei-cloud/-/blob/main/admin-server/admin-server-deployment.yaml)
示例地址:[xuxiaowei-cloud](https://framagit.org/xuxiaowei-cloud/xuxiaowei-cloud/-/blob/main/admin-server/admin-server-deployment.yaml)
```yaml
# 创建命名空间 :kubectl create namespace xuxiaowei-cloud
......@@ -49,7 +49,7 @@ spec:
# 持久化卷的类型为 NFS(Network File System,网络文件系统)
# https://kubernetes.io/zh-cn/docs/concepts/storage/volumes/#nfs
nfs:
# NFS 文档:https://jihulab.com/xuxiaowei-com-cn/gitlab-k8s/-/blob/main/k8s/pv/centos-7-nfs-install.md
# NFS 文档:https://framagit.org/xuxiaowei-com-cn/gitlab-k8s/-/blob/main/k8s/pv/centos-7-nfs-install.md
# NFS 文件系统上的目标路径。需要保证该目录在 NFS 服务器上存在
path: /nfs/admin-server/logs
# 填写你的 NFS(Network File System,网络文件系统) 地址
......@@ -157,7 +157,7 @@ spec:
- name: admin-server-logs-volume
nfs:
# NFS 文件系统上的目标路径。需要保证该目录在 NFS 服务器上存在
# NFS 文档:https://jihulab.com/xuxiaowei-com-cn/gitlab-k8s/-/blob/main/k8s/pv/centos-7-nfs-install.md
# NFS 文档:https://framagit.org/xuxiaowei-com-cn/gitlab-k8s/-/blob/main/k8s/pv/centos-7-nfs-install.md
path: /nfs/admin-server/logs
# NFS 服务器的 IP 地址
# 填写你的 NFS(Network File System,网络文件系统) 地址
......
......@@ -6,7 +6,7 @@ sidebar_position: 5
## 说明
1. [Kubernetes(k8s)全自动安装配置脚本](https://jihulab.com/xuxiaowei-com-cn/k8s.sh)
1. [Kubernetes(k8s)全自动安装配置脚本](https://framagit.org/xuxiaowei-com-cn/k8s.sh)
2. 本文以 CentOS 7.9 最小化安装、Kubernetes(k8s)1.25.3 为例(其他 CentOS、k8s
版本类似),离线包(免费下载):[https://download.csdn.net/download/qq_32596527/87127488](https://download.csdn.net/download/qq_32596527/87127488)
3. 如果没有在有网的环境下安装 Kubernetes(k8s)成功过,也不影响本文离线安装的阅读与学习。
......@@ -201,7 +201,7 @@ sidebar_position: 5
版本的对应关系:[Kubernetes(k8s)安装](/docs/k8s/centos-install.md)
1. [GitHub](https://github.com/projectcalico/calico/blob/v3.24.5/manifests/calico.yaml)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/projectcalico/calico/-/blob/v3.24.5/manifests/calico.yaml)
2. [作者镜像仓库](https://framagit.org/mirrors-github/projectcalico/calico/-/blob/v3.24.5/manifests/calico.yaml)
```shell
docker pull docker.io/calico/node:v3.24.5
......@@ -458,7 +458,7 @@ sidebar_position: 5
13. 网络初始化,下载 calico.yaml 文件,复制到电脑上
1. [GitHub](https://github.com/projectcalico/calico/blob/v3.24.5/manifests/calico.yaml)
2. [JiHuLab 个人镜像](https://jihulab.com/mirrors-github/projectcalico/calico/-/blob/v3.24.5/manifests/calico.yaml)
2. [作者镜像仓库](https://framagit.org/mirrors-github/projectcalico/calico/-/blob/v3.24.5/manifests/calico.yaml)
```shell
cd calico
......
......@@ -7,7 +7,7 @@ sidebar_position: 2
## 说明
1. [GitHub 原始仓库](https://github.com/acmesh-official/acme.sh)
2. [极狐 JihuLab 镜像仓库](https://jihulab.com/xuxiaowei-com-cn/acme.sh)
2. [作者镜像仓库](https://framagit.org/xuxiaowei-com-cn/acme.sh)
## 安装 acme.sh
......@@ -21,7 +21,7 @@ sidebar_position: 2
```
```bash
git clone https://jihulab.com/xuxiaowei-com-cn/acme.sh.git
git clone https://framagit.org/xuxiaowei-com-cn/acme.sh.git
cd acme.sh
./acme.sh --install -m my@example.com
```
......
......@@ -136,11 +136,7 @@ const config = {
},
{
label: 'Kubernetes(k8s)全自动安装配置脚本',
href: 'https://jihulab.com/xuxiaowei-com-cn/k8s.sh',
},
{
label: 'Docker Hub 镜像代理',
href: 'https://jihulab.com/docker-hub',
href: 'https://framagit.org/xuxiaowei-com-cn/k8s.sh',
},
{
label: '工具箱',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册