1. Home
  2. Docs
  3. Functions
  4. Viewing and managing functions
  5. Starting and stopping instances

Starting and stopping instances

To increase throughput, you may run multiple instances of the same function. The messages from the input topic will be distributed round-robin to the instances (using a shared subscription).

You can stop, start, and restart running function instances. If a function is not behaving correctly, restarting it make fix it.

Stopping all instances

To stop all running function instances:

  1. From the left sidebar menu, select Functions/Manage.
  2. Find the function you would like to update. You can filter the listed functions by name, runtime, and namespace. Once you find the function, click on the Manage button.
  3. You should now see the details of the function. Click on the Instances tab.
  4. Click on the Stop All button.

Starting all instances

To start all stopped function instances:

  1. From the left sidebar menu, select Functions/Manage.
  2. Find the function you would like to update. You can filter the listed functions by name, runtime, and namespace. Once you find the function, click on the Manage button.
  3. You should now see the details of the function. Click on the Instances tab.
  4. Click on the Start All button.

Restarting all instances

To stop then start all running function instances:

  1. From the left sidebar menu, select Functions/Manage.
  2. Find the function you would like to update. You can filter the listed functions by name, runtime, and namespace. Once you find the function, click on the Manage button.
  3. You should now see the details of the function. Click on the Instances tab.
  4. Click on the Restart All button.

Stopping One Function Instance

To stop a single running function instance:

  1. From the left sidebar menu, select Functions/Manage.
  2. Find the function you would like to update. You can filter the listed functions by name, runtime, and namespace. Once you find the function, click on the Manage button.
  3. You should now see the details of the function. Click on the Instances tab.
  4. Find the row in the table of the instance you want to stop.
  5. Click on the Stop button in that row.

Starting One Function Instance

To start a single stopped function instance:

  1. From the left sidebar menu, select Functions/Manage.
  2. Find the function you would like to update. You can filter the listed functions by name, runtime, and namespace. Once you find the function, click on the Manage button.
  3. You should now see the details of the function. Click on the Instances tab.
  4. Find the row in the table of the instance you want to start.
  5. Click on the Start button in that row.

Restarting One Function Instance

To stop then start a single running function instance:

  1. From the left sidebar menu, select Functions/Manage.
  2. Find the function you would like to update. You can filter the listed functions by name, runtime, and namespace. Once you find the function, click on the Manage button.
  3. You should now see the details of the function. Click on the Instances tab.
  4. Find the row in the table of the instance you want to restart.
  5. Click on the Restart button in that row.
Was this article helpful to you? Yes No

How can we help?