Skip to content

[DOCS] README monitoring commands use labels, ConfigMaps and status fields the operator never sets #255

Closed

Description

Summary

The README monitoring and status sections describe objects and status fields that the Gateway controller does not produce. Every object the controller creates for a Gateway (Deployment and pod template, Service, HPA, upstream Gateway, HTTPRoute and routing ConfigMap) is labeled only app: <gateway-name>; only the ServiceAccount gets app.kubernetes.io/* labels (internal/controller/gateway_controller.go L1534-1545). The reconciler writes only status.url, status.providerSummary, status.serviceAccountName, status.mcpServers and status.mcpServerCount (reconcileGatewayStatus, updateProvidersSummary and updateServiceAccountStatus). phase, readyReplicas, availableReplicas, conditions and message exist in GatewayStatus (api/v1alpha1/gateway_types.go L706-757) but are never set.

Acceptance Criteria

  • README.md L765: -l app.kubernetes.io/managed-by=inference-gateway-operator matches no Deployment, Service or ConfigMap; use -l app=<gateway-name> (set in buildDeployment, reconcileService and reconcileModelRoutingConfig).
  • README.md L768: gateway pods are labeled app=<gateway-name>, not app.kubernetes.io/name=<gateway-name>.
  • README.md L982: there is no <gateway-name>-config ConfigMap. The only ConfigMap the Gateway controller creates is <gateway-name>-routing, and only when spec.routing.config is set inline (gateway_controller.go L992-1048).
  • README.md L771-776: replace "Ready and available replica counts", "Deployment conditions and health", "Current phase (Pending, Running, Failed, Unknown)" and "Detailed error messages" with the fields the controller actually populates, or implement the missing status reporting.
  • README.md L716: the Gateway MCPS column is status.mcpServerCount, the number of static plus discovered MCP servers (gateway_types.go L787), not only the discovered count.
  • README.md L943: the metrics port is on the Service named after the Gateway (<gateway-name>, not gateway-service), and it is only exposed when both telemetry.enabled and telemetry.metrics.enabled are true (gateway_controller.go L845-857).

Activity

  1. added
    documentation
    on Sep 25, 2026
  2. edenreich commented on Sep 25, 2026

    @edenreich
    Contributor

    @claude can you work on this?

  3. inference-gateway-maintainer commented on Sep 25, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 23s —— View job • docs/issue-255-20260925-2213


    Done - README monitoring docs corrected

    • Gather context (issue + README sections)
    • Verify controller labels, status fields, ConfigMap names, metrics port
    • Fix label selectors (-l app=<gateway-name> for resources and logs)
    • Fix ConfigMap name (<gateway-name>-routing, only with inline spec.routing.config)
    • Replace unset status fields with the ones reconcileGatewayStatus populates
    • Fix Gateway MCPS column description (static + discovered)
    • Fix metrics port/service and note the telemetry gating
    • Commit and open PR

    What changed

    All in README.md, docs-only:

    Was Now
    -l app.kubernetes.io/managed-by=inference-gateway-operator -l app=my-first-gateway (the only label buildDeployment, reconcileService, reconcileModelRoutingConfig set)
    kubectl logs -l app.kubernetes.io/name=... kubectl logs -l app=my-first-gateway
    "Ready/available replicas, Deployment conditions, phase, error messages" url, providerSummary, serviceAccountName, mcpServers, mcpServerCount + pointer to the Deployment for rollout health
    kubectl get configmap my-gateway-config kubectl get configmap my-gateway-routing (only when spec.routing.config is set inline)
    curl http://gateway-service:9464/metrics curl http://my-gateway:9464/metrics, noting it needs telemetry.enabled and telemetry.metrics.enabled
    Gateway MCPS "discovered count" "static + discovered MCP servers" (Orchestrator column left as discovered-only, which is correct per orchestrator_types.go:201)

    Chose the documentation fix over implementing the missing phase/readyReplicas/conditions reporting - the issue offers either, and the docs change is the whole diff. If you want the status fields actually populated, that is a separate code change worth its own issue.

    Not run: task lint / task test - no Go or manifest changes in this PR.

    Create a PR - already opened as #256.
    | Branch

  4. moved this from QA to Done in 2026on Sep 25, 2026
  5. inference-gateway-releaser commented on Oct 3, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.27.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions