随笔分类 -  docker/k8s

摘要:metadata: annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/proxy-body-size: 600M nginx.ingress.kubernetes.io/proxy-buffer-s 阅读全文
posted @ 2024-11-26 17:38 KeepSmiling_me 阅读(12) 评论(0) 推荐(0) 编辑
摘要:一、基础环境说明节点名 节点ip 角色 操作系统node1 10.42.8.13 control-plane,etcd,master CentOS7.9node2 10.42.8.14 control-plane,etcd,master CentOS7.9node3 10.42.8.15 contr 阅读全文
posted @ 2024-11-01 13:45 KeepSmiling_me 阅读(285) 评论(0) 推荐(0) 编辑
摘要:kubectl config set-context --current --namespace=my-namespace 阅读全文
posted @ 2024-10-28 10:23 KeepSmiling_me 阅读(2) 评论(0) 推荐(0) 编辑
摘要:编辑sc,修改如下 注意 storageclass.kubernetes.io/is-default-class: "true" 为设置默认sc apiVersion: v1 items: - allowVolumeExpansion: true apiVersion: storage.k8s.io 阅读全文
posted @ 2024-10-01 10:40 KeepSmiling_me 阅读(104) 评论(0) 推荐(0) 编辑
摘要:sudo apt-get update sudo apt-get install nfs-kernel-server sudo systemctl status nfs-server 解决mount.nfs: access denied by server while mounting 如果被挂载服 阅读全文
posted @ 2024-09-27 17:24 KeepSmiling_me 阅读(86) 评论(0) 推荐(0) 编辑
摘要:下载所需依赖 # containerd包 wget https://github.com/containerd/containerd/releases/download/v1.6.8/containerd-1.6.8-linux-amd64.tar.gz tar Cxzvf /usr/local c 阅读全文
posted @ 2024-08-16 10:49 KeepSmiling_me 阅读(23) 评论(0) 推荐(0) 编辑
摘要:helm pull ${reponame}/cicd --version 0.1.0-2a25a4e1b7b72ca7+20240s11090223774260 阅读全文
posted @ 2024-08-16 10:24 KeepSmiling_me 阅读(94) 评论(0) 推荐(0) 编辑
摘要:vm warework station16是目前用户最多的虚拟机软件。但是这款软件过了试用期30天以后,就需要使用相关密钥激活。今天小编就给大家带来了vm warework station16虚拟机最忌激活码密钥以及激活教程,有需要的用户们赶紧来复制使用一下吧。 vmwareworkstation1 阅读全文
posted @ 2024-08-15 15:10 KeepSmiling_me 阅读(6669) 评论(0) 推荐(0) 编辑
摘要:获取 rke2 安装程序 curl -sfL https://rancher-mirror.rancher.cn/rke2/install.sh | INSTALL_RKE2_MIRROR=cn sh - 或者 curl -sfL https://get.rke2.io | sh - 创建自定义配置 阅读全文
posted @ 2024-08-14 14:46 KeepSmiling_me 阅读(81) 评论(0) 推荐(0) 编辑
摘要:所使用的环境如下:Ubuntu Server 20.04 LTS (自从CentOS变成CentOS Stream后就转用Debian/Ubuntu了)containerd 1.5.5 (k8s 1.24之后就不再支持docker了,因此改用containerd)Kubernetes v1.23.5 阅读全文
posted @ 2024-07-17 17:41 KeepSmiling_me 阅读(179) 评论(0) 推荐(0) 编辑
摘要:mc config host add minio http://17.16.19.10:8192 admin 123456 mc mb minio/died/bucket mc cp spring.properties minio/died/bucket 阅读全文
posted @ 2024-07-17 15:14 KeepSmiling_me 阅读(21) 评论(0) 推荐(0) 编辑
摘要:docker engine 里添加 "insecure-registries": [ "harbor.ks.x" ], 例如 { "builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } }, "experimental 阅读全文
posted @ 2024-06-30 09:22 KeepSmiling_me 阅读(127) 评论(0) 推荐(0) 编辑
摘要:安装jenkins #下载镜像 docker pull jenkins/jenkins #创建文件夹 mkdir -p /home/jenkins_home #权限 chmod 777 /home/jenkins_home #启动 docker run -d -uroot -p 9095:8080 阅读全文
posted @ 2024-03-28 17:32 KeepSmiling_me 阅读(29) 评论(0) 推荐(0) 编辑
摘要:mkdir ~/.config/code-server docker run -it --name code-server \ -p 8080:8080 \ -v "$HOME/.config/code-server:/root/.config/code-server" \ -u "$(id -u) 阅读全文
posted @ 2024-03-28 09:41 KeepSmiling_me 阅读(6) 评论(0) 推荐(0) 编辑
摘要:version: "3" services: windows: image: dockurr/windows container_name: windows environment: VERSION: "win11" devices: - /dev/kvm cap_add: - NET_ADMIN 阅读全文
posted @ 2024-03-27 17:16 KeepSmiling_me 阅读(74) 评论(0) 推荐(0) 编辑
摘要:FROM anapsix/alpine-java:8u201b09_server-jre_nashorn RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime RUN mkdir -p /jeecg-demo-cloud WORKDI 阅读全文
posted @ 2024-03-19 09:42 KeepSmiling_me 阅读(20) 评论(0) 推荐(0) 编辑
摘要:安装 Docker wget https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo -O /etc/yum.repos.d/docker-ce.repo # yum list docker-ce --showduplicat 阅读全文
posted @ 2024-03-02 13:43 KeepSmiling_me 阅读(12) 评论(0) 推荐(0) 编辑
摘要:1. Linux 环境 # 关闭防火墙 systemctl stop firewalld && systemctl disable firewalld # 关闭 swap swapoff -a && sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab # 关闭 阅读全文
posted @ 2024-03-02 12:07 KeepSmiling_me 阅读(46) 评论(0) 推荐(0) 编辑
摘要:mv target/*.jar docker/ docker build -t mytest:$tag docker/ docker login -u admin -p Harbor12345 192.168.11.102:80 docker tag mytest:$tag 192.168.11.1 阅读全文
posted @ 2023-11-24 16:18 KeepSmiling_me 阅读(45) 评论(0) 推荐(0) 编辑
摘要:docker image prune -f 阅读全文
posted @ 2023-11-24 14:38 KeepSmiling_me 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示