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

相关推荐
在水一缸6 小时前
苹果AI国行版过审背后的技术架构深度解析:端侧模型与私有云计算的融合实践
人工智能·架构·云计算·技术架构·苹果ai·端侧模型·私有云计算
Geek-Chow8 小时前
ALB SSL policy conflict (AWS Load Balancer Controller)
网络协议·ssl·aws
spider_xcxc9 小时前
K8s 部署学习笔记
docker·容器·kubernetes·云计算·k8s
hz5678910 小时前
音视频技术SDK选型指南:企业实时互动场景的关键能力解析
网络·云计算·音视频·实时音视频·信息与通信
A-刘晨阳12 小时前
低配N1也能搭家庭录像中心:Go2RTC与EasyNVR双容器实战
运维·云计算·cpolar
2601_955759721 天前
AWS 账号能转成企业账号吗?NiceCloud 把变更要点说清楚
云计算·aws
2601_955759881 天前
AWS 一个邮箱能注册几个账号?NiceCloud 说明管理规则
云计算·aws
陈天伟教授1 天前
华为云 阿里云 腾讯 WorkBuddy的工具对比
阿里云·华为云·云计算
曾阿伦1 天前
Windows 下运行 Hadoop 并部署到 AWS EMR 指南
hadoop·windows·aws
北极糊的狐1 天前
18使用腾讯云「云存储 + 静态网站托管」旧模式搭建复盘
云计算·腾讯云