
Modifications have been made in the containers of the snmp-armada-app, and deployment and values files of helm chart package. The following changes are made: 1. Bootstrap.sh scripts of snmp trap-subagent and sub-agent were modified to waits until the master agent container is up, to intialize them. 2. Add an environment variable to set the maxium numer or tries until raise a communication error and restart the pod. 3. Add other environment variables for testing purpose that can be modified with a helm override, like the master agent address and port. 4. Add an init_container in the snmp pod thats applies a delay when de pod starts, to solve ColdStart traps missing. Closes-Bug: 1943612 Signed-off-by: Jorge Saffe <jorge.saffe@windriver.com> Change-Id: I2cd4a6309e99ba73257253077dc13b3b725043dd
56 lines
1.2 KiB
YAML
Executable File
56 lines
1.2 KiB
YAML
Executable File
# Default values for snmp.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: docker.io/starlingx/stx-snmp
|
|
tag: stx.5.0-v1.0.0
|
|
pullPolicy: IfNotPresent
|
|
subagent_name: sub-agent
|
|
repository_subagent: docker.io/starlingx/stx-fm-subagent
|
|
tag_subagent: stx.5.0-v1.0.0
|
|
pullPolicy_subagent: IfNotPresent
|
|
trap_subagent_name: trap-subagent
|
|
repository_trap_subagent: docker.io/starlingx/stx-fm-trap-subagent
|
|
tag_trap_subagent: stx.5.0-v1.0.1
|
|
pullPolicy_trap_subagent: IfNotPresent
|
|
debug: ''
|
|
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
configmap:
|
|
name_snmpd: snmpd-etc-config
|
|
name_fm: snmpd-fm
|
|
user_conf: '# User configuration'
|
|
system_description: ''
|
|
system_contact: ''
|
|
system_name: ''
|
|
system_location: ''
|
|
connection: ''
|
|
|
|
deployment:
|
|
master_agent_host: localhost
|
|
master_agent_port: 705
|
|
master_agent_connection_retries: 20
|
|
|
|
service:
|
|
name: snmpd-service
|
|
type: NodePort
|
|
|
|
livenessProbe:
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
failureThreshold: 1
|
|
|
|
readinessProbe:
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
failureThreshold: 1
|