Jib 打包镜像在k8s开启Remote Debug

Jib 打包镜像在k8s开启Remote Debug 使用 JAVA_TOOL_OPTIONS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005 yaml配置如下 containers: - name: container-zk image: "xxxx" ports: - name: http-8080 containerPort: 8080 protocol: TCP - name: tcp-5005 containerPort: 5005 protocol: TCP env: - name: spring.profile.active value: dev - name: JAVA_TOOL_OPTIONS value: >- -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=0.0.0.0:5005

2022-08-08 · 1 分钟 · 64 字 · xuanhr

Debian 11.2 bullseye cgroups_cpu 未开启

问题现象: 安装kubernetes 会报错: [ERROR SystemVerification]: missing required cgroups: cpu 同时发现kubectl检查cgroups时会显示 CGROUPS_CPU: missing 此时,使用docker info 会显示 WARNING: No cpu cfs quota support WARNING: No cpu cfs period support ...

2022-03-23 · 1 分钟 · 119 字 · xuanhr

Rook安装ceph 替换 kubesphere默认存储

目录 系统环境 Debian version 11.2 Docker version 20.10.10 Ceph version 16.2.7 Kubesphere version v3.2.1 Kubernetes version v1.21.5 Rook version v1.8.7 前期准备 尽量准备一个干净的系统 安装 docker 20.10.10 安装 lvm2 sudo apt-get install -y lvm2 安装流程总览 下载kubekey 安装k8s 使用k8s安装Rook 使用Rook安装ceph集群 替换k8s默认存储方式 安装kubesphere 安装kubekey export KKZONE=cn ...

2022-03-23 · 3 分钟 · 1353 字 · xuanhr