Adding Resources to a Fleet Manually

Filter and add resources to a fleet manually in Fleet Application Management.

Note

After you add resources, Fleet Application Management plugin is enabled, and the resources become managed resources.
    1. On the Fleets list page, select the fleet that you want to work with. If you need help finding the list page or the fleet, see Listing Fleets.
    2. Select the Managed resources tab.
    3. Select Add resources.
      Note

      If you don't find any resources displayed in the list table, use the Compartment filter to switch compartments.
    4. In the Add resources panel, select the checkbox next to the resources that you want to include in the fleet, for example, Compute instances or database resources.
    5. Select Add resources.
    6. Verify the status of the resources in the Add resources status panel and then select Close
      Note

      Select Retry to check the resource status again when the resource status displays an error for a resource. If the error continues, fix the resource and then add the resource.
    7. To add resources from another compartment, select that compartment and repeat the preceding steps.

    After you add resources to the fleet, they appear in the Managed resources table. You can perform the following actions:

    • Select a fleet resource to find its details.
    • From the Actions menu (Actions Menu) for the fleet resource, select Remove to remove it from the fleet.
  • Use the oci fleet-apps-management fleet-resource create command and required parameters to add resources to a fleet:

    oci fleet-apps-management fleet-resource create --compartment-id <compartment_OCID> --fleet-id <fleet_OCID> --resource-id <resource_OCID> --tenancy-id <tenancy_OCID> [OPTIONS]

    For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.

  • Run the CreateFleetResource operation to add resources to a fleet.