mirror of https://github.com/istio/istio.io.git
181 lines
5.7 KiB
HTML
181 lines
5.7 KiB
HTML
---
|
|
title: node_agent
|
|
overview: Istio security per-node agent
|
|
layout: pkg-collateral-docs
|
|
---
|
|
<p>Istio security per-node agent</p>
|
|
<pre class="language-bash"><code>node_agent [flags]
|
|
</code></pre>
|
|
<table class="command-flags">
|
|
<thead>
|
|
<th>Flags</th>
|
|
<th>Shorthand</th>
|
|
<th>Description</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>--aws-root-cert <string></code></td>
|
|
<td></td>
|
|
<td>Root Certificate file in AWS environment (default `/etc/certs/root-cert.pem`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--ca-address <string></code></td>
|
|
<td></td>
|
|
<td>Istio CA address (default `istio-ca:8060`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--env <string></code></td>
|
|
<td></td>
|
|
<td>Node Environment : onprem | gcp | aws (default `onprem`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--gcp-ca-address <string></code></td>
|
|
<td></td>
|
|
<td>Istio CA address in GCP environment (default `istio-ca:8060`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--gcp-root-cert <string></code></td>
|
|
<td></td>
|
|
<td>Root Certificate file in GCP environment (default `/etc/certs/root-cert.pem`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--key-size <int></code></td>
|
|
<td></td>
|
|
<td>Size of generated private key (default `2048`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_as_json</code></td>
|
|
<td></td>
|
|
<td>Whether to format output as JSON or in plain console-friendly format </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_callers</code></td>
|
|
<td></td>
|
|
<td>Include caller information, useful for debugging </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_output_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level of messages to output, can be one of "debug", "info", "warn", "error", or "none" (default `info`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate <string></code></td>
|
|
<td></td>
|
|
<td>The path for the optional rotating log file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_age <int></code></td>
|
|
<td></td>
|
|
<td>The maximum age in days of a log file beyond which the file is rotated (0 indicates no limit) (default `30`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_backups <int></code></td>
|
|
<td></td>
|
|
<td>The maximum number of log file backups to keep before older files are deleted (0 indicates no limit) (default `1000`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_size <int></code></td>
|
|
<td></td>
|
|
<td>The maximum size in megabytes of a log file beyond which the file is rotated (default `104857600`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_stacktrace_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level at which stack traces are captured, can be one of "debug", "info", "warn", "error", or "none" (default `none`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_target <stringArray></code></td>
|
|
<td></td>
|
|
<td>The set of paths where to output the log. This can be any path as well as the special values stdout and stderr (default `[stdout]`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--onprem-cert-chain <string></code></td>
|
|
<td></td>
|
|
<td>Node Agent identity cert file in on premise environment (default `/etc/certs/cert-chain.pem`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--onprem-key <string></code></td>
|
|
<td></td>
|
|
<td>Node identity private key file in on premise environment (default `/etc/certs/key.pem`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--onprem-root-cert <string></code></td>
|
|
<td></td>
|
|
<td>Root Certificate file in on premise environment (default `/etc/certs/root-cert.pem`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--org <string></code></td>
|
|
<td></td>
|
|
<td>Organization for the cert (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--workload-cert-ttl <duration></code></td>
|
|
<td></td>
|
|
<td>The requested TTL for the workload (default `12h0m0s`)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2 id="node_agent version">node_agent version</h2>
|
|
<p>Prints out build version information</p>
|
|
<pre class="language-bash"><code>node_agent version [flags]
|
|
</code></pre>
|
|
<table class="command-flags">
|
|
<thead>
|
|
<th>Flags</th>
|
|
<th>Shorthand</th>
|
|
<th>Description</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>--log_as_json</code></td>
|
|
<td></td>
|
|
<td>Whether to format output as JSON or in plain console-friendly format </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_callers</code></td>
|
|
<td></td>
|
|
<td>Include caller information, useful for debugging </td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_output_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level of messages to output, can be one of "debug", "info", "warn", "error", or "none" (default `info`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate <string></code></td>
|
|
<td></td>
|
|
<td>The path for the optional rotating log file (default ``)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_age <int></code></td>
|
|
<td></td>
|
|
<td>The maximum age in days of a log file beyond which the file is rotated (0 indicates no limit) (default `30`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_backups <int></code></td>
|
|
<td></td>
|
|
<td>The maximum number of log file backups to keep before older files are deleted (0 indicates no limit) (default `1000`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_rotate_max_size <int></code></td>
|
|
<td></td>
|
|
<td>The maximum size in megabytes of a log file beyond which the file is rotated (default `104857600`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_stacktrace_level <string></code></td>
|
|
<td></td>
|
|
<td>The minimum logging level at which stack traces are captured, can be one of "debug", "info", "warn", "error", or "none" (default `none`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--log_target <stringArray></code></td>
|
|
<td></td>
|
|
<td>The set of paths where to output the log. This can be any path as well as the special values stdout and stderr (default `[stdout]`)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>--short</code></td>
|
|
<td><code>-s</code></td>
|
|
<td>Displays a short form of the version information </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|