Questo contenuto non è disponibile nella lingua selezionata.

Chapter 13. Configuring kube-rbac-proxy for Eventing


The kube-rbac-proxy component provides internal authentication and authorization capabilities for Knative Eventing.

13.1. Configuring kube-rbac-proxy resources for Eventing

You can globally override resource allocation for the kube-rbac-proxy container by using the OpenShift Serverless Operator CR.

Note

You can also override resource allocation for a specific deployment.

The following configuration sets Knative Eventing kube-rbac-proxy minimum and maximum CPU and memory allocation:

The following example displayes KnativeEventing CR:

apiVersion: operator.knative.dev/v1beta1
kind: KnativeEventing
metadata:
  name: knative-eventing
  namespace: knative-eventing
spec:
  config:
    deployment:
      "kube-rbac-proxy-cpu-request": "10m"
      "kube-rbac-proxy-memory-request": "20Mi"
      "kube-rbac-proxy-cpu-limit": "100m"
      "kube-rbac-proxy-memory-limit": "100Mi"
  • "kube-rbac-proxy-cpu-request": "10m": Sets minimum CPU allocation.
  • "kube-rbac-proxy-memory-request": "20Mi": Sets minimum RAM allocation.
  • "kube-rbac-proxy-cpu-limit": "100m": Sets maximum CPU allocation.
  • "kube-rbac-proxy-memory-limit": "100Mi": Sets maximum RAM allocation.

13.2. Configuring kube-rbac-proxy resources for Knative for Apache Kafka

You can globally override resource allocation for the kube-rbac-proxy container by using the OpenShift Serverless Operator CR.

Note

You can also override resource allocation for a specific deployment.

The following configuration sets Knative Kafka kube-rbac-proxy minimum and maximum CPU and memory allocation:

You get an output similar to the following example:

apiVersion: operator.serverless.openshift.io/v1alpha1
kind: KnativeKafka
metadata:
  name: knative-kafka
  namespace: knative-kafka
spec:
  config:
    deployment:
      "kube-rbac-proxy-cpu-request": "10m"
      "kube-rbac-proxy-memory-request": "20Mi"
      "kube-rbac-proxy-cpu-limit": "100m"
      "kube-rbac-proxy-memory-limit": "100Mi"
  • kube-rbac-proxy-cpu-request: Sets minimum CPU allocation.
  • kube-rbac-proxy-memory-request: Sets minimum RAM allocation.
  • kube-rbac-proxy-cpu-limit: Sets maximum CPU allocation.
  • kube-rbac-proxy-memory-limit: Sets maximum RAM allocation.
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima