开源多集群应用治理项目Clusternet 在多点生活的云原生实践clusterA: blue: chart: "****:v2" values: "{\"replicaCount\": 2, \"resource\":\"...\"}" green: values: "{\"replicaCount\": 2, \"resource\":\"...\"}" - clusterB: blue: values: "{\"replicaCount\": 2, \"}" canary: values: "{\"replicaCount\": 1, \"resource\":\"...\"}" AdvDeployment: spec: blue: chart: "****:v2" values: "{\"replicaCount\": 2, \"resource\":\"...\"}" green: values: "{\"replicaCount\":0 码力 | 22 页 | 17.18 MB | 1 年前3
Taming Istio
Configuration with HelmDefine applications ● Install ● Upgrade ● Roll back https://helm.sh #IstioCon What is Helm? values .yaml Helm Chart > helm install my-application #IstioCon Helm has a polarizing reputation ● with Helm! values .yaml go- template > helm template my-service | kubectl apply -f - k8s yaml Istio yaml k8s yaml Istio yaml k8s yaml Istio yaml Sprig functions Native functions Values Chart Files create my-service --starter helm-starter-istio/mesh-service Helm Starter Istio yaml Istio yaml values. yaml go- template #IstioCon Helm starter Istio An Istio optimized Helm starter ● Mesh-service0 码力 | 19 页 | 867.72 KB | 1 年前3
The Many Faces of Struct Tags`stated_priorities` } x := Candidate{} y := VocalCandidate(x) // <-- not allowed Why? ● Attach arbitrary values to your fields ● Provided without a specific use case Namespacing What is it? A mechanism for it's easier to decode some data into a map first, then pull it into a struct based on one of its values. Command-line Configuration github.com/jessevdk/go-flags What is it? Alternative to Go's builtin used Why? Convenience, personal preference Default Values http://github.com/mcuadros/go-defaults Library for setting non-zero default values of a type. Benefits Simplify your initializers. Lets0 码力 | 18 页 | 148.80 KB | 1 年前3
Helm 及Helm 应用仓库简介李辉— KubeSphere - 云原生实战• 安装 Harbor 1. helm repo add harbor https://helm.goharbor.io 2. helm fetch harbor/harbor 3. 修改 values.yaml 4. helm install my-harbor harbor -n harbor 5. helm list -n harbor 6. 登录 harbor, 默认账户密码 admin: QingCloud 如何开发一个 Helm 应用 • helm create hello-chart: 创建 Chart 目录 chart.yaml: 声明了当前 Chart 的名称、版本等基本信息 values.yaml: 提供应用安装时的默认参数 templates/: 包含应用部署所需要使用的YAML 文件,比如 Deployment 和 Service等 charts/: 当前 Chart0 码力 | 9 页 | 2.48 MB | 1 年前3
带给你“一份应用需求定义,到处交付”的云原生交付体验自适配云组件配置&规格 声明式 服务规格需求 需求自适配 需求自适配 On Premise On VPC eg. Kube DB • Chart Version选择 • Chart Values自适配 Helm Chart 云资源规格精准过滤匹配 交付资源生产 Cross-Vendor 组件列表推荐 插件生态与运行时扩展 服务插件扩展体系 服务 组件 规格 运行时0 码力 | 16 页 | 30.13 MB | 1 年前3
云原生图数据库解谜、容器化实践与 Serverless 应用实操basketballplayer-2.X.ngql ��� (root@nebula) [basketballplayer]> insert edge serve(start_year,end_year) values "player150"->"team213":(2018, 2019); Execution succeeded (time spent 946/1091 us) Wed, 01 Sep 20210 码力 | 47 页 | 29.72 MB | 1 年前3
共 6 条
- 1













