会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
KbMan
一个帅比程序员的自我修养
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2021年10月28日
给centos7.8根目录扩容
摘要: 给centos7.8根目录扩容 查看根目录原有容量 df -h # 查看磁盘个数以及磁盘分区情况 fdisk -l 创建新分区 fdisk /dev/vda 更新内核分区表信息 partprobe -s 格式化分区,创建 /dev/vda3,将 /dev/vda3 分区格式化为物理卷 pvcreat
阅读全文
posted @ 2021-10-28 17:17 KbMan
阅读(234)
评论(0)
推荐(0)
2021年10月15日
使用helm安装harbor
摘要: 使用helm安装harbor 环境信息: helm 3.5 https://github.com/helm/helm/releases/tag/v3.5.4 kubernetes 1.17 centos 7.8 harbor 2.1.5 https://github.com/goharbor/har
阅读全文
posted @ 2021-10-15 16:28 KbMan
阅读(1715)
评论(0)
推荐(0)
2021年10月12日
ingress使用总结
摘要: Ingress使用总结 1、部署nginx ingress controller,在nginx-ingress-controller deployment 添加默认后端参数:--default-backend-service=$(POD_NAMESPACE)/default-http-backend
阅读全文
posted @ 2021-10-12 11:32 KbMan
阅读(188)
评论(0)
推荐(0)
2021年9月22日
harbor安装
摘要: 安装docker 离线安装docker-compose 选择下载docker-compose的linux最新版本:https://github.com/docker/compose/releases 将docker-compose文件上传到服务器,并移动到/use/local/bin,并改名为doc
阅读全文
posted @ 2021-09-22 17:25 KbMan
阅读(50)
评论(0)
推荐(0)
kubernetes使用harbor作为私有镜像仓库
摘要: kubernetes使用harbor作为私有镜像仓库 [root@k8s-master01 kubernetes-Yaml]# kubectl create secret docker-registry docker-harbor \ --docker-server=reg.xxx.net \ --
阅读全文
posted @ 2021-09-22 17:24 KbMan
阅读(162)
评论(0)
推荐(0)
nginx+uwsgi+django+vue部署
摘要: nginx+uwsgi+django+vue部署 uwsgi离线安装 uwsgi下载:https://pypi.python.org/pypi/uWSGI/ 解压uswgi:tar -xvf uwsgi.tar.gz -C uwsgi (删除解压后的内容:tar -tf xx.tar | xargs
阅读全文
posted @ 2021-09-22 17:23 KbMan
阅读(171)
评论(0)
推荐(0)
创建本地yum源
摘要: 如何创建本地yum源 yum install-y yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum list docker-ce.x86_64 --s
阅读全文
posted @ 2021-09-22 17:22 KbMan
阅读(116)
评论(0)
推荐(0)
harbor基本使用
摘要: harbor使用文档 介绍 harbor是一个用于存储和分发docker镜像的企业级registry服务器,可以用来构建企业内部的docker镜像仓库。目前该harbor服务部署在192.168.10.76 机器上。 web harbor 地址:192.168.10.76:8001 账号密码:adm
阅读全文
posted @ 2021-09-22 17:21 KbMan
阅读(1488)
评论(0)
推荐(0)
2021年3月8日
青蛙跳台阶
摘要: class Solution: def numWays(self, n: int) -> int: x, y = 1, 1 for _ in range(n): x, y = y, x+y return x
阅读全文
posted @ 2021-03-08 19:04 KbMan
阅读(29)
评论(0)
推荐(0)
连续子数组的最大和
摘要: class Solution: def maxSubArray(self, nums: List[int]) -> int: # 设当前的和为 cur_sum cur_sum = 0 res = nums[0] for num in nums: # 如果当前和大于0 if cur_sum > 0:
阅读全文
posted @ 2021-03-08 17:38 KbMan
阅读(38)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告