7.3.
7.3.1.
7.3.1.1.
참고
7.3.1.2.
참고
$ virtctl vnc <vm_name>
$ virtctl vnc <vm_name> -v 4
7.3.1.3.
참고
$ oc patch hyperconverged kubevirt-hyperconverged -n openshift-cnv --type json -p '[{"op": "replace", "path": "/spec/featureGates/deployVmConsoleProxy", "value": true}]'
$ curl --header "Authorization: Bearer ${TOKEN}" \ "https://api.<cluster_fqdn>/apis/token.kubevirt.io/v1alpha1/namespaces/<namespace>/virtualmachines/<vm_name>/vnc?duration=<duration>"
{ "token": "eyJhb..." }
$ export VNC_TOKEN="<token>"
$ oc login --token ${VNC_TOKEN}
$ virtctl vnc <vm_name> -n <namespace>
주의
$ virtctl delete serviceaccount --namespace "<namespace>" "<vm_name>-vnc-access"
7.3.2.
참고
7.3.2.1.
7.3.2.2.
$ virtctl console <vm_name>
7.3.3.
7.3.3.1.