Este contenido no está disponible en el idioma seleccionado.

Chapter 2. Integrating OpenShift Serverless with the cost management service


You can integrate Serverless with the cost management service in OpenShift Container Platform to track and analyze costs for cloud and container workloads. The service uses the open source Koku project to offer cost visibility and insights.

You can review the required permissions and ensure that cost management is configured with an OpenShift Container Platform source before you proceed.

  • You have cluster administrator permissions.
  • You have set up cost management and added an on OpenShift Container Platform source.

2.2. Labels for cost management queries

You can apply labels, also known as tags in cost management, to nodes, namespaces, or pods. Each label consists of a key-value pair. Use combinations of labels to generate reports. You can access reports about costs by using the Red Hat hybrid console.

Nodes pass labels to namespaces, and namespaces pass them to pods. However, labels are not overridden if they already exist on a resource. For example, Knative services have a default app=<revision_name> label:

You get an output similar to the following example:

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
  name: showcase
spec:
...
      labels:
        app: <revision_name>
...

If you define a namespace label such as app=my-domain, the cost management service excludes costs from a Knative service with the tag app=<revision_name> when you query by using the app=my-domain tag. Query those costs by using the app=<revision_name> tag.

Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba