Skip to content

Commit a8f4d3a

Browse files
committed
Removes verbose examples from concepts
1 parent b3e12f0 commit a8f4d3a

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

content/en/docs/concepts/workloads/autoscaling.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,16 @@ There are manual and automatic ways to scale your workloads, depending on your u
2020
Kubernetes supports _manual scaling_ of workloads, either by changing the number of
2121
{{< glossary_tooltip text="replicas" term_id="replica">}} defined for an object that manages a set of
2222
{{< glossary_tooltip text="Pods" term_id="pod" >}} (for example a {{< glossary_tooltip text="Deployment" term_id="deployment" >}}),
23-
or by adjusting the provided resources of each Replica (for example CPU or memory).
23+
or by adjusting the resource requests and limits of the replicas managed by the workload
24+
(for example CPU or memory):
2425

25-
### Manual changes to replica count
26-
27-
You can use the `kubectl scale` command to increase or decrease the number of replicas for a workload:
28-
29-
```shell
30-
kubectl scale deployment <deployment-name> --replicas=<desired-count>
31-
```
32-
33-
See also this [example of scaling a Deployment](/docs/concepts/workloads/controllers/deployment/#scaling-a-deployment) in the `Deployment` documentation.
34-
35-
### Resizing workloads in-place
36-
37-
Instead of scaling the number of replicas of a workload, you can also adjust the provided resources
38-
for a particular pod or set of pods, in-place. You do this by patching the entries in one or both of the following
39-
fields of the `Pod` or [pod template](/docs/concepts/workloads/pods/#pod-templates) you want to resize:
40-
41-
- `spec.containers[*].resources.requests`
42-
- `spec.containers[*].resources.limits`
26+
- [Running multiple instances of your app](/docs/tutorials/kubernetes-basics/scale/scale-intro/)
27+
- [Resizing CPU and memory resources assigned to containers](/docs/tasks/configure-pod-container/resize-container-resources)
4328

4429
{{< note >}}
4530
Resizing a workload in-place **without** restarting the Pods or its Containers requires Kubernetes version 1.27 or later.
4631
{{< /note >}}
4732

48-
See also this task about [resizing CPU and memory resources](/docs/tasks/configure-pod-container/resize-container-resources) assigned to Containers.
49-
5033
## Scaling workloads automatically
5134

5235
Kubernetes also supports _automatic scaling_ of workloads, which is the focus of this page.

0 commit comments

Comments
 (0)