08 2020 档案
摘要:1. Django ORM 通过代码来描述数据库中的表 类名 - 表名 类属性 - 表字段 表中的每一个记录在代码的层面都是由类实例化的对象, 表中的字段是其属性 2. 配置ORM 2.1 安装django 和 pg 模块 pip install psycopg2 pip install djang
阅读全文
摘要:windows 安装 第一步: 下载 https://www.enterprisedb.com/download-postgresql-binaries 将解压后的文件去掉一层放入 E:\Program Files, 程序目录为 E:\Program Files\pgsql 第二步: 解压压缩包,配
阅读全文
摘要:1. 交付dubbo服务提供者 1.1.1 在master机器上安装helm 在master机器 192.168.31.37 上安装helm3.1 wget https://get.helm.sh/helm-v3.1.0-linux-amd64.tar.gz tar zxvf helm-v3.0.0
阅读全文
摘要:1. dubbo微服务架构 微服务提供者集群: 暴露服务的服务提供方 微服务消费者集群: 调用远程服务的服务消费方 注册中心: 微服务提供者集群注册, 微服务消费者集群订阅, 微服务消费者集群通过RPC协议调用微服务提供者集群 Monitor: 统计服务的调用次数和调用时间的监控中心 部署的基本流程
阅读全文
摘要:1. 在master中加入配置 如果有多个master, 每个master都需要加入 /etc/kubernetes/manifests/kube-apiserver.yaml - --enable-admission-plugins=NodeRestriction,PodPreset - --se
阅读全文
摘要:参考文档: https://goharbor.io/docs/1.10/install-config/configure-https/ https://goharbor.io/docs/1.10/install-config/troubleshoot-installation/#https 默认情况
阅读全文
摘要:1. 搭建NFS服务 192.168.31.200 1.1 安装 nfs-utils yum install nfs-utils -y systemctl start rpcbind &&systemctl enable rpcbind systemctl start nfs && systemct
阅读全文
摘要:1. 部署dashboard 文档:https://www.jianshu.com/p/40c0405811ee github地址: https://github.com/kubernetes/dashboard/blob/master/aio/deploy/recommended.yaml 1.1
阅读全文
摘要:1. 部署ingress 1. 从github上下载ingress的部署文件 https://github.com/kubernetes/ingress-nginx wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/ngi
阅读全文

浙公网安备 33010602011771号