更新时间:2026-01-04 gmt 08:00

配置demo-j9九游会登录

配置demo:

# resources.yaml
- name: sdkcluster
  type: wisecloud::microservice::nuwacontainer
  properties:
    microservicename: wisecloudnuwasdk    # sts证书中服务的名称
    replicas:
      $ref: 'config/values.yaml#/values/replicas'
    terminationgraceperiodseconds: 30
    network:
      slbenable:
        $ref: 'config/values.yaml#/values/slbenable'
      isolateddomain: xxx
    volumes:
      - name: log_volume
        size: 10gi
        type: local
      - name: data_volume
        size: 2gi
        type: local
    containers:                          # 微服务基于容器化的部署
      - image:
          $ref: 'config/values.yaml#/values/image'
        flavor: 2c4g
        stsenable: true
        ports:
          - 8080
        livenessprobe:
          httpget:
            path: /health.html
            port: 8080
            scheme: http
          initialdelayseconds: 20
          timeoutseconds: 3
          periodseconds: 10
          successthreshold: 1
          failurethreshold: 3
        readinessprobe:
          httpget:
            path: /health.html
            port: 8080
            scheme: http
          initialdelayseconds: 20
          timeoutseconds: 3
          periodseconds: 10
          successthreshold: 1
          failurethreshold: 10
        prestopconfig:
          execcommand: ["/bin/bash", "-c", "sleep 20"]
        envs:
          $ref: 'config/envs.yaml#'
        hostaliases:
          - hostname: "a.b.com"
            ip: "1:1:1:1:1:1:1:1"
          - hostname: "c.d.com"
            ip: "2.2.2.2"
	certconfigs:                      # 可选
          - name: console
            tag: default
    configs:
      $ref: 'config/business_config.yaml#'
    daemonset: 
      - name: aiops
        enable: true
        logpath: '/opt/huawei/logs'
        limitsize: 100g
        groups: ["logconfiggroupname"]
      - name: bi
        enable: false
        logpath: '/opt/huawei/logs/bi'
        groups: ["ods_v001_dm_service1", "ods_v001_dm_service2"]
    sidecars:
      - name: aiopslog
        version: 1.11.3.100
        flavor: 0.4c500m
        param:
          $ref: 'config/sidecar_aiops_param.json'
       - name: rasp
        version: 2.2.0.102.sp5
        flavor: 0.3c500m
    bindslb:
      - port: 8080
        graystatus: 1
        weight: 20
        maxfails: 3
        timeout: 20
        instancename: chaos_slb_listener_lhq
        listenergroupname: chaos_slb_listener_lhq
        targetgroup:
          name: chaosmonekey_portal_static
# business_config.yaml 
public:
  prefix: /com.huawei.wiseeye
  name: public5
private:
  schema:
    type: object
    properties:
      aiopsconfig_aiopsserver:
        format: notype
      aiopsconfig_aiopstokenuri:
        format: sensitive
  records:
    aiopsconfig_aiopsserver: 'https://xx.xx.xx.xx:xxxx/'
    aiopsconfig_aiopstokenuri: openapi/xxx/xxx/

相关文档

网站地图