Cloud Native Foundation - Overview
|Word Count:196|Reading Time:1mins
基本概念
- 在包括公有云、私有云、混合云等动态环境中构建和运行规模化应用的能力
- 云原生是一种思想,是技术、企业管理方法的集合
- 技术层面
- 应用程序从设计之初就为在云上运行而做好准备
- 云平台基于自动化体系
- 流程层面
- 基于 DevOps CI/CD
- 技术层面
- 基于多种手段
- 应用容器化封装
- 服务网格
- 不可变基础设施
- 声明式API - 核心 + 标准
- 意义
- 提升系统的适应性、可管理性、可观测性
- 使工程师能以最小成本进行频繁和可预测的系统变更
- 提升速度和效率,助力业务成长,缩短I2M(Idea to Market)
核心项目
Author: zhongmingmao
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Related Articles

2022-12-24
Security - OPA Core
Glance Use OPA for a unified toolset and framework for policy across the cloud native stack. Use OPA to decouple policy from the service’s code so you can release, analyze, and review policies without sacrificing availability or performance. Declarative Express policy in a high-level, declarative language that promotes safe, performant, fine-grained controls. Use a language purpose-built for policy in a world where JSON is pervasive. Iterate, traverse hierarchies, and apply 150+ built-ins like string man...

2022-12-15
Kubernetes - DevOps
基本概念流程概览 实现自动化,最核心的投入为编写测试用例 分支管理 提交 PR 时会触发 CI Pipeline;生产系统版本不能直接使用 master 分支(最新代码),而是要基于 Release 分支 CICD CI CD GitOps 一切皆代码,通过 Git 来触发 Ops Jenkins Jenkins 不是云原生 Container CI 需要保证 CI 构建环境和开发环境的统一 使用容器作为标准的构建环境,将代码库作为 Volume 挂载进容器 需要在构建容器中执行 docker build 命令,即 Docker in Docker = DIND Kubernetes CI Jenkins 可以被容器化(on Kubernetes),并支持 Cloud Provider,通过插件的方式支持 Kubernetes https://github.com/jenkinsci/kubernetes-pluginJenkins plugin to run dynamic agents in a Kubernetes/Docker environme...

2021-06-22
Kubernetes -- 应用开发视角
云原生架构Cloud Native App Applications adopting the principles of Microservices packaged as Containers orchestracted by Platforms running on top of Cloud infrastructure, developed using practices such as Continous Delivery and DevOps. 云演进史 Kubernetes目标 Kubernetes本质上是为了简化微服务的开发和部署,解决微服务的公共关注点 架构 架构模式:Master-Slave Node可以是物理机也可以是虚拟机 Master(为保证HA,Master也是多节点部署,但真正做调度决策的只有一个Master节点,因此涉及到选主) etcd(单独部署) 基于KV的分布式存储,底层采用Raft协议,保存Kubernetes的状态数据 API Server 对外提供操作和获取Kubernetes集群资源的API,唯一可以操作etcd的组件 – 被Google和Re...

2022-11-01
Kubernetes - StatefulSet
Stateful 任何应用都是有状态的 无状态应用:应用的状态信息不重要,即便不恢复也能正常运行,如 Nginx 有状态应用:应用的状态信息很重要,如 Redis、MySQL 等,其状态即在内存、磁盘上产生的数据 Kubernetes 认为状态不仅仅是数据持久化,还包括多实例的启动顺序、依赖关系和网络标识等 Stateless - Deployment:多个实例之间无关,启动顺序不固定,Pod 的名称、IP 地址也是完全随机 Stateful - StatefulSet:多个实例之间存在依赖关系 使用1234567$ k api-resources --api-group='apps'NAME SHORTNAMES APIVERSION NAMESPACED KINDcontrollerrevisions apps/v1 true ControllerRevisiondaemonsets ds apps/v1 true...
2022-09-24
Apollo - Architecture
ServerArchitecture 逻辑视图,Software Load Balancer 即 Nginx Module Module Desc Note Config Service 服务对象:Client配置获取接口:推送 + 拉取 Admin Service 服务对象:Portal配置管理接口:修改 + 发布 Client 应用获取配置,实时更新通过 Meta Server 获取 Config Service 服务列表客户端软负载 Portal 配置管理界面通过 Meta Server 获取 Admin Service 服务列表客户端软负载 Eureka 服务注册与发现Config Service 和 Admin Service 向 Eureka 注册并保持心跳与 Config Service 一起部署 Meta Server Eureka Proxy逻辑角色,与 Config Service 一起部署Client 通过域名访问 Meta Server 获取 Config Service 服务列表Portal 通过域名访问 Meta Server ...

2021-06-19
Graal VM:云原生时代的Java(转载)
Announcement
Things are always unexpected!





