Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

Original link: cloud of a native Weekly | 2019-06-24 ~ 2019-06-28

1 Introduction

Cloud native not only good support Internet applications, but also a profound impact on new computing architecture, new smart data applications. To containers, service grid, micro service, Serverless as the representative of native cloud technology, bringing a whole new way to build applications. The author is a native cloud fanatical followers, for a long time I do not know how to organize your favorites. Recently think, in order so that we can grasp the latest information cloud native, I decided to share my favorites came out, everyone Hey ~ ~

2. open source projects recommended

kubeasy : Kubernetes used to manage the cluster CLI tool that provides an immersive command line interface

Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

Kui : CLI is a tool, and kubeasy same purpose, all want users to get more information about the cluster, and then use that information to do a lot of things. The difference is, kui embedded in the Web page in the terminal, you can be operated by a mouse click.

Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

HPA the Configurable : by CRDto extend the functionality Kubernetes native HPA, providing more optional parameters. For example, native HPA is not supported elastically stretchable speed custom, can be customized via CHPA.

Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

Sidecar-Injector-K8S : Tumblr (soup not hot, you know) is an open source tool for automatic injection of Sidecar. You only need to add in annotaion Pod in the injector.tumblr.com/request=sidecar-prod-v1field, it will automatically injected into the business in the Pod sidecar-prod-v1defined Sidecar container, environment variables, and storage volumes.

dns-discovery : 默认情况下,Istio 服务网格内的 Pod 无法与集群外的 URL 通信,如果想与集群外的 URL 通信,你必须显式地为每个 URL 创建相应的 Service Entry。dns-discovery 是一个运行在 Kubernetes DNS 前面的代理,它会监控集群内所有的 DNS 查询,然后为监控到的集群外 URL 自动创建 Service Entry。

k-vswitch : 基于 Open vSwitch 的高性能 Kubernetes CNI 网络插件,网络协议支持 GREVxLAN,支持 Network Policy。

Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

krontab : 如果你想在 Kubernetes 中创建一个 Cronjob,你得先编写一个 YAML 文件,然后再 apply 一下。krontab 可以让你免去这些繁琐的步骤,它类似于 Linux 系统中的 crontab,当你想创建一个 Cronjob 时,直接在终端输入命令 krontab -e 就会使用 vim 打开一个虚拟的文件,写好定时任务(语法和 crontab 一样)后输入 :wq 退出就会立即创建一个 Cronjob。是不是很爽??

Autocert : 一个 Kubernetes 附加组件,可自动向容器中注入 TLS/HTTPS 证书,加密容器之间的通信流量。

3. 博客推荐

  1. Kubernetes Pod 驱逐详解 : 本文详细分析了在什么情况下 Pod 会被 Kubernetes 从运行节点中驱逐,以及不同 QoS 等级 Pod 的驱逐顺序。

  2. 基于 RabbitMQ 队列大小进行弹性伸缩 : 本文示范了如何使用 Custom Metrics,使得在 RabbitMQ 有太多未被消费的 Job 时,可以自动增加副本数量,让 Job 可以马上被处理。

  3. Kubernetes Operator 最佳实践 : Openshift 写的一篇关于开发 Operator 的最佳守则,从 Operator 的主要精髓介绍,如 Operator 会 watch Master API 的事件,当相关事件发生后便会执行对应的动作。接着便提到了开发人员应该如何创建 Watches,Reconciliation Cycle,怎么对资源进行验证等。有想要开发 operator 的同学千万不要错过哦!

  4. 使 Kubernetes 的 Service IP 路由可达 : Calico 官方博客,介绍了 Calico v3.4 引进的新特性。之前 calico 只能传播 Pod IP 的路由,引入该特性之后,calico 也能传播 Service IP 的路由了,同时还支持 ECMP 三层负载均衡策略。这个特性使得打通集群内外之间的流量更加容易。

  5. 如何重启高可用 Kubernetes 集群 : 该篇文章介绍了如何安全地重启高可用 Kubernetes 集群,以及重启后对集群中服务造成的影响。

  6. 如何使用 Istio 和 Kubernetes 进行金丝雀部署 : 本文主要讲述了如何通过 Kubernetes 和 Istio 来进行金丝雀部署,包括应用的打包、部署和流量拆分。

  7. 在 Kubernetes 上通过 InfluxDB 和 Grafana 来收集 Twitter 统计信息 : 本文主要介绍了如何在 Kubernetes 上部署 InfluxDB 和 Grafana,通过 python 模块来收集你的 Twitter 账号统计信息,然后存储到 InfluxDB 中,最后通过 Grafana Dashboard 展现出来。

  8. 内核集成容器特性的年度进展 : 本视频主要介绍了近几年尝试在内核中直接集成容器特性的工作进展,并通过代码来展示其中的大部分原理。

4. 电子书推荐

  • Docker and Kubernetes for Java Developers: Scale, deploy, and monitor multi-container applications : 本书主要内容是如何使用 Docker 和 Kubernetes 来构建、部署和管理 Java 应用。

获取方式:公众号后台回复:java

Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

  • learning-k8s-source-code : k8s、docker源码分析笔记,记录源码学习和一些原理译文,力从应用出发,再去深究某个概念的原理。以 apiserver、controller-manager、scheduler、kubelet、proxy 和 kubectl 6个命令为主线。

  • Cloud Native DevOps with Kubernetes : 本书向开发人员和运维人员展示了如何在云原生环境中将行业标准 DevOps 实践应用于 Kubernetes。

Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

获取方式:公众号后台回复:devops

  • Gorilla Guide to Kubernetes in at The at The Enterprise : Gorilla published a booklet for guidance on how to deploy and maintain Kubernetes in a production environment, including how to deploy high-availability control plane, how to integrate monitoring tools and how to cluster upgrade online.

Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

Access: Public Number backstage reply: gorilla


Cloud native Weekly No. 1 | 2019-06-24 ~ 2019-06-28

Guess you like

Origin blog.51cto.com/12336103/2421948