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

相关推荐
AKAMAI7 小时前
Akamai 宣布与Anthropic达成 116 亿美元多年期协议,以支持其日益增长的需求
人工智能·云计算
workflower15 小时前
手术机器人市场发展阶段
大数据·人工智能·机器人·云计算·无人机
yichengerp19 小时前
中小电子厂用什么ERP?电子厂ERP管理软件实施要点与易呈方案推荐
大数据·运维·人工智能·云计算·制造
励志师code19 小时前
RoCE 网络实战:从 NCCL 调优到 RDMA 硬件计数器排障
linux·运维·网络·云计算
腾讯云大数据19 小时前
本体立骨架,语义供刻度——DataBuddy对企业AI语义架构的一次完整回答
大数据·人工智能·架构·云计算·腾讯云
KIDULT°1 天前
MySQL系列 (1):数据库原理
运维·数据库·mysql·云计算
yichengerp2 天前
电子行业常用erp系统有哪些?推荐适合中小电子厂的易呈erp软件,操作简单,易落地
大数据·运维·人工智能·云计算·制造
做运维的阿瑞2 天前
公有云算力布局的技术逻辑与工程实践
微服务·云计算·csdn开发云
朱包林2 天前
iTerm2终端配置指南
linux·javascript·python·云原生·容器·kubernetes·云计算
酒神dnspup2 天前
IPv6 网站访问异常怎么查?DNSPup 双栈检测、DNS 与端口排障指南
运维·云计算·域名·dns·dnspup