<p>I am running GKE k8s deployments/jobs that take a long time to execute - from days to weeks (Machine Learning).
Default GKE Events expire after 1h, which is not enough to debug problems that can occur during training, like OOMKilling, etc. </p>

<p><code>kube-apiserver</code> isn't exposed in GKE, so I'd like to find a way to access and change a property like <code>event-ttl</code>.</p>

<p>How can I change <code>event-ttl</code> for an already launched cluster, or how to specify <code>event-ttl</code> at a cluster creation? For example if I would like all my events in a cluster to be available for 24 hours. Is there a <code>kubectl</code> command for that (the <code>kubernetes</code> svc is accessible)?</p>

<p>Thanks in advance!</p>

<p>It's currently not possible. As you said, the <code>kube-apiserver</code> flags are currently not user-configurable on GKE. There are plans to expose more such knobs to the users but I don’t know when would this be available.</p>
