Creating a Pool

Create a pool in Data Flow to configure a group of compute resources that can be used to run various Spark data and machine learning workloads, including batch, streaming, and interactive.

Before you begin, you must have set up the appropriate polices to use and manage pools.

    1. On the Pools page, select Create pool. If you need help finding the Pools page, see Listing Pools.
    2. In the Create pool panel, enter a name for the pool and an optional description to help you find it.
    3. For Configuration 1, enter the following values:
      1. Select a compute shape.
      2. Optional: Customize the number of OCPUs and the amount of memory.
      3. Enter the number of shapes. to include in the pool. The minimum is 2.
    4. (Optional) To add another configuration, select Add configuration and repeat the preceding step.
      Note

      You can have a maximum of three configurations per pool.
    5. (Optional) Create a schedule to start the pool.
      1. Select the checkbox for the day you want the pool to start.
      2. Select the hour (UTC) on which to automatically start the pool.
      3. Select the checkbox for the day you want the pool to stop.
      4. Select the hour (UTC) on which to automatically stop the pool.
    6. (Optional) Specify the idle timeout in minutes to automatically stop the pool when it's idle.
    7. (Optional) To add tags to the pool, select a tag namespace (for defined tags) and then specify a tag key and value. Add more tags as needed. For more information about tagging, see Overview of Tagging.
    8. Select one of the following options:
      • Select Create pool to create the pool now and start it at the scheduled time.
      • Select Create and start pool to create the pool now and start it immediately after it's created.
      • Select Save as stack to create the pool later.
  • Use the command-name command and required parameters to create a Pool:

    oci service-name command-name --required-param-name variable-name ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the OperationName operation to create a Pool.