Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes #54

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Additionally, the live migration feature can be configured under `spec.configura
{{% alert title="Limitations" color="warning" %}}

* Virtual machines using PVC must have a `RWX` access mode to be live-migrated
* Additionally, pod network binding of the bridge interface is not allowed
* Additionally, pod network binding of the bridge interface is not allowed.
* Volumes mounted as filesystems prevent virtual machines from being live migrated
* Directly attached devices
* Live migration requires ports `49152`, `49153` to be available in the `virt-launcher` pod; if these ports are explicitly specified in the masquarade interface, live migration will not work
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/monitoring/probes.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ kubectl get vmi --namespace=$USER

```bash
NAME AGE PHASE IP NODENAME READY
lab08-probe 2m32s Running 10.244.20.230 training-baremetal-0 False
{{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-probe 2m32s Running 10.244.20.230 training-baremetal-0 False
```


Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/scaling-vms/vm-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ spec:

return 200 '${response}';
}
}
}
path: /etc/nginx/nginx.conf
}
path: /etc/nginx/nginx.conf
- type: "text/x-shellscript"
content: |
#!/bin/sh
Expand Down
16 changes: 16 additions & 0 deletions content/en/docs/scaling-vms/vm-pools.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,14 @@ As the VirtualMachinePool implements the Kubernetes standard `scale` sub-command
kubectl scale vmpool {{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-webserver --replicas 1 --namespace=$USER
```

{{% alert title="Note" color="info" %}}
Scaling is currently not possible with regular user permissions. You can change the replica count by editing the vmpool.

```shell
kubectl edit vmpool {{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-webserver --namespace=$USER
```
{{% /alert %}}


## Horizontal pod autoscaler

Expand Down Expand Up @@ -360,4 +368,12 @@ Scale down the VM pool with:
kubectl scale vmpool {{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-webserver --replicas 0 --namespace=$USER
```

{{% alert title="Note" color="info" %}}
Scaling is currently not possible with regular user permissions. You can change the replica count by editing the vmpool.

```shell
kubectl edit vmpool {{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-webserver --namespace=$USER
```
{{% /alert %}}

[^1]: [Horizontal pod autoscaling](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
11 changes: 10 additions & 1 deletion content/en/docs/scaling-vms/vm-replica-sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ NAME AGE PHASE IP NODENAME
You can access the console using the name of the VMI with `virtctl`:

```bash
virtctl console lab06-cirros-replicasetnc5p5 --namespace=$USER
virtctl console {{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-cirros-replicasetnc5p5 --namespace=$USER
```


Expand All @@ -265,6 +265,15 @@ As the VirtualMachineInstanceReplicaSet implements the Kubernetes standard `scal
kubectl scale vmirs {{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-cirros-replicaset --replicas 1 --namespace=$USER
```

{{% alert title="Note" color="info" %}}
Scaling is currently not possible with regular user permissions. You can change the replica count by editing the
VirtualMachineInstanceReplicaSet.

```shell
kubectl edit vmirs {{% param "labsubfolderprefix" %}}{{% param "labfoldernumber" %}}-cirros-replicaset --namespace=$USER
```
{{% /alert %}}


## Horizontal pod autoscaler

Expand Down