<p>I want to set up gcsFUSE on my cluster. It's easier to do this in Debian jessie according to the <a href="https://github.com/GoogleCloudPlatform/gcsfuse" rel="nofollow noreferrer">gcsFUSE page</a>.</p>

<p>The <code>config-default.sh</code> that <code>kube-up.sh</code> uses contains the following:</p>

<pre><code>NODE_OS_DISTRIBUTION=${KUBE_NODE_OS_DISTRIBUTION:-${KUBE_OS_DISTRIBUTION:-debian}}
</code></pre>

<p>which sets up <code>wheezy</code>. What do I change this to to get <code>jessie</code>? I've tried replacing <code>debian</code> with the values <code>debian-8</code> and <code>jessie</code>, without any luck:</p>

<pre><code>$ cluster/kube-up.sh
Cannot operate on cluster using node os distro: jessie
</code></pre>

<p>from reading the <a href="https://github.com/kubernetes/kubernetes/blob/master/cluster/gce/util.sh" rel="nofollow noreferrer">cluster/gce/util.sh</a> you can use <code>KUBE_GCE_MASTER_IMAGE</code> / <code>KUBE_GCE_MASTER_PROJECT</code> and <code>KUBE_GCE_NODE_IMAGE</code> / <code>KUBE_GCE_NODE_PROJECT</code> for that purpose.</p>

<p>E.g. with:</p>

<pre><code>  KUBE_GCE_MASTER_IMAGE=debian-8-jessie-v20170124   
  KUBE_GCE_MASTER_PROJECT=debian-8
  KUBE_GCE_NODE_IMAGE=debian-8-jessie-v20170124 
  KUBE_GCE_NODE_PROJECT=debian-8
</code></pre>

<p>You can find the relevant images on the with:</p>

<pre><code>gcloud compute images list --filter=debian
</code></pre>

<p>These environment variables are used to then create the instances with </p>

<pre><code> gcloud compute instance-templates create ...
</code></pre>

<p>The <a href="https://cloud.google.com/sdk/gcloud/reference/compute/instance-templates/create#--image" rel="nofollow noreferrer">related documentation</a> has some further details.</p>
