summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-dr-node/values.yaml
blob: 154018a0187a62f40c7019e7982cb4c5a9e246f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Copyright © 2017 Amdocs, Bell Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#################################################################
# Global configuration defaults.
#################################################################
global:
  nodePortPrefixExt: 304
  readinessRepository: oomk8s
  readinessImage: readiness-check:2.0.0
  loggingRepository: docker.elastic.co
  loggingImage: beats/filebeat:5.5.0
  loggingDirectory: /opt/app/datartr/logs
  busyBoxImage: busybox:1.30
  busyBoxRepository: docker.io

#################################################################
# Application configuration defaults.
#################################################################
# application image
repository: nexus3.onap.org:10001
image: onap/dmaap/datarouter-node:2.1.0
pullPolicy: Always

# flag to enable debugging - application support required
debugEnabled: false

# application configuration - see parent values chart

# default number of instances
replicaCount: 1

nodeSelector: {}

affinity: {}

# probe configuration parameters
liveness:
  initialDelaySeconds: 30
  periodSeconds: 10
  # necessary to disable liveness probe when setting breakpoints
  # in debugger so K8s doesn't restart unresponsive container
  enabled: true

readiness:
  initialDelaySeconds: 30
  periodSeconds: 10

## Persist data to a persitent volume
persistence:
  volumeReclaimPolicy: Retain
  accessMode: ReadWriteMany
  mountPath: /dockerdata-nfs

  spoolMountSubPath: data-router/dr-node/spool-data
  spoolSize: 1Gi
  spoolPath: /opt/app/datartr/spool

  eventLogsMountSubPath: data-router/dr-node/event-logs
  eventLogSize: 1Gi
  eventLogsPath: /opt/app/datartr/logs

ingress:
  enabled: false

# Resource Limit flavor -By Default using small
flavor: small
# Segregation for Different environment (Small and Large)
resources:
  small:
    limits:
      cpu: 2000m
      memory: 4Gi
    requests:
      cpu: 500m
      memory: 1Gi
  large:
    limits:
      cpu: 4000m
      memory: 8Gi
    requests:
      cpu: 1000m
      memory: 2Gi
  unlimited: {}

config:
  # dr node server configuration
  dmaapDrNode:
    servicetype: NodePort
    name: dmaap-dr-node
    externalPort: 8080
    externalPort2: 8443
    internalPort: 8080
    internalPort2: 8443
    portName: dr-node-port
    portName2: dr-node-port2
    nodePort: 93
    nodePort2: 94

