---
#-----------------------------------------------------------------
# DEEPFLOW AGENT
#-----------------------------------------------------------------
deepflow_agent_enabled: false
deepflow_agent_mode: binary          # binary|docker|k8s
deepflow_agent_profile: lite         # lite|full

deepflow_agent_stack_dir: /opt/deepflow-agent
deepflow_agent_env_file: /etc/default/deepflow-agent
deepflow_agent_compose_file: "{{ deepflow_agent_stack_dir }}/docker-compose.yml"
deepflow_agent_k8s_file: "{{ deepflow_agent_stack_dir }}/deepflow-agent.yaml"
deepflow_agent_run_script: /usr/local/bin/run-deepflow-agent.sh
deepflow_agent_binary_path: /usr/local/bin/deepflow-agent
deepflow_agent_download_url: ''

deepflow_agent_image: deepflowio/deepflow-agent-ce:latest
deepflow_agent_grpc_endpoint: "{{ deepflow_grpc_domain | default('deepflow-agent.svc.plus') }}:443"
deepflow_agent_endpoint_arg: --controller-ips
deepflow_agent_extra_args: []
deepflow_agent_disable_pcap: false
deepflow_agent_disable_vector: true
deepflow_agent_disable_plugins: true
deepflow_agent_extra_env: {}

deepflow_agent_host_network: true
deepflow_agent_container_name: deepflow-agent
deepflow_agent_k8s_namespace: deepflow
deepflow_agent_k8s_apply: false
deepflow_agent_binary_install: true
deepflow_agent_docker_enabled: true

deepflow_agent_cap_add:
  - NET_ADMIN
  - NET_RAW
  - SYS_ADMIN

deepflow_agent_volume_mounts:
  - /:/host:ro
  - /sys:/sys:ro
  - /var/run/docker.sock:/var/run/docker.sock
