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
2 answers

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 a separate pod. Afterwards, we wanna destroy the…
Michael Wurster
  • 158
  • 1
  • 8
2
votes
1 answer

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 duration to be over and not allowing any new…
2
votes
1 answer

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: http://Name.Namespace.Domain and what I would like…
Cédric
  • 31
  • 2
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
1 answer

Is it possible to add dependent environment variables in Google Cloud Run?

I would like to specify dependent environment variables on a Cloud Run service. If the environment variables have been defined in a .env file it would look like…
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…
2
votes
4 answers

Alternative to AWS lambda serverless concept in Kubernetes?

I am new to devops world and have a doubt in Kubernetes. My usecase is as follows. My organization is currently hosting all its microservices in Docker containers using Kubernetes container orchestration platform. How I want my microservice…
ajsg
  • 75
  • 1
  • 5
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…
2
votes
2 answers

How to deploy a Knative service with Kubernetes python client library

We are trying to use deploy a service using knative with the python client library of Kubernetes. We are using the following yaml file: apiVersion: serving.knative.dev/v1 kind: Service metadata: name: test-{{ test_id }} namespace: default spec: …
user3279394
  • 141
  • 7
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
0 answers

Asynchronous subscribe/notify instead synchronous HTTP in KNative Eventing

I am looking at this KNative Eventing architecture diagram And notice that the colour of arrows that goes into custom services is blue, that is the Services can only get called via HTTP protocol. HTTP protocol is synchronous and also…
Sergey Shcherbakov
  • 4,534
  • 4
  • 40
  • 65
2
votes
0 answers

.default.svc.cluster.local on {ip}: no such host

I followed this guide. Knative/GithubSource During Webhook test, I got an error from log. $ kubectl get pod NAME READY STATUS RESTARTS …
GRu. L
  • 551
  • 2
  • 5
  • 12
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
1
2
3
13 14