Controlling the Telco Network Cloud Manager - Performance services

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.
    1. Help command to set a new size for a Deployment, ReplicaSet, Replication Controller, or StatefulSet.
      kubectl scale --help
    2. Stop a stateful service.
      kubectl scale -n <namespace> statefulset <service_name> --replicas=0
    3. 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.
    1. Click Stateful Sets in Workloads pane and select the service that you want to start.
    2. Click the Actions icon icon, and select Edit Pod Count.
      You can see the following window:

      Edit Pod Count window

    3. 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.

      • Click the Actions(Actions icon) icon, and select Scale.
      • In the Desired replicas field, select 0.

        If the Actual replicas field contains 2, then you can scale down the number by decrementing in Desired replicas.

      • Click Scale.
  • Or, click the Actions icon 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.
    1. Click Workloads > Pods and select the Pod that you want to delete.

    2. Click the Actions icon icon, and select Delete Stateful Set.