Skip to main content

Cloud Foundry

Connect a Cloud Foundry foundation so its applications sit alongside your Kubernetes workloads in NudgeBee. Works with Pivotal Cloud Foundry (PCF) via UAA, and with Korifi or Kubernetes-backed foundations via a service account token.


Prerequisites​

  • The Cloud Foundry API endpoint, e.g. https://api.sys.example.com.
  • Credentials for one of the two supported authentication methods:
    • Bearer Token — a Korifi or Kubernetes service account token.
    • UAA OAuth2 — UAA client credentials, for PCF.

Step 1: Configure the Integration in NudgeBee​

Navigate to Admin > Integrations > Kubernetes & Cloud, select Cloud Foundry, then click Add Cloud Foundry Account. The form walks through five steps.

The Cloud Foundry tile in the Kubernetes & Cloud tab of the integrations catalog

  • Account Name * (Required)
    • A name for this foundation, e.g. pcf-prod.
  • CF API URL * (Required)
    • The Cloud Foundry API endpoint, e.g. https://api.sys.example.com.
  • Account Type
    • Production or Non-production. This drives triage scoring: production accounts score alerts at full weight, non-production ones are damped, and workloads in production accounts count as production in blast-radius safety checks. It also drives the Production / Non-production (Environment) filter on Optimize views.
  • Authentication Method
    • Bearer Token — for Korifi or a Kubernetes service account token.
    • UAA OAuth2 — for PCF with UAA client credentials.
  • Credentials
    • Bearer Token * when using bearer authentication, or the UAA client id and secret when using UAA OAuth2.
  • Skip SSL Verification
    • Enable only for foundations presenting self-signed certificates.

The Cloud Foundry configuration form, showing the five-step panel, the CF API URL and the bearer-token and UAA OAuth2 options

Step 2: Save​

Click Save.

caution

Skip SSL Verification disables certificate checking for this connection. Prefer installing a trusted certificate on the foundation; use this only where that is genuinely not possible, and never against an endpoint reachable from the public internet.


Verify the Integration​

  1. After saving, the account appears under Admin > Integrations > Kubernetes & Cloud as Enabled.
  2. Open Infra → Cloud, pick the account, and confirm the foundation's applications appear on the Apps tab.

Screens​

A Cloud Foundry account opens on Infra → Cloud like other cloud accounts, with Summary, Troubleshoot (Events, Triage Rules, Alert Tuning) and four Cloud Foundry tabs. It has no Services tab; Optimize and Monitoring are shown but not available, and there are no cost cards. The Summary shows App Health (Running, Degraded, Stopped), Top Resource Consumers, Spaces and a metrics chart.

TabColumnsExpand for
Apps → ApplicationsApp Name, Org / Space, Status, Instances, Memory, Disk, Buildpack, Created AtDetails, Instances, Monitoring, Events
OrganizationsName, Apps, Instances, Memory, Status, Created AtDetails, Events
SpacesName, Organization, Apps, Memory, Status, Created AtDetails, Events
RoutesURL / Host, Space, Protocol, Destinations, Status, Created AtDetails, Events

Apps, Organizations and Spaces also have an Events sub-tab. Applications can be filtered by app name, State, Tag Key and Tag Value.


Troubleshooting​

SymptomLikely CauseFix
Certificate errors on saveSelf-signed certificate on the API endpointInstall a trusted certificate, or enable Skip SSL Verification if the endpoint is on a private network.
401 Unauthorized with a bearer tokenThe token expired, or belongs to a service account without read accessIssue a fresh token for a service account that can list orgs, spaces and apps.
401 with UAA OAuth2Wrong client id or secret, or the client lacks the required scopesConfirm the UAA client credentials and that the client is authorized to read the foundation.
Connects but no applications appearThe identity can authenticate but cannot list spacesGrant the account read access across the orgs and spaces you want visible.
Wrong API endpointThe UI or login endpoint used instead of the APIUse the api. endpoint, not login. or the Apps Manager URL.