Questions tagged [knative]

Questions relating to http://knative.dev/ open source kubernetes-based platform to deploy and manage modern serverless workloads.

Questions relating to http://knative.dev/ open source kubernetes-based platform to deploy and manage modern serverless workloads. This may include commercial implementations such as

  1. Red Hat's OpenShift Serverless Architecture.
  2. IBM Knative.
  3. Google Cloud Run.
202 questions
2
votes
1 answer

How to make cluster local request from one service to another in Knative?

I have followed the this guide https://knative.dev/docs/serving/cluster-local-route/ to make a service cluster-local. I am trying to access that service from another service that is inside the cluster using curl command but i always get could not…
Alexis_Ni
  • 907
  • 7
  • 14
2
votes
2 answers

GCP Cloud Run: Failed to create a service

I am trying to use Cloud run with private GKE cluster. I created the cluster using the below command: gcloud beta container clusters create cluster-name \ --create-subnetwork name=cloud-run-subnet \ --enable-master-authorized-networks \ …
2
votes
0 answers

Knative image build and push fails with acces denied

I'm trying to build and push a docker image with Knative. I have a maven java application and a multistaging Dockerfile that builds and runs the application: WORKDIR /usr/app COPY pom.xml ./ COPY src/ ./src/ RUN mvn package FROM…
Sergii Bishyr
  • 8,331
  • 6
  • 40
  • 69
2
votes
3 answers

Weird way of accessing Cloud Run on GKE services

I am following this tutorial to perform a so called quickstart on gcp's cloud run and experiment a bit with it. Some delays and inconsistencies about announced and typical service availability aside, the scripted steps went well. What I want to ask…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
2
votes
1 answer

Unable to Access Private Registry in Knative

I am trying to push an example application to Knative however I am running into the following error message: Revision "..." failed with message: Unable to fetch image "...": unsupported status code 401; body: Not Authorized Knative is setup…
Baily
  • 1,290
  • 2
  • 14
  • 35
2
votes
1 answer

Knative/Kubernetes unique IP for outbound traffic

Question: Does Knative expose low-level network components that allow me to configure the stack in such a way, that each instance has a unique IP address available for outbound networking? Info I have a workload that has to happen on queue event.…
CaKa
  • 3,219
  • 3
  • 14
  • 20
1
vote
1 answer

Integrating Local File Access into a Knative Function on a Local Kubernetes Cluster

I have a Python code deployed as Knative-functions in which I would like to read a file saved in the local machine under the path '/app/uploads/file.csv'. The Knative cluster is deployed localy using Kind. I would like to have read access of all the…
abdeltif-b
  • 25
  • 2
  • 6
1
vote
1 answer

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 following errors keep playing out within the serving…
Desolar1um
  • 85
  • 5
1
vote
0 answers

Issues with KafkaSource Adapter in Knative Eventing: Claims Update Timeout and Packet Decoding Errors

I'm currently facing challenges with my Knative Eventing setup, specifically regarding the KafkaSource adapter. It's been displaying error messages related to claims update timeouts and packet length decoding issues. detailed error messages from the…
B3ns44d
  • 836
  • 7
  • 9
1
vote
1 answer

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: enabled: true config: network: …
rabejens
  • 7,594
  • 11
  • 56
  • 104
1
vote
1 answer

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 and PersistentVolumeClaim below are the respective…
1
vote
1 answer

Does all Knative traffic have to route through Master node?

My question: Is all traffic from users to Knative service/pod must traverse through Master node? For example: I, as a customer from outside of the cluster, create a curl request to a service (pod HelloWorld), then is it true that my request and the…
1
vote
2 answers

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-random-path. I suspect there is an option to…
FabianTe
  • 516
  • 4
  • 22
1
vote
1 answer

No matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2" when installing knative serving

I followed the official instruction to installing knative serving on a self-built k8s cluster. But when running the second line kubectl apply -f https://github.com/knative/serving/releases/download/knative-v1.9.2/serving-core.yaml I got unable to…
Lyudmila Sun
  • 11
  • 1
  • 2
1
vote
0 answers

How to create a AWS Lambda like feature using Knative vs Kubernetes

I have been trying Knative + Tekton + JenkinX but still not able to replicate somthing similar. Hello Everyone, This question is more like a discussion on perspective design in serverless. I would like to create a web based platform where our…
1 2
3
13 14