Skip to main content

Parameters

The plugin makes use of the following parameters:

cli Path delof binariothe openshift oc de openshiftbinary
user TuYour nombreuser de user name
password TuYour password
ip Ip deof tuyour entornoenvironment (rutacomplete completaroute conwith puerto)port)
project Proyectoopenshift de openshiftproject
mode Modo de envio del xml sending mode (dejarleave tentacle poras defecto)default)
tentacle ip Ip deof pandora ato lasend quedata enviar los datosto
tentacle port NúmeroTentacle deport puertonumber tentacle(por defecto:(default: 41121)
agent_openshift ParaTo habilitarenable estethis agente,agent, queit creacreates módulosmodules conwith elthe númeronumber deof deployments, services...etc. DejarloLeave ait to 1 parato habilitarlo.enable it.
agent_node ParaTo habilitarenable unone agenteagent porper cadanode. nodo.Leave Dejar enon 1 parato habilitarlo.enable it.
agent_pod ParaTo habilitarenable unone agenteagent por cadaper pod. DejarLeave enon 1 parato habilitarlo.enable it.
agent_pod_stats ParaTo habilitarenable unan agenteagent conwith lasthe métricasmetrics deof cadaeach pod. DejarLeave enon 1 parato habilitarlo.enable it.
agent_deployment ParaTo habilitarenable unone agenteagent por cadaper deployment. DejarLeave enon 1 parato habilitarlo.enable it.
agent_imagestreams ParaTo habilitarenable unan agenteagent conwith módulosmodules defor cadaeach imagestreams, elthe númeronumber deof imagestreams seis determinadetermined conwith top_imagestreams_count. DejarSet ato 1 parato habilitarlo.enable it.
agent_replication_controller ParaTo habilitarenable unan agenteagent quethat crearáwill uncreate móduloa pormodule cadafor each replication controller enin nuestroour entorno.environment. DejarLeave ato 1 parato habilitarlo.enable it.
agent_apiservice ParaTo habilitarenable unan agenteagent quethat crearáwill uncreate móduloa pormodule cadafor servicioeach deservice nuestraof our API. DejarLeave ato 1 parato habilitarlo.enable it.
agent_services ParaTo habilitarenable unan agenteagent quethat crearáwill un módulo por cada servicio en nuestro entorno. Dejarcreate a module for each service in our environment. Leave to 1 parato habilitarlo.enable it.
top_imagestream_count NúmeroNumber deof imagestreams queto monitorearmonitor dein tuyour entorno.environment. Por defectoDefault 11.
prefix NombreCustomized personalizadoname parafor losthe agentescreated creadosagents
as_server_plugin SiIf seit vais to be used as a utilizarserver comoplugin, pluginset deit servidor, dejarlo  ato 1 parato activarlo,activate siit, seif usait comois pluginused deas agente,an dejarloagent aplugin, set it to 0.

You will have to edit the conf by setting the required value.

Example:

# oc cli config
cli=/home/alejandro/Descargas/cli/oc
user=developer
password=developer
ip=https://<ip>:6443/
project=prueba
# transfer configuratios
mode=tentacle
tentacle_ip=192.168.1.200
tentacle_port=41121
# enabled metrics block
agent_openshift=1
agent_node=1
agent_pod=1
agent_pod_stats=1
agent_deployment=1
agent_imagestreams=1
agent_apiservice=1
agent_services=1
agent_replication_controller=1
top_imagestreams_count=11
# define 
as_server_plugin=1
prefix=prueba