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

相关推荐
有谁看见我的剑了?8 小时前
VMware OVF Tool 工具安装学习
云计算
故乡de云19 小时前
Google Cloud与AWS大数据AI服务对比:2026年企业选型指南
大数据·人工智能·aws
盛夏52019 小时前
Docker容器化部署SpringBoot+Vue项目:从零到一在阿里云宝塔面板的实践指南
阿里云·docker·云计算
狐5721 小时前
2026-01-10-云计算问答题部分整理-期末复习
云计算·期末复习
2401_861277551 天前
中国电信星辰AI大模型有哪些主要功能
人工智能·云计算·软件工程·语音识别
uesowys1 天前
华为云智能体平台 | 搭建智能问答助手
华为云
万博智云OneProCloud1 天前
VMware 到华为云容灾实战教程:基于 HyperBDR 的云灾备方案
华为云
Akamai中国2 天前
基准测试:Akamai云上的NVIDIA RTX Pro 6000 Blackwell
人工智能·云计算·云服务·云存储
oMcLin2 天前
如何在 Ubuntu 22.04 LTS 上部署并优化 OpenStack 云计算平台,实现多租户虚拟化与弹性伸缩?
ubuntu·云计算·openstack
Tob管理笔记2 天前
建筑业如何精准开拓优质客户?技术驱动下的方法论与实践
大数据·云计算·数据库开发