Skip to content

Commit 6249fda

Browse files
hhBobyMCbobs
authored andcommitted
adding virtctl install
1 parent 0e99fa1 commit 6249fda

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

examples/templates/kubevirt/research.org

+25
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,28 @@ Conditions:
157157
PIDPressure False Sat, 08 Oct 2022 22:08:53 -0700 Sat, 08 Oct 2022 21:53:32 -0700 KubeletHasSufficientPID kubelet has sufficient PID available
158158
Ready False Sat, 08 Oct 2022 22:08:53 -0700 Sat, 08 Oct 2022 21:53:32 -0700 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized
159159
#+end_example
160+
* virtctl
161+
Seems best to install as as kubectl plugin:
162+
- https://krew.sigs.k8s.io/docs/user-guide/setup/install/
163+
- https://kubevirt.io/user-guide/operations/virtctl_client_tool/
164+
* host-shell
165+
Run this outside of our VMs, as it needs the socket to communicate to VMs.
166+
** install virtctl and get a shell
167+
#+begin_src tmate :window host
168+
host-shell
169+
export VERSION=v0.57.1
170+
wget -q -O /usr/local/bin/virtctl https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/virtctl-${VERSION}-linux-amd64
171+
chmod +x /usr/local/bin/virtctl
172+
virtctl version
173+
#+end_src
174+
** virtctl
175+
#+begin_src tmate :window host
176+
virtctl guestosinfo kv4
177+
#+end_src
178+
179+
#+RESULTS:
180+
#+begin_example
181+
182+
virtctl guestosinfo kv4
183+
virtctl: command not found
184+
#+end_example

0 commit comments

Comments
 (0)