09-harbor助你玩转云原生-邹佳v1.0 by CNCF 容器-更轻量级和灵活的虚拟化 镜像-应用软件打包与分发 OCI: https://opencontainers.org/ OCI制品(artifact):镜像,Helm Chart,CNAB,OPA bundle等等 云原生与制品管理 [2] Registry: •制品存储仓库 •分发制品的媒介 •访问控制与管理的节点 初识Harbor [1] 官方网站:goharbor 所需镜像皆打包在离线 包内 1 在线安装包 • 通过Docker-compose编 排运行 • 所需镜像从Dockerhub 来拉取 2 Helm Chart • 通过Helm来安装 • 目标为K8s集群 • 仅聚焦Harbor组件安装 • goharbor/harbor-helm 3 K8s Operator • 通过K8s CRD实现编排 • 目标为K8s集群 • 专注于HA模式支持 • goharbor/harbor- export DOCKER_CONTENT_TRUST_SERVER=https://:4443 制品安全分发-签名 [2] Harbor基于Helm社区支持的GPG实现对Helm V2 chart的签名支持 helm package --sign --key 'my signing key' --keyring path/to/keyring.secret mychart 0 码力 | 32 页 | 17.15 MB | 6 月前3
Curve Cloud NativeCAPABILITY LEVEL CURVE COMMENT BASIC INSTALL Y (by Helm) automated application provisioning and configuration management SEAMLESS UPGRADES Y (by Helm) patch and minor version upgrads supported FULL LIFECYCLE uninstall/ upgrade and configure CurveBS/CurveFS through helm chart • upgrade automation • Supporting Curve Cluster provisioning in helm chart • metadata backup and recovery • MDS / ChunkServer should0 码力 | 9 页 | 2.85 MB | 6 月前3
Operator Pattern 用 Go 扩展 Kubernetes 的最佳实践= CRD + control loop, i.e, Declaretive API + Automation; kubebuilder + controller-runtime + helm Operator Capability Levels Installation of the workload • Operator deploys an Operand or configures Operator Control Loop(即 Reconcile 函数) 如何实现 5. 熟悉如何生成二级资源(Managed Resource) 6. 熟悉如何写 UT 7. 熟悉如何制作 Helm Chart 课后思考题: 1. 如何不启动 WebHook? 2. API 只要用 Go 写就可以了吗,需要修改对应的 YAML 文件吗? 3. Setup 阶段,用 Watch 函数取代 Owns0 码力 | 21 页 | 3.06 MB | 9 月前3
Apache Pulsar,云原生时代的消息平台 - 翟佳
streamnative.io 基础决定上层:Cloud-Native • State / Scale / Storage https://github.com/apache/pulsar-helm-chart streamnative.io 基础决定上层:Cloud-Native https://streamnative.io/blog/release/2020-08-18-announc0 码力 | 39 页 | 12.71 MB | 6 月前0.03
Nacos架构&原理
com/nacos-group/nacos-docker/tree/master/example 中进行查 看。 Kubernetes 使用 Nacos-k8s 项目包含了三种类型的部署方式, 原生部署、Helm 部署、以及利用 Operator 开发的 Nacos-Operator 部署, 本文演示如何通过 Operator 方式把 Nacos 集群在 Kubernetes 部署起 来。 Operator 多功能) 支持 Helm 部署 145 > Nacos 生态 1. 下载 nacos-k8s 工程 git clone https://github.com/nacos-group/nacos-k8s.git 2. 进入 operator 目录, 直接使用 helm 方式安装 operator helm install nacos-operator ./chart/nacos-operator0 码力 | 326 页 | 12.83 MB | 9 月前3
DEDUCING this PATTERNSfunc! } };CONSIDER "TEMPLATE METHOD" Recall the template method pattern (Design Patterns, Gamma/Helm/Johnson/Vlissides pp 325-330) struct Base { auto TemplateMethod() { PrimitiveOperation1(); ... }; };TEMPLATE METHOD WITH P0847 Recall the template method pattern (Design Patterns, Gamma/Helm/Johnson/Vlissides pp 325-330) Notice: this is morally equivalent to CRTP. template0 码力 | 126 页 | 5.15 MB | 6 月前3
TiDB中文技术文档,但是手动修改比较繁琐而且容易出错,强烈建议使用 Helm 模板引擎生成 docker-compose.yml 文件。 使用 Docker Compose 快速构建集群 准备环境 快速部署 自定义集群 Docker Compose 部署方案 - 229 - 本文档使用 书栈(BookStack.CN) 构建 1. 安装 Helm Helm 可以用作模板渲染引擎,只需要下载其 binary 文件即可以使用。 1. curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash 如果是 Mac 系统,也可以通过 Homebrew 安装: 1. brew install kubernetes-helm 2. 下载 tidb-docker-compose 1. git clone https://github buildFrom 为 local ,并将 tidb-vision 项目拷贝到 tidb-vision/tidb-vision 。 4. 生成 docker-compose.yml 文件 1. helm template -f values.yaml compose > generated-docker-compose.yml 5. 使用生成的 docker-compose.yml 创建并启动集群0 码力 | 444 页 | 4.89 MB | 6 月前3
A Physical Units Library for the Next C++66templateCharT, std::size_t N> struct basic_fixed_string { CharT data_[N + 1] = {}; // has to be public to be a structural type using iterator = CharT*; using const_iterator = const CharT*; constexpr basic_fixed_string(CharT ch) noexcept; constexpr basic_fixed_string(const CharT (&txt)[N + 1]) noexcept; [[nodiscard]] constexpr std::size_t size() const noexcept; [[nodiscard]] constexpr const CharT* c_str() c_str() const noexcept; [[nodiscard]] constexpr const CharT& operator[](std::size_t index) const noexcept; [[nodiscard]] constexpr CharT operator[](std::size_t index) noexcept; [[nodiscard]] constexpr 0 码力 | 172 页 | 6.17 MB | 6 月前3
Unraveling string_view: Basics, Benefits, and Best Practices, String splitting. 8 Performance benefits9 namespace std { templateCharT, class Traits = std::char_traits<CharT>> class basic_string_view; } It is present in header There are basic_string_view& other) noexcept = default; constexpr basic_string_view(const CharT* s, size_type count); constexpr basic_string_view(const CharT* s); No move constructor, so what happens when someone uses std::move string_view sv(s); string has a conversion operator to string_view. operator std::basic_string_view<CharT, Traits>() const noexcept; 10 C++17 ConstructorsC++20 Constructors 11 template 0 码力 | 61 页 | 1.11 MB | 6 月前3
Chaos Mesh让应用与混沌在 Kubernetes 上共舞-杨可奥Chaos Mesh Cloud Native ● 在 Kubernetes 上运行,被测对象也运行在 Kubernetes 上 ● 测试的最小单元是 Pod 或 Container ● 使用 Helm 一键部署 友善的接口 ● 实验是作为 Kubernetes Custom Resource 管理的 友善的接口 强大的工具箱 ● PodChaos: kill / fail / ...0 码力 | 30 页 | 1.49 MB | 9 月前3
共 44 条
- 1
- 2
- 3
- 4
- 5













