AWS helmchart包适CCE

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

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

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

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

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

相关推荐
DS小龙哥3 小时前
基于ESP32设计的智能养蜂监测系统
stm32·单片机·嵌入式硬件·物联网·华为云
AOwhisky4 小时前
学习自测与解析:MySQL第五、六、七期核心知识点详解
运维·数据库·笔记·学习·mysql·云计算
上海达策TECHSONIC7 小时前
零售ERP选型解析:SAP Business One 适配成长型零售企业的核心逻辑
大数据·运维·人工智能·云计算·运维开发·零售
阿里-于怀7 小时前
阿里云 Agent Infra 上长出的约束基建
阿里云·云计算·agent·starops
2601_961875247 小时前
高考真题电子版|2025高考全科真题分类PDF
金融·pdf·云计算·azure·七牛云存储·交友·高考
Full Stack Developme7 小时前
计算机加密与解密的历史
运维·服务器·网络·云计算
阿里云瑶池数据库7 小时前
阿里云RDS Agent Manager正式上线,为规模化AI Agent而生的企业级数据管理平台
人工智能·阿里云·云计算
测试狗科研平台8 小时前
第一性原理CO2还原反应计算流程和软件推荐
科技·算法·云计算
翼龙云_cloud8 小时前
腾讯云代理商:2026如何使用腾讯云CloudBase AI Builder 搭建个人博客?
人工智能·云计算·腾讯云·ai智能体
翼龙云_cloud8 小时前
阿里云代理商:部署 DeepSeek V4-Flash解析 快速部署与性能优化
运维·阿里云·性能优化·云计算·ai智能体