Open maylukas opened 3 months ago
Knative Serving Resource - we have tried uninstalling it and re-installing it from scratch and have increased the memory as we saw some OOMKilled errors.
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
creationTimestamp: '2024-08-01T15:49:04Z'
finalizers:
- knativeservings.operator.knative.dev
generation: 1
managedFields:
- apiVersion: operator.knative.dev/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:spec:
f:config:
f:domain:
.: {}
f:functions.api.staging.miku-app.com: {}
f:istio:
.: {}
f:local-gateway.knative-serving.knative-local-gateway: {}
f:deployments: {}
f:version: {}
manager: Terraform
operation: Apply
time: '2024-08-01T15:49:04Z'
- apiVersion: operator.knative.dev/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:finalizers:
.: {}
v:"knativeservings.operator.knative.dev": {}
manager: operator
operation: Update
time: '2024-08-01T15:49:04Z'
- apiVersion: operator.knative.dev/v1beta1
fieldsType: FieldsV1
fieldsV1:
f:status:
.: {}
f:conditions: {}
f:manifests: {}
f:observedGeneration: {}
f:version: {}
manager: operator
operation: Update
subresource: status
time: '2024-08-01T19:07:30Z'
name: knative-serving
namespace: knative-serving
resourceVersion: '2570047568'
uid: 98928fb8-f58c-4cf5-8912-17e4bbb77419
selfLink: >-
/apis/operator.knative.dev/v1beta1/namespaces/knative-serving/knativeservings/knative-serving
status:
conditions:
- lastTransitionTime: '2024-08-01T15:49:18Z'
status: 'True'
type: DependenciesInstalled
- lastTransitionTime: '2024-08-01T15:49:34Z'
message: 'Waiting on deployments: net-istio-controller'
reason: NotReady
status: 'False'
type: DeploymentsAvailable
- lastTransitionTime: '2024-08-01T19:07:29Z'
status: 'True'
type: InstallSucceeded
- lastTransitionTime: '2024-08-01T19:07:29Z'
message: 'Waiting on deployments: net-istio-controller'
reason: NotReady
status: 'False'
type: Ready
- lastTransitionTime: '2024-08-01T15:49:04Z'
status: 'True'
type: VersionMigrationEligible
manifests:
- /var/run/ko/knative-serving/1.15.0
- /var/run/ko/ingress/1.15/istio
observedGeneration: 1
version: 1.15.0
spec:
config:
domain:
functions.api.staging.miku-app.com: ''
istio:
local-gateway.knative-serving.knative-local-gateway: knative-local-gateway.istio-system.svc.cluster.local
deployments:
- name: net-istio-controller
resources:
- container: controller
limits:
memory: 1Gi
requests:
memory: 100Mi
version: 1.15.0
I now even tried to remote knative entirely and also delete all resources related to it by deleting all resources with knative in the type. The error still persists
kubectl api-resources --verbs=list --namespaced -o name \
| xargs -n 1 kubectl get --show-kind --ignore-not-found --all-namespaces | grep knative
How many (and large) secrets do you have in your cluster? Maybe try https://github.com/knative-extensions/net-istio/pull/920 (check the release notes in that PR).
How are you installing Istio?
@maylukas gentle ping.
In what area(s)?
What version of Knative?
Knative Serving: 1.15.0 Istio: 1.22.3
Expected Behavior
net-istio-controller should start
Actual Behavior
net-istio-controller fails to start and emits the following console output (I have replaced the actual service names with service(1/2/3):
Steps to Reproduce the Problem
Can't really tell - The same Knative configuration applied with Terraform works on our dev cluster but not in our staging cluster