上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页

2023年4月25日

摘要: python判断文件是否存在 os.path.exists(file_path): python多线程 p1 = threading.Thread(target=down) t1 = threading.Thread(target=crawl) print("启动") p1.start() t1.s 阅读全文
posted @ 2023-04-25 14:10 lzjasd 阅读(30) 评论(0) 推荐(0) 编辑

2023年4月23日

摘要: https://tekton.dev/docs/getting-started/ 官网 kubectl cluster-info Kubernetes control plane is running at https://192.168.14.132:6443 CoreDNS is running 阅读全文
posted @ 2023-04-23 04:26 lzjasd 阅读(14) 评论(0) 推荐(0) 编辑

2023年4月21日

摘要: yum -y install nginx cp /etc/nginx/nginx.conf{,.bak} vim /etc/nginx/nginx.conf server { listen 80; listen [::]:80; server_name updates.jenkins.io; roo 阅读全文
posted @ 2023-04-21 02:23 lzjasd 阅读(217) 评论(0) 推荐(0) 编辑

2023年4月20日

摘要: https://updates.jenkins.io/update-center.json https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json docker pull jenkins/jenkins:lts 阅读全文
posted @ 2023-04-20 03:39 lzjasd 阅读(12) 评论(0) 推荐(0) 编辑

2023年4月19日

摘要: helm部署gitea helm repo add gitea-charts https://dl.gitea.io/charts/ helm repo update helm repo list 创建secrets cat secret1.yaml apiVersion: v1 kind: Sec 阅读全文
posted @ 2023-04-19 20:54 lzjasd 阅读(35) 评论(0) 推荐(0) 编辑
 
摘要: kubectl create deploy nginx --image nginx --dry-run -o yaml > gitea.yaml apiVersion: apps/v1 kind: Deployment metadata: labels: app: gitea1 name: gite 阅读全文
posted @ 2023-04-19 00:44 lzjasd 阅读(46) 评论(0) 推荐(0) 编辑

2023年4月7日

摘要: 基于cpu和内存进行pod扩容,创建hpa 创建镜像 mkdir php cd php touch dockerfile touch index.php vim dockerfile FROM php:5-apache ADD index.php /var/www/html/index.php RU 阅读全文
posted @ 2023-04-07 17:48 lzjasd 阅读(292) 评论(0) 推荐(0) 编辑
 
摘要: k8s版本 [root@master v60]# kubectl versionWARNING: This version information is deprecated and will be replaced with the output from kubectl version --sh 阅读全文
posted @ 2023-04-07 03:28 lzjasd 阅读(440) 评论(0) 推荐(0) 编辑

2023年3月28日

摘要: 基本环境 kubectl get nodes -o wideNAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIMEmaster Ready control-plan 阅读全文
posted @ 2023-03-28 20:50 lzjasd 阅读(180) 评论(0) 推荐(0) 编辑

2023年3月23日

摘要: k8s挂载storageclass 概念定义 pv pvc storageclass PV 是群集中的资源。 PVC 是对这些资源的请求 pv 的供应方式 可以通过两种方式配置 PV:静态或动态。 绑定 用户创建 pvc 并指定需要的资源和访问模式。在找到可用 pv 之前,pvc 会保持未绑定状态 阅读全文
posted @ 2023-03-23 22:47 lzjasd 阅读(294) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页