# dr provisioning server configuration
  dmaapDrProv:
    name: dmaap-dr-prov
    externalPort2: 8443
    internalPort2: 8443
) { .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Nested_1c1_scalling_instance
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
node_types:
  org.openecomp.resource.vfc.nodes.heat.1c1_scalling_instance:
    derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
  inputs:
    port_1c1_t1_port_exCP_naming:
      type: org.openecomp.datatypes.Naming
      required: true
    port_1c1_t2_port_vlan_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.VlanRequirements
    compute_1c1_scalling_instance_user_data_format:
      type: list
      required: true
      entry_schema:
        type: string
    port_1c1_t2_port_network_role_tag:
      type: string
      required: true
    vm_flavor_name:
      type: string
      required: true
    port_1c1_t1_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.IpRequirements
    vm_image_name:
      type: string
      required: true
    compute_1c1_scalling_instance_name:
      type: list
      required: true
      entry_schema:
        type: string
    port_1c1_t1_port_name:
      type: list
      required: true
      entry_schema:
        type: string
    port_1c1_t1_port_network:
      type: list
      required: true
      entry_schema:
        type: string
    port_1c1_t2_port_fixed_ips:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
    port_1c1_t2_port_network:
      type: list
      required: true
      entry_schema:
        type: string
    port_1c1_t1_port_fixed_ips:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
    port_1c1_t1_port_vlan_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.VlanRequirements
    port_1c1_t2_port_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.IpRequirements
    port_1c1_t1_port_mac_requirements:
      type: org.openecomp.datatypes.network.MacRequirements
      required: true
    index_value:
      type: integer
      description: Index value of this substitution service template runtime instance
      required: false
      default: 0
      constraints:
      - greater_or_equal: 0
    port_1c1_t2_port_network_role:
      type: string
      required: true
    port_1c1_t2_port_order:
      type: integer
      required: true
    port_1c1_t2_port_mac_requirements:
      type: org.openecomp.datatypes.network.MacRequirements
      required: true
    compute_1c1_scalling_instance_availability_zone:
      type: list
      required: true
      entry_schema:
        type: string
    port_1c1_t2_port_subnetpoolid:
      type: string
      required: true
    port_1c1_t2_port_name:
      type: list
      required: true
      entry_schema:
        type: string
    compute_1c1_scalling_instance_scheduler_hints:
      type: list
      required: true
      entry_schema:
        type: json
    port_1c1_t2_port_exCP_naming:
      type: org.openecomp.datatypes.Naming
      required: true
    port_1c1_t1_port_subnetpoolid:
      type: string
      required: true
    port_1c1_t1_port_network_role_tag:
      type: string
      required: true
    port_1c1_t1_port_network_role:
      type: string
      required: true
    port_1c1_t1_port_order:
      type: integer
      required: true
  node_templates:
    1c1_scalling_instance_1c1_t1_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        exCP_naming:
          get_input: port_1c1_t1_port_exCP_naming
        vlan_requirements:
          get_input: port_1c1_t1_port_vlan_requirements
        ip_requirements:
          get_input: port_1c1_t1_port_ip_requirements
        network_role_tag:
          get_input: port_1c1_t1_port_network_role_tag
        mac_requirements:
          get_input: port_1c1_t1_port_mac_requirements
        order:
          get_input: port_1c1_t1_port_order
        network_role:
          get_input: port_1c1_t1_port_network_role
        subnetpoolid:
          get_input: port_1c1_t1_port_subnetpoolid
        fixed_ips:
          get_input: port_1c1_t1_port_fixed_ips
        name:
          get_input:
          - port_1c1_t1_port_name
          - index_value
        network:
          get_input:
          - port_1c1_t1_port_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: 1c1_scalling_instance
          relationship: tosca.relationships.network.BindsTo
    1c1_scalling_instance:
      type: org.openecomp.resource.vfc.nodes.heat.1c1_scalling_instance
      properties:
        availability_zone:
          get_input:
          - compute_1c1_scalling_instance_availability_zone
          - index_value
        flavor:
          get_input: vm_flavor_name
        image:
          get_input: vm_image_name
        name:
          get_input:
          - compute_1c1_scalling_instance_name
          - index_value
        scheduler_hints:
          get_input:
          - compute_1c1_scalling_instance_scheduler_hints
          - index_value
        user_data_format:
          get_input:
          - compute_1c1_scalling_instance_user_data_format
          - index_value
    1c1_scalling_instance_1c1_t2_port:
      type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
      properties:
        exCP_naming:
          get_input: port_1c1_t2_port_exCP_naming
        vlan_requirements:
          get_input: port_1c1_t2_port_vlan_requirements
        ip_requirements:
          get_input: port_1c1_t2_port_ip_requirements
        network_role_tag:
          get_input: port_1c1_t2_port_network_role_tag
        mac_requirements:
          get_input: port_1c1_t2_port_mac_requirements
        order:
          get_input: port_1c1_t2_port_order
        network_role:
          get_input: port_1c1_t2_port_network_role
        subnetpoolid:
          get_input: port_1c1_t2_port_subnetpoolid
        fixed_ips:
          get_input: port_1c1_t2_port_fixed_ips
        name:
          get_input:
          - port_1c1_t2_port_name
          - index_value
        network:
          get_input:
          - port_1c1_t2_port_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: 1c1_scalling_instance
          relationship: tosca.relationships.network.BindsTo
  outputs:
    1c1_scalling_instance_instance_name:
      type: list
      value:
        get_attribute:
        - 1c1_scalling_instance
        - instance_name
      entry_schema:
        type: string
    1c1_scalling_instance_1c1_t2_port_tenant_id:
      type: list
      value:
        get_attribute:
        - 1c1_scalling_instance_1c1_t2_port
        - tenant_id
      entry_schema:
        type: string
  substitution_mappings:
    node_type: org.openecomp.resource.abstract.nodes.1c1_scalling_instance
    capabilities:
      disk.device.latency_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.latency
      disk.ephemeral.size_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.ephemeral.size
      disk.root.size_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.root.size
      endpoint_1c1_scalling_instance:
      - 1c1_scalling_instance
      - endpoint
      disk.read.bytes_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.read.bytes
      network.outgoing.packets.rate_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.outgoing.packets.rate
      network.incoming.packets.rate_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.incoming.packets.rate
      disk.usage_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.usage
      memory.resident_1c1_scalling_instance:
      - 1c1_scalling_instance
      - memory.resident
      network.incoming.bytes.rate_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.incoming.bytes.rate
      cpu_1c1_scalling_instance:
      - 1c1_scalling_instance
      - cpu
      disk.write.bytes_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.write.bytes
      network.incoming.packets.rate_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.incoming.packets.rate
      network.incoming.bytes_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.incoming.bytes
      disk.write.bytes.rate_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.write.bytes.rate
      disk.device.allocation_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.allocation
      network.incoming.bytes.rate_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.incoming.bytes.rate
      feature_1c1_scalling_instance:
      - 1c1_scalling_instance
      - feature
      disk.device.write.requests.rate_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.write.requests.rate
      disk.read.bytes.rate_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.read.bytes.rate
      network.outpoing.packets_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.outpoing.packets
      scalable_1c1_scalling_instance:
      - 1c1_scalling_instance
      - scalable
      disk.device.read.bytes_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.read.bytes
      binding_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - binding
      disk.device.write.bytes_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.write.bytes
      disk.read.requests_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.read.requests
      network.incoming.packets_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.incoming.packets
      vcpus_1c1_scalling_instance:
      - 1c1_scalling_instance
      - vcpus
      network.outgoing.bytes_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.outgoing.bytes
      host_1c1_scalling_instance:
      - 1c1_scalling_instance
      - host
      disk.write.requests_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.write.requests
      feature_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - feature
      binding_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - binding
      disk.device.read.requests.rate_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.read.requests.rate
      attachment_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - attachment
      disk.device.read.bytes.rate_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.read.bytes.rate
      network.outgoing.packets.rate_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.outgoing.packets.rate
      disk.device.iops_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.iops
      disk.device.capacity_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.capacity
      disk.capacity_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.capacity
      disk.write.requests.rate_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.write.requests.rate
      cpu_util_1c1_scalling_instance:
      - 1c1_scalling_instance
      - cpu_util
      disk.device.read.requests_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.read.requests
      disk.device.write.bytes.rate_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.write.bytes.rate
      disk.device.write.requests_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.write.requests
      network.outgoing.bytes.rate_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.outgoing.bytes.rate
      network.outgoing.bytes_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.outgoing.bytes
      disk.latency_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.latency
      binding_1c1_scalling_instance:
      - 1c1_scalling_instance
      - binding
      disk.device.usage_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.device.usage
      network.incoming.packets_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.incoming.packets
      disk.allocation_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.allocation
      feature_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - feature
      memory.usage_1c1_scalling_instance:
      - 1c1_scalling_instance
      - memory.usage
      network.incoming.bytes_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.incoming.bytes
      network.outgoing.bytes.rate_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - network.outgoing.bytes.rate
      os_1c1_scalling_instance:
      - 1c1_scalling_instance
      - os
      disk.iops_1c1_scalling_instance:
      - 1c1_scalling_instance
      - disk.iops
      network.outpoing.packets_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - network.outpoing.packets
      attachment_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - attachment
      cpu.delta_1c1_scalling_instance:
      - 1c1_scalling_instance
      - cpu.delta
      memory_1c1_scalling_instance:
      - 1c1_scalling_instance
      - memory
      instance_1c1_scalling_instance:
      - 1c1_scalling_instance
      - instance
    requirements:
      dependency_1c1_scalling_instance:
      - 1c1_scalling_instance
      - dependency
      link_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - link
      dependency_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - dependency
      dependency_1c1_scalling_instance_1c1_t1_port:
      - 1c1_scalling_instance_1c1_t1_port
      - dependency
      link_1c1_scalling_instance_1c1_t2_port:
      - 1c1_scalling_instance_1c1_t2_port
      - link
      local_storage_1c1_scalling_instance:
      - 1c1_scalling_instance
      - local_storage