kubectl, virtctl, and EdgeView. The kubectl and virtctl permissions available through this path are read-only: you can get and list resources but cannot apply or delete them.
Prerequisites
Before starting, confirm the following:kubectlis installed on your workstation.virtctlis installed on your workstation.- EdgeView access is enabled for the node running the VM.
- A Virtual Machine Instance (VMI) is running on an EVE-k cluster.
Get the Kubeconfig via EdgeView
Use the EdgeView TCP tunnel to download the kubeconfig for the cluster:/tmp/download/kube-config.yaml. All subsequent commands in this article use this file.
List Virtual Machine Instances
List the VMIs running in theeve-kube-app namespace to find the name of the target VM:
Connect to a VM Console
Open a serial console session to the VM:<vmi-name> with the name from the VMI list.
Start a VNC Session
Open a VNC session to access the VM’s graphical console:<vmi-name> with the name from the VMI list. This command opens a VNC viewer connected to the VM’s display.
Optional: Set Shell Aliases
To reduce repetition when running multiple commands, set shell aliases forkubectl and virtctl with the kubeconfig pre-configured:
Next Steps
Create and Manage a Kubernetes Cluster
Provision and configure ZEDEDA Edge Kubernetes Service clusters.
Troubleshoot Edge Kubernetes
Diagnose cluster and pod issues using kubectl, EdgeView, and SSH.