上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页
摘要: 1. Overview Package sort provides primitives for sorting slices and user-defined collections. 切片排序,或者是自定义集合的排序。 例子的话我觉得还是尽量看官方的,认准pkg.go.dev ,其他家博客的话例 阅读全文
posted @ 2020-12-02 01:12 过去的我 阅读(323) 评论(0) 推荐(0)
摘要: go 调用kubernetes api 1. 具体步骤 详细参考github,写的挺详细的 https://github.com/kubernetes/client-go 个人做了一个小结。 1.1 确定版本 不同的kubernetes 版本,对于的client-go版本也是不一样的,上面那个网页有 阅读全文
posted @ 2020-11-30 12:21 过去的我 阅读(2084) 评论(0) 推荐(0)
摘要: ecs开启ipv6 0. 大致思路 首先是云要支持双栈,这里以华为云为例,目前是只有上海一跟北京四有双栈 ,机器类型也有要求,必须是C3的机器。 云上要配置,ecs机器也要配置。 1. ecs添加ipv6支持 /etc/sysconfig/network-scripts/ifcfg-eth0 添加 阅读全文
posted @ 2020-11-25 10:03 过去的我 阅读(419) 评论(0) 推荐(0)
摘要: vpc network 0. VPC虚拟私有云 云计算里面一个很重要的组成部分是VPC部分,虚拟私有云。 为云服务器、云容器、云数据库等资源构建隔离的、用户自主配置和管理的虚拟网络环境,提升用户云上资源的安全性,简化用户的网络部署。 比较好的参考文档就是各个云的帮助文档,都比较全,这里选华为云的为例 阅读全文
posted @ 2020-11-22 20:23 过去的我 阅读(260) 评论(0) 推荐(0)
摘要: rancher的pipeline也是基于jenkins 。 1. Pipeline功能 Build your application from code to image. Validate your builds. Deploy your build images to your cluster. 阅读全文
posted @ 2020-07-27 10:26 过去的我 阅读(1033) 评论(0) 推荐(0)
摘要: 1. 简介 在helm的基础之上,增加了一些内容。我原先以为就是helm,但发现不是原生的heml chart。 增强的修订跟踪 虽然 Helm 支持版本化的部署,但 Rancher 添加了修订跟踪历史记录,以显示 Charts 的不同版本之间的更改。 简化的应用启动流程 Rancher Chart 阅读全文
posted @ 2020-07-19 09:35 过去的我 阅读(1334) 评论(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 过去的我 阅读(830) 评论(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 过去的我 阅读(339) 评论(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 过去的我 阅读(186) 评论(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 过去的我 阅读(280) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页