K8s教程-ceph分布式存储

测试环境:Ubuntu20.04 版本 v14.2.22 Nautilus released v15.2.14 Octopus released v16.2.5 Pacific released 最新版本,建议使用此版本? This is the fifth backport release in the Pacific series. We recommend all Pacific users update to this release. 概念介绍 什么是……

阅读全文

K8s教程-ingress-nginx测试

注意保证虚拟机时间同步,否则无法拉取镜像 报错:x509: certificate has expired or is not yet valid 创建deployment test1.zazayaya.com 和 test2.zazayaya.com # apt install ntpdate;ntpdate cn.ntp.org.cn mkdir ~/ingress-test # 部署pod cat >……

阅读全文

K8s教程-自定义镜像并上传dockerhub

编写web测试程序 cat > hello-world.go << EOF package main import ( "fmt" "net/http" "os" ) func main() { http.HandleFunc("/", HelloServer) fmt.Printf("http://0.0.0.0:8080\n") http.ListenAndServe(":8080", nil) } func HelloServer(w http.ResponseWriter, r *http.Request) { name, err := os.Hostname() if err != nil { name="获取主机名失败……

阅读全文

树莓派安装系统

以ubuntu为例 下载ubuntu 也可以通过 Raspberry Pi Imager 进行远程下载 https://ubuntu.com/download/raspberry-pi 镜像烧录工具 来自官方:Install Raspberry Pi OS using Raspberry Pi Imager https://www.raspberrypi.org/software/ 功能: 远程镜像:……

阅读全文

树莓派LED指示灯状态

LED亮灯状态 LED 颜色 功能 正常状态 ACT 绿色 card status 闪烁:SD卡正在活动(类似电脑的硬盘灯) PWR 红色 power 不闪烁:正常 FDX 橙 full duplex 亮:全双工/不亮:半双……

阅读全文