Questions tagged [knative-serving]

108 questions
0
votes
1 answer

local knative serving and ambassador wihtout TLS

I am trying to use knative for some long running processes, triggered only locally from within the cluster. As networking layer we already use ambassador, and it is configured with TLS, and to redirect HTTP requests to HTTPS: apiVersion: v1 kind:…
crsx
  • 1
0
votes
2 answers

knative: routing based on custom headers?

We can create a knative service which have two revisions, then we can config traffic like this. traffic: - latestRevision: false percent: 100 revisionName: header-v1 - latestRevision: false percent: 0 revisionName: header-v2 …
julie
  • 43
  • 3
0
votes
2 answers

Knative service with Keycloak gatekeeper sidecar

I am trying to deploy the following service: {{- if .Values.knativeDeploy }} apiVersion: serving.knative.dev/v1 kind: Service metadata: {{- if .Values.service.name }} name: {{ .Values.service.name }} {{- else }} name: {{ template "fullname" .…
user3727540
  • 922
  • 3
  • 11
  • 30
0
votes
2 answers

Deploying image to Knative service using knctl/kubectl in tekton pipeline

I was going through the official Tekton documentation where it deploys an image to Kubernetes using kubectl standard deployment object manifest . However I am trying use Tekton pipeline as CI/CD to deploy in a knative service which should either use…
Neil
  • 5,919
  • 15
  • 58
  • 85
0
votes
2 answers

KNative with Istio Listening on Port 8080

I have setup Istio's "ingress gateway" to listen on 8080, and have issues with running the Knative hello-world. Has anyone setup Knative like this? I would like internet traffic coming in to port 8080 to show the output of the Knative hello world.
Randy L
  • 14,384
  • 14
  • 44
  • 73
0
votes
1 answer

knative helloworld does not run microk8s due to x509 certificate issue

I have installed knative on microk8s using ubuntu (Ubuntu 20.04 LTS). I am trying basic knative example , but it's not working. 1. First I've tried with kn. (kn was not able to read configuration, so I've exported the configuration using…
0
votes
0 answers

Knative installation: Can't pull "gke.gcr.io/istio/proxy_init:1.2.10-gke.1"

I am trying to install Knative on my GKE cluster. I followed the Knative website to do it. However, Knative Serving can't be installed due to the following error: Failed to pull image "gke.gcr.io/istio/proxy_init:1.2.10-gke.1": rpc error: code =…
Yassir S
  • 1,032
  • 3
  • 21
  • 44
0
votes
2 answers

Changing public url in knative service definition

i'm playing around with knative currently and bootstrapped a simple installation using gloo and glooctl. Everything worked fine out of the box. However, i just asked myself if there is a possibility to change the generated url, where the service is…
alexzimmer96
  • 996
  • 6
  • 14
0
votes
2 answers

Knative on GKE is not working with some images, shows RevisionMissing error

I am running Knative on a GKE cluster. The sample images provided on the Knative website work but when I switch to some other images, it stops working. Only 2 containers work out of 3 and route's ready state remains 'unknown' and Reason shows as…
0
votes
1 answer

Edits to config-autoscaler configmap automatically revert a few minutes after changes applied

I'm trying to tune the autoscaler for a Google Kubernetes Engine cluster with the cloud-run addon enabled. When I edit the configmap The changes are accepted by the API server. However, after a few minutes, the configmap reverts to the original…
0
votes
1 answer

What are the exact system requirements for Knative set up? Why the basic setup guide lead me to exhaustion of resource?

I have been trying to set up Knative development environment on my system. But everytime i deploy Istio , the pilot remain in pending state and i find its because of resource exhaustion. I followed basic setup guide from Knative docs. i.e.…
rskcodin
  • 13
  • 3
0
votes
2 answers

How to set a minimum scale to 1 for k-native on GKE?

I installed k-native on my k8s cluster on GKE. Now I am running a test with a sample HelloWorld app. Since I'm running on GKE and paying for the cluster 24/7 it makes no sense to scale a deployment to zero and always have a cold start for the first…
0
votes
2 answers

Simple HelloWorld app on cloudrun (or knative) seems too slow

I deployed a sample HelloWorld app on Google Cloud Run, which is basically k-native, and every call to the API takes 1.4 seconds at best, in an end-to-end manner. Is it supposed to be so? The sample app is at…
0
votes
1 answer

knative 0.4 Serving - Revisions name

Is it possible to set a revision name? When I create a service it create a configuration and a revision, but the revision name has a "random" suffix that makes it difficult to track the revision order.
Jxadro
  • 1,497
  • 2
  • 16
  • 36
0
votes
1 answer

Can knative delete a deployed app via Kubernetes Server?

We are trying to use knative to deploy and delete container based apps dynamically via a REST call to kubernetes server. Once knative is up and running and configured deploying an app is fairly straightforward by executing a Service yaml referencing…