mirror of
https://github.com/truenas/charts.git
synced 2026-06-18 01:26:53 +08:00
29 lines
450 B
Markdown
29 lines
450 B
Markdown
# Host Network
|
|
|
|
## key: hostNetwork
|
|
|
|
Info:
|
|
|
|
- Type: `boolean`
|
|
- Default: `false`
|
|
- Helm Template: ❌
|
|
|
|
Can be defined in:
|
|
|
|
- `.Values`.hostNetwork
|
|
- `.Values.jobs.[job-name].podSpec`.hostNetwork
|
|
-
|
|
|
|
---
|
|
|
|
Binds container to the host's network stack
|
|
|
|
> All services will be forced to `ClusterIP` when `hostNetwork` is enabled,
|
|
> to avoid port conflicts with services requesting the same ports as the container.
|
|
|
|
Examples:
|
|
|
|
```yaml
|
|
hostNetwork: true
|
|
```
|