Questions tagged [knative-serving]
108 questions
2
votes
2 answers
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 configured and ksvc-mesh which has mesh as the…

Mukund Jalan
- 1,145
- 20
- 39
2
votes
1 answer
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
WORKDIR /source
COPY ./src/go.mod ./
# COPY ./src/go.sum…

Chris G.
- 23,930
- 48
- 177
- 302
2
votes
2 answers
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/knative-samples/helloworld-go) but I'm facing an…

Vinay Cheguri
- 55
- 7
2
votes
2 answers
Error setting resource limits using "kn service update hello-example --request"
Working through some samples in Knative in Action and have run into the following error trying to set minimum CPI and RAM:
Omers-MacBook-Pro-2:Knative development$ kn service update hello-example --request 'cpu=500m,memory=256Mi'
Error: giving up…

Omer Bensaadon
- 23
- 4
2
votes
1 answer
How to generate code using the code generator for the custom resource definition
I want to use serving api which is the part of the knative serving repo to create serving application. Since i'm writing a custom controller, i need to make use of Go client. I'm finding it difficult to generate boiler plate code using the…

coders
- 719
- 1
- 11
- 35
2
votes
1 answer
How to set MaxRevisionTimeoutSeconds in Knative?
I have deployed a service using Cloud run on gke which uses Knative as an abstraction over k8s. The default MaxRevisionTimeoutSeconds is set to 600s in the knative default config but according to this PR this is customizable.
I couldn't find…

Srijan Singh
- 37
- 1
- 2
- 11
2
votes
1 answer
KNative Service unable to download Hello World image from Docker HUB
I am working on a Kubernetes I deployed on my Mac using Vagrant and Vbox.
Then I installed Istio, Knative Serving, and Eventing.
I then defined a service.yaml file with the following content:
---
apiVersion: v1
kind: Namespace
metadata:
name:…

Salvatore D'angelo
- 1,019
- 3
- 14
- 39
2
votes
3 answers
Does KNative serving not allow initContainers field?
I'm trying to deploy a service with a container and a initContainer, using KNative.
I installed Istio without sidecar injection if that matters.
This is the error I get:
Internal error occurred: admission webhook "webhook.serving.knative.dev" denied…

Daniel
- 509
- 1
- 4
- 17
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
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
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…

Hitesh Ghuge
- 793
- 2
- 10
- 39
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
0 answers
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 us an error of KnativeConsumerFactory not…

NAZAR REHMAN
- 179
- 3
- 19
1
vote
1 answer
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 also changed Multipass to use hyperkit instead…

CGideon
- 143
- 2
- 15