Commit Graph

80 Commits

Author SHA1 Message Date
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
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Andrei Artemov 4919d66afc Update the note ragarding matchLabels vs matchExpressions in the Deployment document 2021-03-10 15:58:10 +02:00
Karen Bradshaw 3fd65482e8 clean up use of word: simply 2021-02-07 12:15:29 -05:00
kartik494 fd411a39c1 Update rollout deployment command 2020-12-08 18:29:05 +05:30
Walter Sosa 0948cf981e
Fix small typo: is updates --> is updated 2020-10-19 23:54:53 -07:00
Ashwin Ramaswami 511c92afbb
Add "and" 2020-10-11 21:20:23 -04:00
Kenichi Omichi 8b3e6aa8c0 Fix output of 'kubectl rollout status'
If running 'kubectl rollout status' command, the output is like:

  deployment "nginx-deployment" successfully rolled out

The corresponding kubectl code also shows it according to
e95e378e59/pkg/polymorphichelpers/rollout_status.go (L89)
2020-10-09 00:03:41 +00:00
Kubernetes Prow Robot 427dda53b8
Merge pull request #23270 from lostsquirrel/patch-3
Remove the unessary code type
2020-08-20 15:27:40 -07:00
lostsquirrel 426e44bbad
remove the non paire parenthese 2020-08-20 16:24:10 +08:00
lostsquirrel fdade94ecb
Remove the unessary code type
According to the rest part of this article. the `shell` for the output of command might be omitted
2020-08-20 16:16:36 +08:00
Evgeny Shmarnev 7f1a2cace5 Improve order of workload resources 2020-08-10 09:56:48 +02:00
Qiming Teng 0bdcd44e6b Replace reference to redirect entries (1)
We are referencing the redirect entries in the docs, at many places.
These references should be updated to the correct content page.
2020-07-27 13:22:53 +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
Kubernetes Prow Robot 9880cbd671
Merge pull request #22318 from tengqm/fix-19996
Fix pages that reference removed API groups
2020-07-26 19:38:18 -07:00
Marcos 043737c6b6
Update deployment.md 2020-07-09 14:57:15 -03:00
Qiming Teng e097b93c8e Fix pages that reference removed API groups
Quite some resources have been moved out of the `extensions` API group
since 1.18; the `apps/v1beta1` and `apps/v1beta2` group versions are
also dropped. This PR updates the pages which still reference such API
groups or group versions.
2020-07-04 13:23:26 +08:00
Tim Bannister 462d34ef75 Separate commands from output in Deployment concept 2020-06-15 21:07:42 +01:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
WangYun 83c30904c4
Update deployment.md
`s` is redundant.
2020-05-18 23:12:04 +08:00
Irvi Firqotul Aini e852b9bb81 Make small changes to trigger tide. 2020-05-14 00:29:03 +07:00
Tim Bannister 34894dafc2 Upgrade Note to Caution
This is a strong caution against making the change described here.
2020-05-12 19:07:16 +01:00
Tim Bannister 0729189257 Adjust Deployment Markdown for Hugo 0.70.x
Shortcodes that deal with indentation seem tricky in Hugo. Try this
work-around.
2020-05-12 19:06:26 +01:00
Irvi Firqotul Aini 380add9419 Fix indentation. 2020-05-12 23:12:27 +07:00
Christian Bürgi cf2d2b7970
Pod lifecycle edge-cases for Recreate strategy
Document Pod lifecycle behavior edge-case when using a Recreate strategy. This should document the "unexpected" behavior discussed in kubernetes/kubernetes#58814
2020-05-06 19:58:58 +02:00
Fuxing Loh ddfa877602
Add missing default value to Progress Deadline Seconds
Potentially confusing sentence, being an optional value; not stating the default value might create an assumption that deployment will retry forever.

