Commit Graph

195 Commits

Author SHA1 Message Date
Sohan Kr Choudhary 3a3961a87d
Update horizontal-pod-autoscale-walkthrough.md
Fix missing closing parentheses
2022-04-02 16:22:29 +05:30
Bob 5183202a3b
Update horizontal-pod-autoscale.md
Update HPA V2, custom.metrics.k8s.io, external.metrics.k8s.io design proposals to archive github link.
2022-03-28 22:36:36 +08:00
Kubernetes Prow Robot 39fd63ba12
Merge pull request #31989 from guettli/31930__fix_busybox_image_1.28
fix busybox image to version 1.28
2022-03-25 15:45:59 -07:00
Qiming Teng 58a00cfb36 Remove duplicated contents for accessing the API server
The topic of accessing the API server can be found in two places. This
is not good.
2022-03-25 18:48:27 +08:00
Thomas Guettler 7122a4498a fix busybox image to 1.28 (issues with `nslookup`).
Changes where done with these commands:

reprec 'image: busybox(?!:)' 'image: busybox:1.28' */docs */examples
reprec -- '--image=busybox(?!:)' '--image=busybox:1.28' */docs */examples

Related issues:

 https://github.com/docker-library/busybox/issues/48
 https://github.com/kubernetes/kubernetes/issues/66924
2022-03-02 20:48:26 +01:00
Shubham Kuchhal 929e8a2dfa Fixed minor typo. 2022-02-11 20:58:06 +05:30
Shubham Kuchhal 6937928969 Fix typo in Horizontal Pod Autoscaling. 2022-02-09 14:13:49 +05:30
Kubernetes Prow Robot b0a99f3952
Merge pull request #31388 from fluktuid/patch-1
set hpa examples to current networking api version
2022-02-07 10:01:43 -08:00
Guy Menahem 4bdcf5dd16 fix: clarify that the HPA controller selects the pods based on labels 2022-02-02 21:00:03 +02:00
Prasad Katti eee745066d
Move command to a code-block
Put the command in a separate code block to keep things consistent
2022-01-26 22:20:54 -08:00
Lukas Paluch 88a92b0d47
set hpa examples to current networking api version 2022-01-18 19:19:54 +01:00
Tim Bannister bf66a81980 Fix link to HPA API reference
Co-Authored-By: Christoph Neijenhuis <christoph.neijenhuis@commercetools.de>
2021-12-09 20:46:44 +00:00
Jesse Butler 584421fe11 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-06 08:55:54 -05:00
Kubernetes Prow Robot bbeb5184a7
Merge pull request #29739 from jtslear/jts/recommend-hpa-config
Add recommendation for Deployment when HPA is enabled
2021-12-05 14:56:32 -08:00
Tim Bannister e1bf8f22b2 Improve docs for HorizontalPodAutoscaler
Co-authored-by: Chris Negus <cnegus@redhat.com>
2021-12-03 12:11:45 +00:00
John T Skarbek df3184bd52
Add recommendation for Deployment when HPA is enabled
* Advertise that we need to remove `spec.replicas` when a Horizontal Pod
  Autoscaler is active to prevent unnecessary changes in Pod counts during
  Deployment object changes
* Make note that a Deployment that has this value set behave awkwardly if a
  Deployment is scaled manually outside of the Deployment object

