上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: Kubectl apiserver 管理对象命令 Pod service replicaset deployment statefulet daemonset job cronjob node等 Kubectl get cs 查看信息等 命令启动pod Kubectl run -> create a 阅读全文
posted @ 2020-04-27 18:10 阿里云的奥斯卡 阅读(2267) 评论(0) 推荐(0) 编辑
摘要: # 重启pod kubectl get pod -n kube-system | grep kube-proxy |awk '{system("kubectl delete pod "$1" -n kube-system")}'kubectl get pod kube-flannel-ds-amd6 阅读全文
posted @ 2020-04-20 14:00 阿里云的奥斯卡 阅读(11329) 评论(0) 推荐(0) 编辑
摘要: Devolops概念 CI 持续集成 CD 持续交付 CD 持续部署 Borg 谷歌系统 docker、云上原生 支持K8S 大发展 1、自动装箱 自我修复 水平扩展 服务发下 负载均衡 2、秘钥和配置管理,存储编排 Restful kubernetes Master/nodes 模型 master 阅读全文
posted @ 2020-04-20 11:55 阿里云的奥斯卡 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 转载地址: https://blog.csdn.net/bocai_xiaodaidai/article/details/94395604 01-下载源码 GitHub地址:https://github.com/sshwsfc/xadmin # 安装xadmin 由于使用的是Django2.0的版本 阅读全文
posted @ 2020-03-12 15:06 阿里云的奥斯卡 阅读(384) 评论(0) 推荐(0) 编辑
摘要: pickle模块的使用 pickle模块是python的标准模块,提供了对于python数据的序列化操作,可以将数据转换为bytes类型,其序列化速度比json模块要高。 pickle.dumps() 将python数据序列化为bytes类型 pickle.loads() 将bytes类型数据反序列 阅读全文
posted @ 2020-03-08 09:37 阿里云的奥斯卡 阅读(2727) 评论(0) 推荐(0) 编辑
摘要: 转载: https://www.cnblogs.com/wanghaiqi24/p/10035896.html 背景:学习django+fdfs+nginx时碰见的问题,笔记本电脑的虚拟机ubuntu实在卡到怀疑人生,所以django装在windows,ubuntu只开启fdfs+nginx服务。于 阅读全文
posted @ 2020-03-02 22:25 阿里云的奥斯卡 阅读(236) 评论(0) 推荐(0) 编辑
摘要: docker的生命周期管理 镜像和容器的关系 容器网络管理 bridge network --> nat模式 host network --> 主机模式 没有隔离网络 None network --> 不需要网络 Overlay network --> 隧道技术 覆盖网络 Mc network -- 阅读全文
posted @ 2020-02-26 15:29 阿里云的奥斯卡 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 安装配置 pip install djangorestframework-jwt配置Setting.py REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': ( 'rest_framework_jwt.authentication.JSONWeb 阅读全文
posted @ 2020-02-26 10:36 阿里云的奥斯卡 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 安装docker 并配置仓库加速器 https://support.huaweicloud.com/usermanual-swr/swr_01_0006.html docker 命令 阅读全文
posted @ 2020-02-24 22:20 阿里云的奥斯卡 阅读(924) 评论(0) 推荐(0) 编辑
摘要: 访问方式 GET /sms_codes/{mobile}/?imange_code_id=xxx& text=xxx 返回数据: message str OK发送成功 序列化器 class CheckImageCodeSerializer(serializers.Serializer): """ 图 阅读全文
posted @ 2020-02-24 20:51 阿里云的奥斯卡 阅读(251) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页