https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#deploymentspec-v1-apps
2020-04-25 09:26:26 +08:00
Kubernetes Prow Robot ebf3d178c4
Merge pull request #20292 from rwanyoike/patch-1
Update deployment.md - Fix inconsistency and rollback message
2020-04-20 20:02:55 -07:00
varadaprasanth f559ac498a
pod-template-hash label updated
code style has applied to the pod-template-hash label.
2020-04-16 18:05:24 +05:30
Rohit Mohta 9ff3899824 Move Desired & Current headers to rs section. 2020-04-14 21:25:22 -07:00
Raymond db27cfd719
Update deployment.md - Fix inconsistency and rollback message
- Fix inconsistency with configuration field references
- Fix message returns after performing a roll-back...
2020-04-13 20:43:35 +03:00
Rajesh Deshpande be6c0c3a21
Removing references of `kubectl rolling-update` command (#19449)
* Removing rolling-update command details

Removing rolling-update command details

Removing references to kubectl rolling-update command

* Removing rolling-update references
2020-03-27 18:33:53 -07:00
inductor 4297f3b29c
Update nginx to modern versions (#19198)
* update nginx versions

* update

* update examples
2020-03-17 10:48:23 -07:00
Qiming Teng 6318dbb124
Resource name constraints (2) (#19119)
xref: #17969, #19099, #18746
2020-02-28 12:10:38 -08:00
nonylene bd50474a84 Fix invalid command (kubectl rolling-update) (#17607)
`kubectl rolling-update` is the right command.

Doc: https://kubernetes.io/docs/tasks/run-application/rolling-update-replication-controller/
2019-11-21 13:43:29 -08:00
Naoki Oketani ab5ef4d4ec fixed a typo (#17473) 2019-11-07 19:26:18 -08:00
aelejota 244f802a33 Update deployment.md (#17328)
* Update deployment.md

Modified kubectl get deployment command outputs to adapt them to the new output format introduced in v1.11

* Update deployment.md

Fix a typo
2019-11-06 17:56:44 -08:00
Alexey Pyltsyn f120439575 Improve Concepts section (#17013)
Signed-off-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-10-27 18:49:25 -07:00
oneoneonepig 452d5822d2 Update deployment.md (#17023) 2019-10-23 08:46:17 -07:00
Melony QIN 9cc26cfe15 update set image command in a simpler way (#15817)
* update set image command in a simpler way

update set image command in a simpler way

* fix indentation

* Update deployment.md
2019-10-08 22:01:49 -07:00
Tim Bannister 9a7b191bcc Add concept page about Controllers (#15733)
* Add controller concept

* Fix controller glossary entries

* Link from Understanding Kubernetes Objects to Controllers
2019-10-02 10:06:08 -07:00
widearea101 4d029700cf Update deployment.md (#16513) 2019-09-24 09:55:29 -07:00
widearea101 2df5c5c68b Update deployment.md (#16280) 2019-09-12 10:10:28 -07:00
Conlan Cesar a5cfbae3d9 Fix shell code indentation / markdown formatting (#15657)
The backticks were visible in the generated documentation, removing the indentation hides it once more.
2019-08-04 17:49:51 -07:00
Brian Grant 71e027895e Remove myself from review of all files except what-is-kubernetes and the deprecation policy. All of the lists of suggested reviewers need to be overhauled, but that's a separate task. (#15227) 2019-07-06 04:20:35 -07:00
shavidissa 0f4543b94b Update and organize the content on Deployments (#14861)
* Update and organize the content on Deployments

fix formatting issues

Format a note

Formats the content

Format content

Fix formatting issues

Format content

Format content
Update and organize the content on Deployments

* Update the content as per the comments

* Update as per the comments

* Update as per the comments
2019-07-02 13:10:29 -07:00
Steven Sherry 03e840d905 Fix dead links related to Kubernetes object management (#14481) 2019-05-24 05:00:19 -07:00
Suhwan Cha b63bbe396d Update deployment.md (#14345) 2019-05-16 04:53:41 -07:00
dnoland1 2d86ebf8ea Update deployment.md (#14124) 2019-05-10 06:49:59 -07:00
Danny Berger 8db85ff4d2 Update api-conventions.md link references (#13786) 2019-04-14 18:14:00 -07:00
Srinivas R Kulkarni b914148850 Update deployment.md (#13802)
.spec .selector  is also a required field in deployment definition
2019-04-14 17:45:59 -07:00