knative-tutorial icon indicating copy to clipboard operation
knative-tutorial copied to clipboard

Update tutorial to use GKE autopilot

Open meteatamel opened this issue 4 years ago • 5 comments

meteatamel avatar Mar 05 '21 10:03 meteatamel

Autopilot does not seem to work with Istio/Knative Serving in my testing

meteatamel avatar Mar 05 '21 12:03 meteatamel

@meteatamel Hi!

Do you deep dive into the problem? I faced the same behavior and thought it could be a VPA issue.

aatarasoff avatar Nov 22 '21 09:11 aatarasoff

@aatarasoff No, I didn't deep dive. Any ideas what could be missing?

meteatamel avatar Nov 22 '21 10:11 meteatamel

@meteatamel I think that it could be related to the Vertical Pod Autoscaler because Autopilot changes CPU and Memory requests and limits according to its policies, and it could blow Knative mind up. It's like a race condition between two autoscalers (Knative, as I know, has one). I tried to turn of VPA (see code below) but it did not help.

---
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
  name: hello-world-turn-off-vpa
spec:
  targetRef:
    apiVersion: "apps/v1"
    kind:       Deployment
    name:       hello-world-deployment
  updatePolicy:
    updateMode: "Off"

aatarasoff avatar Nov 23 '21 17:11 aatarasoff

I'll reopen this, in case I or someone else might look into this again.

meteatamel avatar Jan 04 '22 15:01 meteatamel