You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Write docs for the new v0.7 features
This PR adds documentation on the v0.7 features:
* Custom Allowed Nodes
* Custom IP Pool Config
* Add docs for setting TLS cert in capmox
Copy file name to clipboardExpand all lines: docs/advanced-setups.md
+97Lines changed: 97 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,103 @@ For the Proxmox API user/token you create for CAPMOX, these are the minimum requ
211
211
* CAPMOX needs `PVEDataStoreAdmin` on a storage suitable for ISO images for cloud-init. Create a dedicated storage for this (you can use subdirectories in an existing network share for example).
212
212
* CAPMOX needs `AllocateSpace` permissions on a storage suitable for disc images. This can be shared with other users as it is only accessed indirectly by cloning/deleting VMs.
213
213
214
+
## Proxmox TLS communication
215
+
216
+
The default behavior of the Proxmox API is to skip TLS verification when communicating with the Proxmox API,
217
+
The `PROXMOX_INSECURE` environment variable is set to `true` by default in the CAPMOX manager, to skip the verification of the TLS certificate with the Proxmox API.
218
+
```
219
+
containers:
220
+
- name: manager
221
+
args:
222
+
- --leader-elect
223
+
- --feature-gates=ClusterTopology=true
224
+
- "--metrics-bind-address=localhost:8080"
225
+
- "--v=0"
226
+
env:
227
+
- name: PROXMOX_INSECURE
228
+
value: "true"
229
+
```
230
+
231
+
If you want to use a certificate for communication with the Proxmox API, you can set the `proxmox-root-cert-file` flag variable to the path of the certificate file, and
232
+
set the `PROXMOX_INSECURE` environment variable to `false`.
Previously, the Proxmox nodes that will host the Machines are defined in `ProxmoxCluster.spec.allowedNodes`, that config restrict us from placing some set of machines into some specific nodes.
262
+
Now, you can also define and override the `allowedNodes` in the ProxmoxMachine, to do so:
With the following config, you can override what has been set in the Proxmox Cluster, and also you have more flexibility for example you can have a custom allowed Nodes per Machine Deployments.
280
+
281
+
## Custom Default Network IP Pool for ProxmoxMachine
282
+
283
+
Like the Allowed Nodes, in the past we couldn't set a custom IP Pool for the default network device, everything was tied to the ProxmoxCluster IP Config.
284
+
Now, you can also customize the IP Pool for the default network device, just by setting the `ipv4PoolRef` and/or `ipv6PoolRef`.
0 commit comments