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

相关推荐
翼龙云_cloud1 天前
亚马逊云代理商:三步用 CloudWatch 高效监控 AWS Lambda 日志
云计算·aws·云服务器
wb1891 天前
企业级MySQL重习
数据库·笔记·mysql·adb·云计算
同聘云1 天前
阿里云国际站 服务器的“客户端” (Client) 和 “服务器” (Server)到底是什么?有什么区别?
服务器·网络·阿里云·云计算·云小强
wb1891 天前
docker-ce容器技术重习
运维·笔记·docker·容器·云计算
A-刘晨阳1 天前
麒麟v10桌面版2403版本运行程序提示权限不足(KYSEC)
运维·云计算·操作系统·银河麒麟·麒麟桌面系统
红目香薰1 天前
Ascend C 算子:Sigmoid 函数原理深入解析与工程化构建及验证
c语言·开发语言·华为·华为云·昇腾·cann·modelarts
zhojiew1 天前
关于AWS Direct Connect with Transit Gateway和Direct Connect Gateway
云计算·gateway·aws
观测云1 天前
AWS DevOps Agent 接入观测云最佳实践
aws·devops·可观测性·观测云
牛奶咖啡132 天前
DevOps自动化运维实践_ansible-playbook的应用
自动化·云计算·ansible·devops·playbook·playbook的常见使用示例·playbook变量主机命令