File tree Expand file tree Collapse file tree 4 files changed +81
-1
lines changed Expand file tree Collapse file tree 4 files changed +81
-1
lines changed Original file line number Diff line number Diff line change @@ -1609,7 +1609,7 @@ Topics:
1609
1609
- Name : Deploying a Spring Boot application with Argo CD
1610
1610
File : deploying-a-spring-boot-application-with-argo-cd
1611
1611
- Name : Argo CD custom resource properties
1612
- File : argo-cd-custom-resource-properties
1612
+ File : argo-cd-custom-resource-properties
1613
1613
- Name : Monitoring application health status
1614
1614
File : health-information-for-resources-deployment
1615
1615
- Name : Configuring SSO for Argo CD using Dex
@@ -3110,6 +3110,8 @@ Topics:
3110
3110
File : virt-installing-virtio-drivers-on-existing-windows-vm
3111
3111
- Name : Installing VirtIO driver on a new Windows virtual machine
3112
3112
File : virt-installing-virtio-drivers-on-new-windows-vm
3113
+ - Name : Using virtual Trusted Platform Module devices
3114
+ File : virt-using-vtpm-devices
3113
3115
- Name : Advanced virtual machine management
3114
3116
Dir : advanced_vm_management
3115
3117
Topics :
Original file line number Diff line number Diff line change
1
+ // Module included in the following assemblies:
2
+ //
3
+ // * virt/virtual_machines/virt-using-vtpm-devices.adoc
4
+
5
+ :_content-type: CONCEPT
6
+ [id="virt-about-vtpm-devices_{context} "]
7
+ = About vTPM devices
8
+
9
+ A virtual Trusted Platform Module (vTPM) device functions like a
10
+ physical Trusted Platform Module (TPM) hardware chip.
11
+
12
+ You can use a vTPM device with any operating system, but Windows 11 requires
13
+ the presence of a TPM chip to install or boot. A vTPM device allows VMs created
14
+ from a Windows 11 image to function without a physical TPM chip.
15
+
16
+ If you do not enable vTPM, then the VM does not recognize a TPM device, even if
17
+ the node has one.
18
+
19
+ vTPM devices also protect virtual machines by temporarily storing secrets
20
+ without physical hardware. However, using vTPM for persistent secret storage is
21
+ not currently supported. vTPM discards stored secrets after a VM shuts down.
Original file line number Diff line number Diff line change
1
+ // Module included in the following assemblies:
2
+ //
3
+ // * virt/virtual_machines/virt-using-vtpm-devices.adoc
4
+
5
+ :_content-type: PROCEDURE
6
+ [id="virt-adding-vtpm-to-vm_{context} "]
7
+ = Adding a vTPM device to a virtual machine
8
+
9
+ Adding a virtual Trusted Platform Module (vTPM) device to a virtual machine
10
+ (VM) allows you to run a VM created from a Windows 11 image without a physical
11
+ TPM device. A vTPM device also temporarily stores secrets for that VM.
12
+
13
+ .Procedure
14
+
15
+ . Run the following command to update the VM configuration:
16
+ +
17
+ [source,terminal]
18
+ ----
19
+ $ oc edit vm <vm _name >
20
+ ----
21
+
22
+ . Edit the VM `spec` so that it includes the `tpm: {}` line. For example:
23
+ +
24
+ [source,yaml]
25
+ ----
26
+ apiVersion: kubevirt.io/v1
27
+ kind: VirtualMachine
28
+ metadata:
29
+ name: example-vm
30
+ spec:
31
+ template:
32
+ spec:
33
+ domain:
34
+ devices:
35
+ tpm: {} <1>
36
+ ...
37
+ ----
38
+ <1> Adds the TPM device to the VM.
39
+
40
+ . To apply your changes, save and exit the editor.
41
+
42
+ . Optional: If you edited a running virtual machine, you must restart it for
43
+ the changes to take effect.
Original file line number Diff line number Diff line change
1
+ :_content-type: ASSEMBLY
2
+ [id="virt-using-vtpm-devices"]
3
+ = Using virtual Trusted Platform Module devices
4
+ include::_attributes/common-attributes.adoc[]
5
+ :context: virt-using-vtpm-devices
6
+
7
+ toc::[]
8
+
9
+ Add a virtual Trusted Platform Module (vTPM) device to a new or existing virtual
10
+ machine by editing the `VirtualMachine` (VM) or `VirtualMachineInstance` (VMI)
11
+ manifest.
12
+
13
+ include::modules/virt-about-vtpm-devices.adoc[leveloffset=+1]
14
+ include::modules/virt-adding-vtpm-to-vm.adoc[leveloffset=+1]
You can’t perform that action at this time.
0 commit comments