上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: Ingress使用总结 1、部署nginx ingress controller,在nginx-ingress-controller deployment 添加默认后端参数:--default-backend-service=$(POD_NAMESPACE)/default-http-backend 阅读全文
posted @ 2021-10-12 11:32 KbMan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 安装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 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 如何创建本地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 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(1407) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(23) 评论(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 阅读(32) 评论(0) 推荐(0) 编辑
摘要: # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def hasCycle(self, h 阅读全文
posted @ 2021-03-08 15:26 KbMan 阅读(37) 评论(0) 推荐(0) 编辑
摘要: class Solution: def maxArea(self, height: List[int]) -> int: # 双指针,每次移动短指针 i = 0 j = len(height) - 1 res = 0 while i <= j: if height[i] < height[j]: s 阅读全文
posted @ 2021-03-08 15:14 KbMan 阅读(53) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页