Added: config for kube quadlet
This commit is contained in:
parent
c73e2fd939
commit
77a183bd08
@ -17,13 +17,19 @@ Add the `proxy.network` to the service you would like to proxy. This can be done
|
|||||||
|
|
||||||
1. Create a folder next to the container/pod file: `$name.$type.d/` (e.g. `nginx.container.d/`)
|
1. Create a folder next to the container/pod file: `$name.$type.d/` (e.g. `nginx.container.d/`)
|
||||||
2. Create a config file (e.g. `proxy.conf`) in this folder with the following contents:
|
2. Create a config file (e.g. `proxy.conf`) in this folder with the following contents:
|
||||||
|
1. Container
|
||||||
```yaml
|
```yaml
|
||||||
[Container]
|
[Container]
|
||||||
Network=proxy.network
|
Network=proxy.network
|
||||||
```
|
```
|
||||||
|
2. Kube
|
||||||
|
```yaml
|
||||||
|
[Kube]
|
||||||
|
Network=proxy.network:alias:my-service
|
||||||
|
```
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> The config is also available to copy under `assets/proxy-network.conf`!
|
> Configurations are also available to copy under `assets/`!
|
||||||
|
|
||||||
## Firewall settings
|
## Firewall settings
|
||||||
|
|
||||||
|
|||||||
4
assets/proxy-network-kube.conf
Normal file
4
assets/proxy-network-kube.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Add this to the $NAME.kube.d/ folder
|
||||||
|
|
||||||
|
[Kube]
|
||||||
|
Network=proxy.network:alias=my-service
|
||||||
Loading…
x
Reference in New Issue
Block a user