Linux Binary
Prerequisites
A Linux system with the appropriate architecture (x86_64 or arm64)
(For cloud-connected mode) Registration Token: Valid registration token from app.qpoint.io
(For local mode) Configuration Files: Prepare your Qtap YAML config file
Installation Steps
Download the Binary
Choose the appropriate command based on your operating system and architecture:
For Linux x86_64 architecture:
For Linux arm64 architecture:
For Darwin arm64 architecture:
For Darwin x86_64 architecture:
Extract the Binary
Replace <OS>
and <ARCH>
with your operating system and architecture (e.g., Linux_x86_64
).
Navigate to the Binary Directory
Make the Binary Executable
Running Qtap
Cloud-Connected Mode
To run Qtap in cloud-connected mode, use the following command:
Replace $TOKEN
with your actual registration token obtained from app.qpoint.io.
Local Mode
To run Qtap in local mode, use the following command:
Replace /path/to/your/qpoint.yaml
with the actual path to your YAML configuration file.
Available Flags and Options
To see all available options and flags, run:
Key flags include:
--[no-]help
: Show context-sensitive help (also try--help-long
and--help-man
).--[no-]version
: Show application version.--registration-endpoint="https://api.qpoint.io"
: Registration endpoint. (Env:$REGISTRATION_ENDPOINT
)--registration-token=REGISTRATION-TOKEN
: Registration token. (Env:$REGISTRATION_TOKEN
)--data-dir="/tmp/qpoint"
: Directory to store state. (Env:$DATA_DIR
)--qpoint-config=QPOINT-CONFIG
: Configuration file path. (Env:$QPOINT_CONFIG
)--audit-log-buffer-size=1000
: Buffer size for audit logs. (Env:$AUDIT_LOG_BUFFER_SIZE
)--log-level=error
: Log level. (Env:$LOG_LEVEL
)--log-encoding=json
: Log encoding. (Env:$LOG_ENCODING
)--[no-]log-caller
: Log caller. (Env:$LOG_CALLER
)--status-listen="0.0.0.0:10001"
: IP:PORT of status server to listen on. (Env:$STATUS_LISTEN
)
Important Notes
Ensure you're using the correct version of Qtap. The examples use
v0.2.3
, but you should use the version appropriate for your needs.For cloud-connected mode, the
--registration-token
flag is essential for associating your Qtap instance with app.qpoint.io. Ensure you replace$TOKEN
with your actual registration token.For local mode, ensure the path to your configuration file is correct.
Some options can be set via environment variables. The corresponding environment variable is listed for each flag where applicable.
Depending on your system configuration, you may need to run Qtap with elevated privileges (e.g., using
sudo
) to access certain system resources required for eBPF operations.
Last updated