0% found this document useful (0 votes)
91 views3 pages

Billcollection Config Manifest

The document defines the configuration for a billcollection application including defining affinity rules, compute resources, environment variables, sidecars, volumes, and other deployment settings. It specifies that the billcollection application will have anti-affinity rules, use 2 CPUs and 2GB of memory, mount various configmaps and NFS volumes, and include a sidecar container running a CIM image. The configuration deploys the application in a stateful set across multiple nodes.

Uploaded by

Anirudh Mittal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views3 pages

Billcollection Config Manifest

The document defines the configuration for a billcollection application including defining affinity rules, compute resources, environment variables, sidecars, volumes, and other deployment settings. It specifies that the billcollection application will have anti-affinity rules, use 2 CPUs and 2GB of memory, mount various configmaps and NFS volumes, and include a sidecar container running a CIM image. The configuration deploys the application in a stateful set across multiple nodes.

Uploaded by

Anirudh Mittal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

affinityrules:

- constraints:
- {target: -host, type: infrastructure}
name: anti_affinity_on_host
apphooks: {postdestroy: python3 postdestroy.py, precreate: python3.4 precreate.py}
billcollection:
affinityrules: [anti_affinity_on_host]
annotations: {mtcil.com/tmaas: '''{ "vendorId": "mvnr", "mtcilId": "mtcil",
"nfClass":
"appln", "nfType": "billing", "nfId": "billing1", "nfServiceId": "bcs",
"nfServiceType":
"bcs" }''', mtcil.com/tmaas.nf.nfVersion: '"1.8.1-1"',
mtcil.com/tmaas.nf.nfs.count: '"9"',
mtcil.com/tmaas.nf.nfs.nfsi.minReady: '"3"', nwFnPrefix: '{{POD_NS}}',
prometheus.io/path: actuator/prometheus,
prometheus.io/port: '"8081"', prometheus.io/scrape: '"false"',
sidecar.istio.io/inject: '"true"',
svcVersion: v1, topogw.fqdn: 'mtcil-topo-gw-np-0.
{{APP_NS}}.svc.cluster.local:8080'}
compute:
cpu: {cores: 2, isol: false, reserve: false}
memory: 2G
env:
BC_GRPC_ACCOUNT_ADDRESS: "billaccounting.{{APP_NS}}.svc.cluster.local"
BC_GRPC_ACCOUNT_PORT: "7000"
BC_GRPC_SCHEDULER_ADDRESS: "billscheduler.{{APP_NS}}.svc.cluster.local"
BC_GRPC_SCHEDULER_PORT: "9093"
BC_KAFKA_TOPIC_PAYMENT_GATEWAY: "PaymentUpdt"
BC_KAFKA_TOPIC_SCHEDULER: "BS_SCHEDULER_BILLCOLLECTION"
COUCHbcsE_BUCKET_NAME: "billing"
COUCHbcsE_CONNECTION_ADDRESS: "crdl-service.{{APP_NS}}.svc.cluster.local"
COUCHbcsE_USER_NAME: ""
CUCHbcsE_PASSWORD: ""
KAFKA_CONNECTION_ADDRESS: 'mtcil-kafka-cl-0.{{APP_NS}}.svc.cluster.local:9092'
KAFKA_GROUP_ID: "group_billing_collection"
SPRING_PROFILES_ACTIVE: "dev"
SW_AGENT_COLLECTOR_BACKEND_SERVICES: "sixthsense-collector.t070-
u000209.svc.cluster.local:11800"
TZ: "Asia/Tokyo"
hpa:
metrics:
- pods:
metric: {name: cpu_usage}
target:
averageValue: 500m
type: AverageValue
type: Pods
- resource:
name: memory
target: {averageUtilization: 50, type: Utilization}
type: Resource
image: {engine: docker, entrypoint: entry.sh, imagePullPolicy: IfNotPresent,
init_mode: false,
name: mavenir/b2b-bss/billcollection, version: rsg.sep20}
labels: {app: billcollection}
multinode: true
multinode_max: 3
multinode_min: 2
name: billcollection
norootfs: true
rolling_upgrade: true
services:
- annotations: {app: billcollection}
labels: {name: billcollection}
name: billcollection
ports:
- name: http
port: 8081
targetPort: 8081
- name: grpc
port: 9091
targetPort: 9091
scope: pod
type: ClusterIP
sidecars:
- command: [/bin/bash, -c, NatsSubFb]
env:
- name: MS_CONFIG_REVISION
valueFrom:
configMapKeyRef: {key: revision, name: bcs-v1-mgmt-cfg}
- name: K8S_POD_ID
valueFrom:
fieldRef: {fieldPath: metadata.name}
- name: K8S_NAMESPACE
valueFrom:
fieldRef: {fieldPath: metadata.namespace}
- name: MICROSERVICE_NAME
value: bcs
- name: NF_PREFIX
value: mvnr-mtcil1-appln-cgfm-cgfm1
- name: NF_TYPE
value: appln
- name: NF
value: cgfm
- name: ENV_SERVICE_ID
value: bcs-svc
- name: APP_PORT
value: '8081'
envFrom:
- configMapRef: {name: bcs-v1-env-cfg}
image: mavenir/b2b-bss/cim:v1.11
imagePullPolicy: Always
name: cim
resources:
limits: {cpu: 1, memory: 1Gi}
volumeMounts:
- {mountPath: /app/config/, name: bcs-config1}
- {mountPath: /opt/conf/, name: cim-config}
- {mountPath: /bss_mno/, name: nfs-volume1}
- {mountPath: /app/config2/, name: bcs-config4}
- {mountPath: /app/config3/, name: bcs-events}
volumes:
- configMap:
items:
- {key: config1.ini, path: config1.ini}
- {key: application.properties, path: application.properties}
- {key: application-dev.properties, path: application-dev.properties}
- {key: bootstrap.properties, path: bootstrap.properties}
- {key: log4j2.xml, path: log4j2.xml}
- {key: bcs-metrics.json, path: bcs-metrics.json}
- {key: config2.ini, path: config2.ini}
- {key: profiles.json, path: profiles.json}
name: bcs-v1-static-cfg
name: bcs-config1
- configMap:
items:
- {key: bcs-keystore.p12, path: bcs-keystore.p12}
- {key: bcs-truststore.p12, path: bcs-truststore.p12}
- {key: es-truststore.p12, path: es-truststore.p12}
- {key: vault-truststore.p12, path: vault-truststore.p12}
name: bcs-app-cert-config
name: bcs-config4
- configMap:
items:
- {key: events.json, path: events.json}
name: bcs-v1-eventdef-cfg
name: bcs-events
- configMap:
items:
- {key: cim.json, path: cim.json}
name: bcs-v1-mgmt-cfg
name: cim-config
- name: nfs-volume1
nfs: {path: /export/staging_mno/bss_mno/, server:
'[240b:c0e0:101:5582:ac00:2:0:c]'}
clone: enabled
name: billcollection
numa_aware: true
roles: [billcollection]
skip_headless_service: true
snapshot: enabled
version: '1.0'

##########################################

no confgig

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy