<p>We're looking to migrate our standard GKE cluster to <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview" rel="nofollow noreferrer">autopilot</a>, but several pods that we have doesn't require much CPU/memory after they started up. However, during startup, we would like some pods to get more CPU so that they start faster. For example, consider this pod:</p>
<pre><code>---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-pod
  labels:
    name: my-pod
spec:
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      name: my-pod
  template:
    metadata:
      labels:
        name: my-pod
        version: &quot;1.0.0&quot;
    spec:
      containers:
        - name: my-pod
          image: &quot;europe-west1-docker.pkg.dev/my-repo/my-pod:1.0.0&quot;
          resources:
            requests:
              memory: &quot;1024Mi&quot;
              cpu: &quot;500m&quot;
...
</code></pre>
<p>This pod could take 2-3 minutes to start up. If we change CPU to 2000m, it starts <em>much</em> faster. But this pod is long-running, and it's unnecessary for us to pay for 2000m when 500m (or less) is required once it's up and running. I'm looking for something similar to <a href="https://cloud.google.com/run/docs/configuring/cpu#startup-boost" rel="nofollow noreferrer">Cloud Run Startup Boost</a> but for GKE Autopilot.</p>
<p>Does something like this exist?</p>

Johan
<p>Unfortunately no. Kubernetes itself doesn't have this feature.</p>
<p>Maybe you should look for ways to optimise the startup time of the container itself.</p>
