Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
8caeec42
Commit
8caeec42
authored
Nov 19, 2015
by
Jerzy Szczepkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated hpa docs.
Updated hpa docs: mentioned that heapster is required. Fixes #17466.
parent
7c660bc2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
horizontal-pod-autoscaler.md
docs/user-guide/horizontal-pod-autoscaler.md
+3
-0
README.md
docs/user-guide/horizontal-pod-autoscaling/README.md
+7
-1
No files found.
docs/user-guide/horizontal-pod-autoscaler.md
View file @
8caeec42
...
...
@@ -75,6 +75,9 @@ Please note that if some of the pod's containers do not have CPU request set,
CPU utilization for the pod will not be defined and the autoscaler will not take any action.
Further details of the autoscaling algorithm are given
[
here
](
../design/horizontal-pod-autoscaler.md#autoscaling-algorithm
)
.
Autoscaler uses heapster to collect CPU utilization.
Therefore, it is required to deploy heapster monitoring in your cluster for autoscaling to work.
Autoscaler accesses corresponding replication controller or deployment by scale sub-resource.
Scale is an interface which allows to dynamically set the number of replicas and to learn the current state of them.
More details on scale sub-resource can be found
[
here
](
../design/horizontal-pod-autoscaler.md#scale-subresource
)
.
...
...
docs/user-guide/horizontal-pod-autoscaling/README.md
View file @
8caeec42
...
...
@@ -42,6 +42,11 @@ In this document we explain how this feature works by walking you through an exa
## Prerequisites
This example requires a running Kubernetes cluster and kubectl in the version at least 1.1.
[
Heapster
](
https://github.com/kubernetes/heapster
)
monitoring needs to be deployed in the cluster
as horizontal pod autoscaler uses it to collect metrics
(if you followed
[
getting started on GCE guide
](
../../../docs/getting-started-guides/gce.md
)
,
heapster monitoring will be turned-on by default).
## Step One: Run & expose php-apache server
...
...
@@ -214,4 +219,4 @@ As we see, in the presented case CPU utilization dropped to 0, and the number of
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[

]()
<!-- END MUNGE: GENERATED_ANALYTICS -->
<!-- END MUNGE: GENERATED_ANALYTICS -->
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment