上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
摘要: 1. 简介 在helm的基础之上,增加了一些内容。我原先以为就是helm,但发现不是原生的heml chart。 增强的修订跟踪 虽然 Helm 支持版本化的部署,但 Rancher 添加了修订跟踪历史记录,以显示 Charts 的不同版本之间的更改。 简化的应用启动流程 Rancher Chart 阅读全文
posted @ 2020-07-19 09:35 过去的我 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: 1. nginx ingress 在aks 上安装 helm安装非常简单。 1.1 helm安装 # Create a namespace for your ingress resources kubectl create namespace ingress-basic # Add the offi 阅读全文
posted @ 2020-07-10 21:08 过去的我 阅读(738) 评论(0) 推荐(0) 编辑
摘要: Markdown For Typora Overview Markdown is created by Daring Fireball; the original guideline is here. Its syntax, however, varies between different par 阅读全文
posted @ 2020-06-27 16:58 过去的我 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 0. Ioc https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/core.html#beans-introduction 主要是实现一个控制反转,耦合性大大降低。 1. 建maven项目 建 阅读全文
posted @ 2020-06-15 14:55 过去的我 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1. 倒计时countdown 例子还是来自go programing language。基本上是对time.Tick 加select的简单应用。 2.countdown 1 package main import ( "fmt" "time" ) func main() { fmt.Println 阅读全文
posted @ 2020-06-08 10:32 过去的我 阅读(215) 评论(0) 推荐(0) 编辑
摘要: go channel pipeline 套路 1. 起源 一直想写关于pipeline的,但是深知自己在编程方面还是个菜,所以就直接引用the go programming language里面的例子了。照着写不容易出错。此书是永远的经典。 2. pipeline1 package main imp 阅读全文
posted @ 2020-06-02 15:45 过去的我 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1. introduction 读完官网的例子就差不多了。 https://gorm.io/zh_CN/docs/index.html https://gorm.io/zh_CN/docs/conventions.html 2. 例子 package main import ( "github.co 阅读全文
posted @ 2020-06-02 14:34 过去的我 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: 1 华为云cce pvc https://support.huaweicloud.com/usermanual-cce/cce_01_0044.html 1.15 apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvc-evs-a 阅读全文
posted @ 2020-05-28 10:31 过去的我 阅读(908) 评论(0) 推荐(0) 编辑
摘要: 1.安装 安装的话分两种情况,虚机的话直接下载二进制文件运行就好了。 kubernetes容器下也很方便,起一个deployment,存储挂载到/var/lib/influxdb 就ok,配置文件可以通过configmap挂载进去。 kubernetes下面也可以用helm来安装,官方提供了一个比较 阅读全文
posted @ 2020-05-20 10:12 过去的我 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 1.挺好用的socks5库 "github.com/armon/go socks5" 2.示例代码 很简洁,当然正式用不能这么用,默认是没有认证的,也就是说所有人都能连你服务器。。 加认证也很简单 下面详细看一下这个认证 Config结构体: config结构体里面要传入AuthMethods Au 阅读全文
posted @ 2020-05-16 07:58 过去的我 阅读(3387) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页