summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/etc/config.json
blob: dad24313f380cc8286e024653dbbdab65882e277 (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
{
    "version" : "1.0.0",
    "wservice_port" : 9443,
    "oti_handler" : {
        "system" : "oti_handler",
        "tls" : {
            "cert_directory" : "/opt/app/oti_handler/certificate",
            "cacert" : "/opt/app/oti_handler/certificate/cacert.pem",
            "private_key" : "tls.key",
            "server_cert" : "tls.crt",
            "server_ca_chain" : "tls.chain.crt"
        }
    },
    "logging" : {
        "version": 1,
        "disable_existing_loggers": false,
        "formatters": {
            "local": {
                "format": "%(asctime)s.%(msecs)03d %(levelname)+8s %(threadName)s %(name)s.%(funcName)s: %(message)s",
                "datefmt": "%Y%m%d_%H%M%S"
            }
        },
        "handlers": {
            "file": {
                "class": "logging.handlers.RotatingFileHandler",
                "formatter": "local",
                "filename" : "logs/oti_handler.log",
                "level": "DEBUG",
                "maxBytes": 200000000,
                "backupCount": 5,
                "delay": true
            }
        },
        "loggers": {
            "dti_handler" : {
                "handlers": ["file"],
                "propagate":false
            }
        },
        "root": {
            "handlers": ["file"]
        }
    }
}
="nt">initialDelaySeconds: 10 periodSeconds: 10 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container enabled: false readiness: initialDelaySeconds: 10 periodSeconds: 10 service: #Example service definition with external, internal and node ports. #Services may use any combination of ports depending on the 'type' of #service being defined. type: NodePort name: sdc-dcae-fe portName: dcae-fe nodePort: "63" internalPort: 8183 portName2: dcae-fe2 nodePort2: "64" internalPort2: 9444 ingress: enabled: false service: - baseaddr: "dcaedt" name: "sdc-dcae-fe" port: 8183 - baseaddr: "dcaedt2" name: "sdc-dcae-fe" port: 9444 config: ssl: "none" # Resource Limit flavor -By Default using small flavor: small # Segregation for Different environment (Small and Large) resources: small: limits: cpu: 1 memory: 4Gi requests: cpu: 10m memory: 1Gi large: limits: cpu: 2 memory: 8Gi requests: cpu: 20m memory: 2Gi unlimited: {}