Signed-off-by: John T Skarbek <jtslear@gmail.com>
2021-11-30 18:37:10 -05:00
Joseph Burnett ee39fdc2ad Update docs with HPA v2 stable. 2021-11-23 14:21:08 +01:00
nuno-faria d7ccf551bf
Create a separate sentence 2021-10-16 12:55:35 +01:00
nuno-faria 3ee7b1f354
Remove extra parenthesis 2021-10-13 12:02:00 +01:00
Shubham 975bd9e9b7
Improvement: Remove Heapster content from HPA. (#29547)
* Improvement: Remove Heapster content from HPA.

* Add more descriptive link for Metrics Server.
2021-09-08 18:20:10 -07:00
Vijay Kumar Jalagari 2eda36ea27
Selector expect map not string
If we using string then k8s api is throwing validation error
``` (HorizontalPodAutoscaler.spec.metrics[0].object.metric.selector): invalid type for io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector: got "string", expected "map"; if you choose to ignore these errors, turn validation off with --validate=false ```
2021-08-05 16:10:36 +05:30
Kubernetes Prow Robot f470819727
Merge pull request #28583 from vaibhav2107/hpa-walkthrough
Update the command in /docs/tasks/run-application/horizontal-pod-auto…
2021-07-29 14:05:19 -07:00
Kubernetes Prow Robot 818def30ed
Merge pull request #29018 from SamWheating/sw-fix-sentence-in-hpa-docs
Fixing improper sentence in HPA documentation
2021-07-27 03:16:45 -07:00
Sam Wheating 498647c438 Removing paragraph about ReplicationController 2021-07-26 09:17:10 -07:00
Sam Wheating e4d7ffb6d6
Update content/en/docs/tasks/run-application/horizontal-pod-autoscale.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-07-26 09:14:03 -07:00
XinYang d095a148f2
Update kubectl deprecated flag delete-local-data
Signed-off-by: XinYang <xinydev@gmail.com>

revert changes

Signed-off-by: XinYang <xinydev@gmail.com>

update more

Signed-off-by: XinYang <xinydev@gmail.com>
2021-07-23 10:39:30 +08:00
Sam Wheating 51c621a6ba Fixing improper sentence in HPA documentation 2021-07-19 10:07:51 -07:00
vaibhav 38f3e13c57 Update the command in /docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ 2021-06-23 20:15:01 +05:30
Qiming Teng e9703497a1 Remove exec permission on markdown files
For some unknown reasons, we have got many markdown files with exec
permission. That is weird and risky.
2021-06-16 17:57:00 +08:00
Marcelo Feitoza Parisi 743b5d5db8
Updating --cascade=false to --cascade=orphan
Cascade=false is deprecated in kubectl 1.21, according to Bug #27920
2021-05-10 21:12:44 -03:00
Tim Bannister 965aa51daf Merge master into dev-1.21 to keep in sync, plus latest API reference
This sync merge includes API reference updates.
2021-04-06 21:38:24 +01:00
Morten Torkildsen d341b96fb3 Promote Pod Disruption Budgets to GA 2021-03-29 19:58:50 -07:00
Kubernetes Prow Robot aeca0c62bc
Merge pull request #27227 from alecrajeev/Fix-Horizontal-Autoscaling-Link
Fix link for Horizontal Pod Autoscaler enhancement
2021-03-27 02:58:43 -07:00
Kubernetes Prow Robot 12d45e7519
Merge pull request #26760 from neha-viswanathan/26470-update-helm-repo
Update Helm charts repo to ArtifactHub
2021-03-26 04:54:43 -07:00
Kubernetes Prow Robot 999175b4d6
Merge pull request #26546 from khansuhel/patch-1
Update horizontal-pod-autoscale.md
2021-03-26 04:40:43 -07:00
Kubernetes Prow Robot ec4840824d
Merge pull request #26472 from kbhawkey/cleanup-usage-just
clean up use of word: just
2021-03-26 04:34:43 -07:00
Alec Rajeev 10be302dce Fix link for Horizontal Pod Autoscaler enhancement 2021-03-25 21:34:59 -04:00
sdwerwed 388a2730f1 Avoid using namespace that is a reserved object 2021-03-19 02:16:25 +01:00
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Neha Viswanathan 3ff51d4843 Update Helm charts repo to ArtifactHub 2021-03-03 20:13:13 -08:00
uhari03 7639bfbf83
Move accessing API from within pod to tasks (#26601)
* Move accessing API from within pod to tasks

* Remove reviewers, version check; Add whatsnext

* Move to run applications

* Fix what's next section link
2021-03-02 19:05:20 -08:00
Naoki Oketani e038da9e5e chore: fix an invalid location.hash 2021-02-18 19:19:56 +09:00
Suhel Khan b4cb812a1d
Update horizontal-pod-autoscale.md
With `v2beta2` controller can take replication decision on memory and custom metric utilisation as well.
2021-02-15 11:14:18 +05:30
Kubernetes Prow Robot d5105b529e
Merge pull request #26464 from oke-py/style
style: separate commands from output
2021-02-12 02:10:47 -08:00
Naoki Oketani e13caad951 fix an invalid location.hash 2021-02-11 20:04:59 +09:00
Naoki Oketani e0e68de173 style: separate commands from output 2021-02-11 18:29:01 +09:00
Kubernetes Prow Robot 107f4a7d73
Merge pull request #26452 from jacksgt/patch-1
Clarify selection of default HPA scaling policy
2021-02-10 23:20:15 -08:00
Jack Henschel a33e903e3a Clarify selection of default HPA scaling policy
Without first mentioning where the number 40 is coming from, it was a bit unclear why 40 would be the threshold value for policy selection in this case.
I hope this patch clarifies it.
2021-02-11 09:03:54 +02:00
Naoki Oketani a1f5566dc0 remove command from output block 2021-02-10 21:33:19 +09:00
Karen Bradshaw 3fd65482e8 clean up use of word: simply 2021-02-07 12:15:29 -05:00