gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/gvisor_k8s_tool/README.md (about)

     1  # gVisor Kubernetes tool
     2  
     3  This tool is meant to make deploying `runsc` in a Kubernetes cluster easier.
     4  
     5  ## Usage
     6  
     7  ```shell
     8  # Install using default kubectl context:
     9  $ ./gvisor_k8s_tool install --cluster=kube: --image=my-runsc-installer
    10  
    11  # Install using custom kubectl config and context:
    12  $ KUBECONFIG=/tmp/myconfig ./gvisor_k8s_tool \
    13      install --cluster=kube:mycontext --image=my-runsc-installer
    14  
    15  # Install in a GKE cluster:
    16  $ ./gvisor_k8s_tool install \
    17      --cluster=gke:projects/myproject/locations/us-central1-a/clusters/mylittlecluster \
    18      --image=my-runsc-installer
    19  ```