115 questions
0
votes
1
answer
126
views
How to access a GKE internal Knative service from a VM in the same VPC
I have a GKE autopilot private cluster (running in a fleet) with the CloudRun (i.e. Knative) feature enabled.
I followed https://cloud.google.com/kubernetes-engine/enterprise/knative-serving/docs/...
0
votes
1
answer
356
views
‘Ingress has not yet been reconciled'
We currently have two projects set up on 4.x openshift cluster. First works fine, second wont go into ready state with errors
message: Ingress has not yet been reconciled.
reason: ...
0
votes
0
answers
548
views
Operation cannot be fulfilled on deployments.apps - the object has been modified; please apply your changes to the latest version and try again
I am really perplexed as to what is causing this issue and flooding our logs each time a knative service is invoked. These are "fresh" first-time deployments applied with kubectl apply and ...
0
votes
0
answers
132
views
KServe torch model crash, no useful logs for troubleshooting
I'm trying to use KServe to run inference on a torch-model-archiver'ed model, doing image cropping. At a certain size (1024x1024) the torchserve worker dies and I get the following stacktrace
Can ...
0
votes
0
answers
41
views
Is it possible to send List of CloudEventMessage as response of Spring cloud function triggered by knative trigger?
I am new to knative eventing. I am working with spring cloud functions that are triggered by knative triggers. Now if I am returning single CloudEventMessage from my function it is getting put into ...
1
vote
2
answers
87
views
How to mount NFS in Knative v0.23?
We encountered a need to mount NFS when using Knative v0.23, but PVC was not supported by Knative until v1.2. Upgrading the Knative version carries certain risks for us. Is there a way to use NFS in ...
0
votes
1
answer
108
views
Knative Serving just returns default Apache Webpage
I'm following this guide to deploy a Knative Service and used this to install Knative Serving using YAML files.
When accessing the service using:
echo "Accessing URL $(kn service describe hello -...
5
votes
1
answer
517
views
How should I add HTTP authentication to KNative services?
I’m looking into migrating some k8s applications to KNative serving, this means I need to use Istio ingress gateway instead of Traefik ingress. However, I ran into issues trying to migrate basicAuth ...
0
votes
1
answer
349
views
How to fix knative-serving activator pod waiting?
I have k8s with calico networking layer. Then I try run kubectl get pods -n knative-serving
NAME READY STATUS RESTARTS AGE
activator-5ccbd798b6-rkn5v ...
1
vote
0
answers
185
views
Slow Knative service creation times
I have Knative v1.10.2 running on a GCP GKE cluster installed using the Knative Operator with Kourier as networking layer. I have the Knative Serving components scaled to 3 pods each. I've been using ...
1
vote
0
answers
167
views
kubeflow deployment failed with knative domainmapping-webhook crashloopbackoff
Just install Charmed Kubeflow. Everything is ok but missing knative.
Keep crashing with log below
{"severity":"ERROR","timestamp":"2023-07-16T18:37:03.684598799Z&...
0
votes
1
answer
469
views
Knative Functions with Spring Boot: Dosnt get up! Readiness Probe Failures?
I have been working on Knative functions and am experiencing some issues while deploying it. The application is a simple Java Spring Boot application (the default application that will be crated with ...
1
vote
1
answer
646
views
Knative intermittently failing to create deployments
I've been running into this issue where every once in a while Knative will become unable to create new Deployments, and will spontaneously recover within a few hours and create it. Until then, the ...
1
vote
1
answer
105
views
KNative functions: Sclaed down to zero after 30s even if grace period is increased
I configured my KNative serving like this:
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
name: knative-serving
namespace: knative-serving
spec:
ingress:
kourier:
...
2
votes
2
answers
583
views
Automatic creation of Ingress resources with Knative
Is it possible to have Knative automatically create K8s Ingress resources?
Hello all,
Based on the following lines from documentation, I was wondering if I can have Knative automatically create the ...
0
votes
1
answer
148
views
autoscaling metric type - memory, not working (always create cpu metric based hpa)
I am trying to create hpa for memory based metric, so I provided the annotations in my service according to docs.
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: helloworld-go
...
1
vote
2
answers
2k
views
knative admission webhook: validation failed: Persistent volume claim support is disabled
I am trying to deploy service on eks with knative installed on eks, here eks configured with fargate-profile.
I want to mount efs to my service for that i have created StorageClass,PersistentVolume ...
0
votes
1
answer
418
views
Using Ingress with Knative service and Contour
I'm running Knative with Contour for a POC. At the moment, we are using K8s Ingresses (nginx ingress controller) to route traffic to our services.
I was wanting to test out how it would work if I use ...
1
vote
2
answers
374
views
How can knative functions react to multiple URL paths?
I have created a simple hello-world function via func create -l go and can successfully run it locally and have it deployed in k8s.
The function is not invoked if I call http://localhost:8080/some-...
1
vote
1
answer
1k
views
ConnectionResetError (104, 'Connection reset by peer) in kserve?
I have A Hugging face model https://huggingface.co/TahaDouaji/detr-doc-table-detection in Torch serve it is working fine when I deployed it in locally. I tried to deploy the model in kserve as ...
3
votes
1
answer
745
views
KNative and gRPC with nginx-ingress
I have installed Knative/KServe in my AWS EKS cluster. Everything is working fine, but recently we decided to try gRPC for our services deployed there. It's deployed with Istio,winth nginx ingress in ...
0
votes
1
answer
1k
views
Knative service deployment fails with reason RevisionMissing
I have deployed a service on Knative. I iterated on the service code/Docker image and I try to redeploy it at the same address. I proceeded as follow:
Pushed the new Docker image on our private ...
0
votes
1
answer
520
views
Create a cronjob in Knative publishing messages to Kafka
I would like to create a cronjob via Knative that sends healthcheck messages to my Kafka topic every 10 minutes.
Then we will have a separate endpoint created, that will receive these messages and ...
1
vote
0
answers
63
views
camel knative component not deploying any knative service for knative endpoint
Added a camel-knative component in my camel route as an inbound but deployment on kubernetes cluster is not working. Expected it to expose a knative service corresponding to knative endpoint but give ...
0
votes
1
answer
1k
views
Configure knative serving to use the local Docker image
How do we configure the knative serving to use the local docker image?
If we need to pull the image from the Google Cloud registry, we append "gcr.io/" as a prefix to the image name. ...
1
vote
1
answer
741
views
Issue running KNative with MicroK8S on Multipass
I'm trying to get KNative to be able to create services on my Multipass VM with MacOS as the host OS and I am using MicroK8S. I have DNS enabled and I am using metallb as my ingress controller. I have ...
1
vote
1
answer
309
views
Mount smb-shares in the KNative service
I need to read file from smb:// share within Knative function. Is it possible?
I tried to mount share with Volumes (PersistentVolume/PersistentVolumeClaim). But seems Knative services don't support ...
1
vote
3
answers
898
views
Increase number of events sent by Knative Kafka broker to Knative Service
Knative configuration as below:
Source: AWS SQS source
Broker: Kafka broker
Trigger: A trigger with sink is a Knative service
Knative service: A knative service with containerConcurrency = 1 (to make ...
1
vote
1
answer
663
views
Obtaining a public IP or domain name in a Knative+MiniKube setup
I am attempting to use knative to self-host a simple FaaS platform from an on-premises Linux server. I have installed minikube successfully, and installed/configured knative using the knative ...
2
votes
1
answer
698
views
Making knative services available with host ip
I am exploring knative for some microservices i have. I was successful in setting up knative locally by using the quickstart plugin, KinD and have my containers up and running in the cluster. I was ...
0
votes
1
answer
1k
views
How to enable HTTPS for InferenceService in KNative
Can you please kindly help. I have successfully deployed KNative cluster for our ML services, using official documentation. Everything is working good, expect HTTPS.
I've followed https://knative.dev/...
2
votes
2
answers
1k
views
Can Knative always start pods for each incoming request?
We want to build a simplified job/task processing system based on Kubernetes. We thought about using Knative and its eventing features. However, one requirement is to execute each task/job isolated in ...
2
votes
1
answer
2k
views
k8s user container is getting shut down by envoy/istio sigterm without completing process
Envoy sending TERM signal and closing my application before the process completion. Increasing Drain Duration preventing the pod from going down after the completion.(its waiting for the grace ...
2
votes
1
answer
1k
views
Knative services URLs
I'm currently evaluating Knative but I've definitely find no way to use path instead of subdomain in the URL for accessing service.
By default, when creating an service, the URL is made like this: ...
2
votes
2
answers
2k
views
What is the knative's "mesh" gateway
I see that for every knative service, 2 VirtualService objects are created namely ksvc-ingress which has knative-serving/knative-ingress-gateway & knative-serving/knative-local-gateway gateways ...
0
votes
1
answer
212
views
Secure mTLS communication within Istio-knative services + external requests
We are converting existing k8s services to use istio & knative. The services receive requests from external users as well as from within the cluster. We are trying to setup Istio ...
0
votes
1
answer
797
views
How to auto scale up/down Flink Stateful Functions on K8s
My Current Flink Application
based on Flink Stateful Function 3.1.1, it reads message from Kafka, process the message and then sink to Kafka Egress
Application has been deployed on K8s following ...
0
votes
2
answers
398
views
Knative Parallel and Sequence demo fails
I am trying out knative sequence/parallel flows.
I started with sequence example mentioned in official website for release v1.1
I created steps, sequence and pingSource as mentioned in the document ...
0
votes
1
answer
535
views
knative service not working with nginx image
Do you know why nginx is not starting using Knative?
No problem using standard deployment:
kubectl create deployment nginx --image=nginx
But using Knative service - there is issues:
apiVersion: ...
0
votes
1
answer
733
views
Is it possible to install KNative on Google GKE in "Autopilot" mode?
Is it possible to install KNative on Google GKE in "Autopilot" mode?
I unfortunately haven't found any tutorial on this and cannot use a managed solution for this project because the cpu and ...
2
votes
1
answer
1k
views
Knative: Why one Dockerfile "Readiness probe failed:" and another do not?
kubectl version --short
Client Version: v1.22.2
Server Version: v1.21.1
This Dockerfile give "Readiness probe failed":
# syntax=docker/dockerfile:1
FROM golang:1.17.2-alpine as builder
...
4
votes
1
answer
576
views
How to scale knative service based on custom metrics?
I'm using Knative serving with KPA. Autoscaling is available in Knative based on concurrency and RPS. But we need to scale different services based on queue lengths because there are long running ...
3
votes
1
answer
339
views
how to call knative service [grpc server] by using a python client
I have created a knative service[gRPC server] in aks cluster, I have exposed the service using istio gateway private static IP,
After using the command kubectl get ksvc I have got an address sample-...
2
votes
2
answers
5k
views
knative service deployed fails with reason RevisionMissing when image is used from docker hub(public repository)
I'm trying to deploy a knative service in my local Kubernetes cluster (Docker Desktop for windows).
I could create a knative service when I use images from the google cloud container registry (gcr.io/...
0
votes
2
answers
1k
views
Serving custom model from Kubeflow pipeline
I have a kubeflow pipeline which trains custom (i.e. not based on sklearn / tensorflow etc. classes) ml model. Now I would like to add serving at the end of the pipeline. I.e. I want to have a service ...
3
votes
2
answers
275
views
Can we setup Knative cluster with Kata Container runtime?
I'm a newbie to lightweight virtual machines. I'm going to install Knative with Kata Container Runtime. Is it possible?
I know that Kubernetes works with Kata Container runtime. But, Does Knative work ...
0
votes
0
answers
287
views
Cloud Run for Anthos service queue-proxy container keeps crashing
I have a Cloud Run for Anthos service running on my kubernetes cluster managed in Google Kubernetes Engine.
Out of nowhere all the services deployed stopped responding. The cause of the issue is that ...
1
vote
0
answers
208
views
Running Knative serving e2e tests locally
I am trying to run the serving e2e tests locally using kind.
These are the steps I have followed:
kind create cluster
Install Knative serving using the steps from here: https://github.com/knative/...
0
votes
1
answer
423
views
Single request spinning 2 Knative instances when setting concurrency limit to 1
I am trying to achieve a scenario whr 5 curl requests would spin 5 pods.
I have being playing around with Knative concurrency setting for autoscaling.
Some observation I realise is that when I set
...
0
votes
1
answer
64
views
How do I check storage size for a Knative container and how can I increase it?
I have few storage related question for Knative apps
How do I check how much storage space do I have for a stateless knative apps.
Reason being I need the Knative pod to process a huge file of 1G ...