Commit Graph

250 Commits

Author SHA1 Message Date
Tim Bannister f3e3d2ca46 Reword in line with style guide
Co-authored-by: ZSC <zacharysarah@users.noreply.github.com>
2022-06-20 10:57:01 +01:00
Tim Bannister 664de5d7a8 Use note and caution shortcode blocks 2022-06-20 10:57:01 +01:00
Sean Wei 34155fed0b Fix links for k/design-proposals-archive
The contributors/design-proposals in k/community was removed. It's only
available in k/design-proposals-archive repo now.

This commit also changes https://github.com/kubernetes/repo/blob/master/file.md
to https://git.k8s.io/repo/file.md for better consistency.
2022-06-10 22:49:04 +08:00
lostick cfb897169b Fix typos in tasks docs 2022-05-31 14:47:40 +01:00
xin.li e6276724bb [en] modify link about debug
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-04-30 09:48:28 +08:00
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
Kubernetes Prow Robot d2e7f4acab
Merge pull request #26352 from kbhawkey/fixup-remove-word-easy
clean up use of word: easy
2021-02-04 10:48:26 -08:00
Karen Bradshaw 7d9916af0c clean up use of word: easy 2021-02-01 15:14:25 -05:00
Konrad Delong 3d23d1799b
fixes explanation for --[hpa]-stabilization
The current explanation is misleading (for example: for consistently decreasing resource usage, the HPA stabilization does not impact the frequency of its actuation). This has confused users recently ( https://github.com/kubernetes/kubernetes/issues/96671 )
2021-01-07 10:40:49 +01:00
Kubernetes Prow Robot 7db1ae5d45
Merge pull request #24589 from wking/overlapping-pdbs
content/en/docs/tasks/run-application/configure-pdb: Acceptable overlapping PDBs
2020-12-16 13:46:31 -08:00
Kristin Martin 86d9492ccb Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.20 2020-12-03 11:58:44 -08:00
Kubernetes Prow Robot f2a78fa5d5
Merge pull request #23119 from devries/statefulset-mysql-language
Replace master/slave with primary/replica in MySQL StatefulSet example
2020-12-02 01:04:50 -08:00
Irvi Aini bb33373bb3
Merge branch 'master' into dev-1.20 2020-11-11 14:55:30 +01:00
Kubernetes Prow Robot afa5196363
Merge pull request #24825 from novas0x2a/patch-1
document HPA's implicit deactivation
2020-11-04 16:26:53 -08:00
reylejano-rxm 48266bd653 Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-11-04 10:32:10 -08:00
Karen Bradshaw dd618cff39 clean up turnkey cloud solutions 2020-11-03 15:40:26 -05:00
Arjun Naik b838012e1e
Added docs about container resource metric source for HPA (#23523)
* Added docs about container resource metric source for HPA

Signed-off-by: Arjun Naik <arjun.rn@gmail.com>

* Update content/en/docs/tasks/run-application/horizontal-pod-autoscale.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/tasks/run-application/horizontal-pod-autoscale.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/tasks/run-application/horizontal-pod-autoscale.md

Co-authored-by: Guy Templeton <guyjtempleton@googlemail.com>

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Guy Templeton <guyjtempleton@googlemail.com>
2020-11-02 11:44:15 -08:00
Mike Lundy 862482e4d1
Apply suggestions from code review
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-10-31 12:00:00 -07:00
Mike Lundy 0f4db0dc90
document HPA's implicit deactivation 2020-10-30 14:56:32 -07:00
Neha Viswanathan a8b6551c22 update kubernetes-incubator references 2020-10-20 23:10:28 -07:00
W. Trevor King 71cdde7857 content/en/docs/tasks/run-application/configure-pdb: Acceptable overlapping PDBs
The previous "must be careful not to create" wording was making folks
uncomfortable about brief overlap periods while transitioning between
two PDBs [1].

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1861104#c29
2020-10-15 12:45:18 -07:00
Kubernetes Prow Robot c7bc04463a
Merge pull request #23873 from matt-sm/patch-1
Update horizontal-pod-autoscale-walkthrough.md
2020-10-12 21:42:26 -07:00
Matt Smith c3e87ab296
Update horizontal-pod-autoscale-walkthrough.md 2020-10-13 12:51:26 +11:00
GuyTempleton 5b15a7108f
Clarify HPA Scaling Policies
Update content/en/docs/tasks/run-application/horizontal-pod-autoscale.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-10-02 18:09:13 +01:00
santadasu 5ede1e94c5
Correct a type in horizontal-pod-autoscale file
None
2020-09-29 14:28:39 -07:00
Kubernetes Prow Robot 8e4951c67c
Merge pull request #23898 from varadaprasanth/patch-2
Update run-stateless-application-deployment.md
2020-09-15 23:25:19 -07:00
Kubernetes Prow Robot 2d340079bf
Merge pull request #23900 from varadaprasanth/patch-4
Pod object is formatted
2020-09-15 18:03:20 -07:00
varadaprasanth d455c7f5fd
Update horizontal-pod-autoscale.md
pod is replaced with 'Pod' as per the documentation naming conventions
2020-09-15 15:33:13 +05:30
varadaprasanth 19d46f796d
Update horizontal-pod-autoscale-walkthrough.md
pod is replaced with 'Pod' as per the documentation naming conventions.
2020-09-15 15:22:59 +05:30
varadaprasanth 42f23e75b7
Update run-stateless-application-deployment.md
Pod name is changed from pod, as per the documentation naming conventions.
2020-09-15 14:59:08 +05:30
Matt Smith e85fabe3ed
Update horizontal-pod-autoscale-walkthrough.md
As per the error described in https://github.com/LevelUpEducation/kubernetes-demo/issues/31, guidance was to add the generator explicitly:

`kubectl run --generator=run-pod/v1 -i --tty load-generator --image=busybox /bin/sh`

But I prefer the example from the run docs https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_run/:

`kubectl run -i --tty busybox --image=busybox --restart=Never`
2020-09-14 19:59:45 +10:00
Christopher De Vries b7f8f824b0 Incorporate suggested language change from Tim Bannister with a couple changes. 2020-08-27 12:46:25 -04:00
Christopher De Vries 4bb76cd0fb Change secondary to replica and use primary as an adjective consistently 2020-08-14 08:04:50 -04:00
Christopher De Vries 044d11de32 Replace master/slave with primary/secondary where possible 2020-08-13 08:59:24 -04:00
Qiming Teng b8541d2127 Tune links in tasks section (1/2) 2020-08-12 18:32:22 +08:00
Tim Bannister 49eee8fd3d
Revise Pod concept (#22603)
* Revise Pod concept

Adapt the existing Pod documentation to suit the Docsy theme, by
promoting the Pod concept itself to /docs/concepts/workloads/pods/

Following on from this, update the Pod Lifecycle page to cover the
lifecycle of a Pod and follow on directly from the Pod concept,
for readers keen to understand things in detail.

This change also removes the automatic contents list from the Pod
overview page. Instead, the new page links to all the pages
inside the Pod section.

* Update links to Pod concept

Link to updated content

* Incorporate Pod concept suggestions

Co-authored-by: Celeste Horgan <celeste@cncf.io>

* Revise StatefulSet suggestion for Pod concept

Co-authored-by: Celeste Horgan <celeste@cncf.io>

Co-authored-by: Celeste Horgan <celeste@cncf.io>
2020-07-26 20:18:16 -07:00
Houssem Dellai c84caa795a
Replaced ADD with COPY in Dockerfile
COPY is more safe than ADD
2020-07-22 15:34:00 +02:00
Joel Smith 2c3ec99c73 Update link for HPA object to point to API docs instead of old design doc 2020-06-19 22:27:47 -06:00
Tim Bannister 74360fa8ee Add descriptions for tasks
Add description metadata for each task section (English localization).
For sections that only have one page, make sure that that sole page has
description metadata set.

This change helps prepare for the migration to the Docsy theme.
2020-06-15 20:47:26 +01:00
Karen Bradshaw 5fe8c3ca5e move setup konnectivity svc
move api-access to extend-kubernetes
2020-06-10 16:06:01 -04:00
Kubernetes Prow Robot 923cca0fda
Merge pull request #21024 from juampynr/patch-2
Fix broken phrase
2020-06-10 09:02:53 -07:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
Juampy NR 80de6ca63d
Update content/en/docs/tasks/run-application/horizontal-pod-autoscale.md
Co-authored-by: Qiming Teng <tengqim@cn.ibm.com>
2020-05-29 11:24:28 +02:00
Prasad Katti 1481e711c6 Move update-api-object-kubectl-patch.md to be under 'Manage Kubernetes Objects' section 2020-05-18 09:25:13 -07:00
Juampy NR 6e3a40df97
Fix broken phrase
Seems like a phrase was cut in 2 by mistake.
2020-05-17 13:59:00 +02:00
Kubernetes Prow Robot 22d2069bc0
Merge pull request #20417 from viniciusbds/issue-20414
Remove the --generator deprecated flag of a tutorial
2020-05-08 19:45:52 -07:00
Prasad Katti d1952bf98c Add feature state for PodDisruptionBudget 2020-05-07 16:09:18 -07:00
viniciusbds e119d7a905 Remove the --generator deprecated flag of Horizontal Pod Autoscaler Walkthrough tutorial. 2020-05-04 23:57:08 -03:00
James Spurin 4a1a8eb190 remove ns specifics for example 2020-04-25 17:58:18 +01:00
Brandon Doran 39ae30bb63 Fix small typos in horizontal pod autoscaling doc
- Fix typo in hpa stabilization window section
- Fix type in configurable scaling behavior section
2020-04-23 11:23:44 -07:00
varadaprasanth c7f46f82d7
Pod object is formatted
Pod object is formatted as per the standards
2020-04-16 18:23:21 +05:30