Questions tagged [knative-serving]

108 questions
1
vote
1 answer

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 Volume functionality (supported volume types…
1
vote
3 answers

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 sure 1 request/pod at a time) Send 1000…
1
vote
1 answer

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 also given a URL by knative to access my…
udit
  • 101
  • 3
  • 17
1
vote
0 answers

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:…
Senthil
  • 11
  • 3
1
vote
1 answer

Is it advisable to run non-Knative deployment/services on Knative installed cluster?

Is it advisable to run non-Knative deployment/services on Knative installed cluster? Or is it best to use a separate K8 cluster for k8 native containers?
1
vote
1 answer

How Knative swiches traffic to activator when pods scale to zero

I read about Knative private and public service. Private service always point to the actual deployment's endpoint while public service can either point to - where private service is pointing or it can point to activator. But in my case public…
Pragmatic
  • 3,093
  • 4
  • 33
  • 62
1
vote
1 answer

Reasoning behind Knative concurrency

I have started exploring Knative recently and I am trying to understand how concurrency and autoscaling work. I understand that (target) concurrency refers to the number of requests that can be scheduled to a single Pod for a given revision at the…
childerico
  • 89
  • 6
1
vote
1 answer

Can Knative's Kafka Broker be fed with events from outside its cluster?

When I setup a kafka broker, its URL by default using e.g. "http://kafka-broker-ingress.knative-eventing.svc.cluster.local/example/default" I am only able to send event from resource within k8 cluster. Is it possible to setup a kafka broker using…
1
vote
1 answer

Knative service with Kong gateway and path based routing

Let's say we have many microservices running on k8s with deployments, services and ingresses accessible with kong ingress gateway on api.localhost. Each microservice run on specific path, e.g. api.localhost/foo for foo…
manro
  • 43
  • 4
1
vote
0 answers

Knative/Istio with AWS Application Load Balancers

I have a question regarding the interaction between Knative serving, Istio, and AWS Application Load Balancers (ALB from now on). I'm deploying Knative Serving v0.20 using the YAML manifests (not the kn console) and Istio using the Helm charts.…
1
vote
0 answers

How to enable AutoTLS in Knative using Terrafom?

In the Knative documentation for enabling AutoTLS, it says that I need to add this to the data block in config-certmanager configmap: issuerRef: | kind: ClusterIssuer name: letsencrypt-issuer The only solution that I can think of is to use a…
Daniel
  • 509
  • 1
  • 4
  • 17
1
vote
2 answers

List service in go

I'm trying to list knative (v0.17.0) services, I have a clientset but I don't know where to start. Here is a service I launched for my test : apiVersion: serving.knative.dev/v1alpha1 kind: Service metadata: name: "helloworld" spec: runLatest: …
Quentin
  • 327
  • 3
  • 10
1
vote
1 answer

Knative - kubernetes yaml to mount data from google cloud storage

I am an newbie for Kubernetes and Cloudrun deployment using YAML file, So pardon if this question should very basic. Problem: I have files that are stored in cloud storage. I want to download these files in the local mount before the container spins…
1
vote
1 answer

How to create the knative serving

I have written a custom resource as part of the deployment. As part of this in the reconcileKind function, I have written the logic to create pod as shown below using the Kubernetes APIs in Go itself. I would like to convert this to knative serving…
coders
  • 719
  • 1
  • 11
  • 35
1
vote
2 answers

how to redeliver the message whenever there is any http error code on kafka consumer service (KafkaSource on Knative)

I am using Knative Eventing (Kafka Source, it reads the data from kafka Cluster) to trigger a consumer service, if the event/message did not processed successfully (could be any reason), i want to redeliver the message automatically. I have tried…