title: Gcloud kubernetes certificate generated too early
body: <p>I've been following the gcloud kubernetes tutorial <a href="https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app#cloud-shell_1" rel="nofollow noreferrer">here</a>.</p>
  <p>I was able to follow all the steps up to &quot;Creating a GKE cluster&quot;. I set my zone to <code>australia-southeast-1a</code>. Then I created the cluster and got the following success messages:</p>
  <p><a href="https://i.stack.imgur.com/1QRRw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1QRRw.png" alt="enter image description here" /></a></p>
  <p>However, when I try to inspect the cluster with <code>kubectl get nodes</code> or deploy an app, I get the following error message:</p>
  <blockquote>
  <p>error: failed to create deployment: Post
  &quot;https://35.189.27.151/apis/apps/v1/namespaces/default/deployments?fieldManager=kubectl-create&quot;:
  x509: certificate has expired or is not yet valid: current time
  2021-05-31T19:28:36+10:00 is before 2021-05-31T23:17:39Z</p>
  </blockquote>
  <p>This seems to indicate that the server thinks the current time is in <code>US-EAST</code>, but that the certificate was generated using Greenwich mean time. I can't figure out why that would be happening, so throwing this out to more experienced kubernetes/gcloud developers.</p>