当前位置: 首页 > news >正文

AWS helmchart包适CCE

MD@[TOC](AWS helmchart包适配cce修改示例(简易版))

AWS helmchart包适配cce修改示例(简易版)

将原本部署在aws上的helm包在cce上进行安装部署,部分参数需与华为云cce进行适配

以客户侧reputation-cloud-0.0.8包为例,具体修改项主要包括镜像、存储、配置项等参数
步骤一: 对values.yaml中参数进行如下修改

# Default values for maldium-cloud. 
# This is a YAML-formatted file. 
# Declare variables to be passed into your templates. image: registry: swr.cn-east-3.myhuaweicloud.com #对应华为云swr镜像仓库地址 repository: cloud-prod-tip #对应镜像所在组织 serverName: hitip/hitip-reputation-server #镜像名称    buildName: hitip-reputation-build tag: 1.0.1.3 #镜像版本 pullSecrets: [ ] pullPolicy: IfNotPresent 
livenessProbe: enabled: true path: /actuator/health/liveness initialDelaySeconds: 300 periodSeconds: 10 successThreshold: 1 failureThreshold: 3 timeoutSeconds: 10 
readinessProbe: enabled: true path: /actuator/health/readiness initialDelaySeconds: 5 periodSeconds: 5 successThreshold: 1 failureThreshold: 3 timeoutSeconds: 3 
service: port: 8080 
actuator: port: 8099 
network: hostAliases: { } 
scheduler: nodeSelector: { } affinity: { } tolerations: { } 
ingress: className: nginx host: api.hitip.asiainfo-sec.com secret: '' enabled: http: true https: true 
pvc: storageSize: 10Gi storageClassName: csi-disk-topology #此处为存储类型对应原本参数aws上的gps 
resources: limits: cpu: 1000m memory: 512Mi requests: cpu: 2000m memory: 2Gi 
replicas: 1 
reputation: hash: url: http://hitipapimd.prd.lan/v1/ token: '' otx: apiKey: '' awsS3Secret: reputation-s3 #此处为应用中所需用到secret,由用户自行提供 redisSecret: hitip-reputation-redis-spring #此处为应用中所需用到secret,由用户自行提供 hitipAuthVerify

步骤二:上传helm至cce控制台应用模板,通过应用模板进行部署应用
参考链接:https://support.huaweicloud.com/usermanual-cce/cce_10_0146.html

http://www.dtcms.com/a/569300.html

相关文章:

  • 【LeetCode】98. 验证二叉搜索树
  • 摄影师网站html52017 wordpress宽屏主题
  • 【软件安全】什么是XSS(Cross-Site Scripting,跨站脚本)?
  • 2025年Java面试指南(持续更新)
  • leetcode 190. 颠倒二进制位 python
  • 网站用什么域名东莞网络营销策划
  • springboot 工具类 日期时间列表工具类详解:高效处理日期范围的利器
  • MYSQL第四次作业
  • 某游戏大厂分布式系统经典实战面试题解析
  • 某游戏大厂计算机网络面试问题深度解析(一)
  • C#基础:如何从现有类库复制一个新的类库,并且加入解决方案
  • C# 中 Entity Framework (EF) 和 EF Core 里的 `AsNoTracking` 方法
  • 基于视觉分析的加油站通话行为安全预警系统 构建加油安全新防线 通话行为模式识别 边缘计算通话动作监测设备
  • Traefik vs Spring Cloud:微服务架构的两种截然不同的技术路线
  • 郑州百度seo网站优广州网站开发外包哪家好
  • 高端网站建设推来客网络做seo推广公司
  • 数据挖掘6-AI总结
  • 网站首页域名如何设置访问快宿迁沭阳网站建设
  • 数据结构 —— 栈
  • 微信小程序开发案例 | 个人相册小程序(下)
  • 网站域名账号网址申请注册
  • 电商 API 数据交互最佳实践:JSON 格式优化、数据校验与异常处理
  • 重庆网站建设 沛宣织梦cms 官方网站
  • 零基础新手小白快速了解掌握服务集群与自动化运维(十七)ELK日志分析模块--Elasticsearch介绍与配置
  • 如何使用elasticdump进行elasticsearch数据还原
  • 【运维记录】Centos 7 基础命令缺失
  • 手写 RPC 框架
  • etcd 高可用分布式键值存储
  • 【ETCD】ETCD单节点二进制部署(TLS)
  • 小网站 收入请简述网站制作流程