You can start and stop the containers and services in Telco Network Cloud Manager - Performance from your cloud platform web console and also
by using command line.
About this task
The following tasks are described here:
- Start the services.
- Stop the services.
- Scale up the services.
- Scale down the services.
Procedure
- Stop the services in your cluster by using command line.
- Help command to set a new size for a Deployment, ReplicaSet, Replication Controller,
or StatefulSet.
- Stop a stateful service.
kubectl scale -n <namespace> statefulset <service_name> --replicas=0
- Start a stateful service.
kubectl scale -n <namespace> statefulset <service_name> --replicas=1
- Start, stop, scale up, and scale down from the cloud platform web console.
- Click Stateful Sets in Workloads pane
and select the service that you want to start.
- Click the
icon, and select Edit Pod Count. You can see the following
window:

- Click the controls to increase or decrease the Pods and click
Save.
- To scale up, click the + icon.
- To scale down, click the - icon.

Stopping or scaling down the services
- Click Stateful Sets in Workloads pane and select
the service that you want to stop or scale down.
- Or, click the
icon for the service that you want to stop or scale down.
- Select Edit Stateful Set.
The YAML file is displayed.
- Reduce the
replicas
number to zero in the file.
For example,
spec:
replicas: 0
selector:
matchLabels:
service: analytics-batch
- Delete a Pod from the dashboard to restart it back automatically.
- Click
and select
the Pod that you want to delete.

Click the
icon, and select Delete
Stateful Set.