title: GCP GKE: View logs of terminated jobs/pods
body: <p>I have a few cron jobs on GKE.</p>
  
  <p>One of the pods did terminate and now I am trying to access the logs.</p>
  
  <pre><code>➣ $ kubectl get events
  LAST SEEN   TYPE      REASON             KIND      MESSAGE
  23m         Normal    SuccessfulCreate   Job       Created pod: virulent-angelfish-cronjob-netsuite-proservices-15622200008gc42
  22m         Normal    SuccessfulDelete   Job       Deleted pod: virulent-angelfish-cronjob-netsuite-proservices-15622200008gc42
  22m         Warning   DeadlineExceeded   Job       Job was active longer than specified deadline
  23m         Normal    Scheduled          Pod       Successfully assigned default/virulent-angelfish-cronjob-netsuite-proservices-15622200008gc42 to staging-cluster-default-pool-4b4827bf-rpnl
  23m         Normal    Pulling            Pod       pulling image "gcr.io/my-repo/myimage:v8"
  23m         Normal    Pulled             Pod       Successfully pulled image "gcr.io/my-repo/my-image:v8"
  23m         Normal    Created            Pod       Created container
  23m         Normal    Started            Pod       Started container
  22m         Normal    Killing            Pod       Killing container with id docker://virulent-angelfish-cronjob:Need to kill Pod
  23m         Normal    SuccessfulCreate   CronJob   Created job virulent-angelfish-cronjob-netsuite-proservices-1562220000
  22m         Normal    SawCompletedJob    CronJob   Saw completed job: virulent-angelfish-cronjob-netsuite-proservices-1562220000
  </code></pre>
  
  <p>So at least one CJ run.</p>
  
  <p>I would like to see the pod's logs, but there is nothing there</p>
  
  <pre><code>➣ $ kubectl get pods
  No resources found.
  </code></pre>
  
  <p>Given that in my cj definition, I have:</p>
  
  <pre><code>failedJobsHistoryLimit: 1
  successfulJobsHistoryLimit: 3
  </code></pre>
  
  <p>shouldn't <strong>at least</strong> one pod be there for me to do forensics?</p>