<p>I have a gcloud Kubernetes cluster running and a Google bucket that holds some data I want to run on the cluster.</p>

<p>In order to use the data in the bucket, I need <code>gcsfs</code> installed on the nodes. How do I install packages like this on the cluster using gcloud, kubectl, etc.?</p>

<p>Check if a recipe like "<a href="https://github.com/pangeo-data/pangeo/wiki/Launch-development-cluster-on-Google-Cloud-Platform-with-Kubernetes-and-Helm" rel="nofollow noreferrer">Launch development cluster on Google Cloud Platform with Kubernetes and Helm</a>" could help.</p>

<p>Using <a href="https://helm.sh/" rel="nofollow noreferrer">Helm</a>, you can define workers with <a href="https://github.com/pangeo-data/pangeo/wiki/Launch-development-cluster-on-Google-Cloud-Platform-with-Kubernetes-and-Helm#configure-containers" rel="nofollow noreferrer">additional pip packages</a>:</p>

<pre><code>worker:
  replicas: 8
  limits:
    cpu: 2
    memory: 7500000000
  pipPackages: &gt;-
    git+https://github.com/gcsfs/gcsfs.git
    git+https://github.com/xarray/xarray.git
  condaPackages: &gt;-
    -c conda-forge 
    zarr
    blosc
</code></pre>
