Commit Graph

3117 Commits

Author SHA1 Message Date
justinsb ab613ff114 Add `kops reconcile cluster` command
This all-in-one command is a replacement for having to run multiple commands,
while still respecting the version skew policy.

It does the same thing as `kops update cluster --reconcile`:

* Updates the control plane nodes
* Does a rolling update of the control plane nodes
* Updates "normal" nodes and bastion nodes
* Does a rolling update of these nodes
* Prunes old resources that are no longer used
2024-12-05 12:27:08 -05:00
justinsb 7c95effdb4 Introduce --reconcile flag to kOps
Kubernetes 1.31 now stops nodes joining a cluster if the minor version
of the node is greater than the minor version of the control plane.

The addition of the instance-group-roles flag to update means that we
can now update / rolling-update the control plane first.  However, we
must now issue four commands:

* Update control plane
* Rolling update control plane
* Update nodes
* Rolling update nodes

This adds a flag to automate this process.  It is implemented by
executing those 4 steps in sequence.

Update is also smart enough to not update the nodes if this would
violate the skew policy, but we do this explicitly in the reconcile
command to be clearer and safer.
2024-12-05 11:36:13 -05:00
Rafael da Fonseca e4a0ef6c1f update cli-docs 2024-12-03 07:36:25 -05:00
justinsb b124625c62 toolbox dump: support dumping only k8s resources
Because metal does not support cloud-resource discovery, we need to
skip this in our metal tests.
2024-11-12 13:11:34 -05:00
Kubernetes Prow Robot 417cb3fcbc
Merge pull request #16931 from spotinst/spotinst/feature/add_aggressiveScaleDown
Spotinst: add aggressive scale down feature
2024-11-10 16:54:44 +00:00
Ciprian Hacman 1683894999 Allow updating the cluster one instance group at a time
Co-Authored-By: Ciprian Hacman <ciprianhacman@gmail.com>
2024-11-09 11:34:28 -05:00
yehielnetapp f513aea957 try 2 change doc 2024-11-04 09:57:38 +02:00
yehielnetapp fc46a44b7f first commit update doc 2024-11-04 09:44:38 +02:00
Kubernetes Prow Robot 5b1ffe535b
Merge pull request #16920 from rsafonseca/apiserver_env
Add support for configuring environment variables on kube-apiserver
2024-10-27 15:48:53 +00:00
Rafael da Fonseca 8b89e826d1 Add support for configuring environment variables on kube-apiserver 2024-10-25 10:44:14 +01:00
Rafael da Fonseca 7d673c0f7c Remove targetRamMb option, which was removed in kubernetes 1.24. Add watchCache and watchCacheSizes apiserver flags 2024-10-25 09:16:12 +01:00
Kubernetes Prow Robot 2e77e0cbfc
Merge pull request #16711 from elliotdobson/esd-sai-migration-docs3
Update Service Account Issuer Migration doc
2024-10-15 05:14:21 +01:00
justinsb 33b407c21f docs: remove reference to old EnableExternalDNS feature flag
This was removed a while ago.
2024-10-13 08:54:01 -04:00
Ciprian Hacman 37a921e703 Remove beta warning from kOps 1.30 release notes 2024-09-27 08:29:16 +03:00
Peter Rifel a415765cee
Update cilium to v1.16.1 2024-09-11 20:54:52 -05:00
Arnaud Meukam d7e3c61a60
Drop kops-ci references
Ref:
  - https://github.com/kubernetes/k8s.io/issues/2625

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
2024-08-21 20:42:55 +02:00
yehiel etah 5d4d867086
spotinst: Bump k8s cluster controller to v2 (#16717)
* update controller v2, inform user on conflict with aws nodeTerminationHandler and Ocean

* add BuildPrune to addon,tested

* add note to release 1.31
2024-08-09 15:25:15 -07:00
lou-lan 949ef28dbf Fix table not format of docs
Signed-off-by: lou-lan <loulan@loulan.me>
2024-08-09 18:22:22 +08:00
Kubernetes Prow Robot 26963ddd17
Merge pull request #16693 from alexandresavicki/master
feat(cluster-autoscaler) Implement emitPerNodegroupMetrics parameter
2024-08-06 12:18:51 -07:00
Alexandre Savicki 44413d1d7f feat(cluster-autoscaler) Implement emitPerNodegroupMetrics parameter 2024-08-05 10:33:52 -03:00
Elliot Dobson 6287e799fc Update Service Account Issuer Migration doc
Add procedure for using `additionalServiceAccountIssuers` which was added in kubernetes/kops#16497.
2024-07-31 11:06:56 +12:00
Chris Gray 36b3a2d593
Replace deprecated flag with the suggested one. 2024-07-26 14:42:37 -07:00
Jin Li 876118685f Fix 2 broken links in the docs 2024-07-02 13:23:32 +08:00
justinsb 0d7b2a301b
docs: create release notes for 1.30 2024-06-30 15:49:30 -05:00
Peter Rifel e5244af31a
Add support for Rocky 9 2024-06-15 06:20:12 -05:00
Kubernetes Prow Robot 9cea794243
Merge pull request #16600 from dannyeuu/docs-add-debian-12-on-aws
[DOCS] Add docs for Debian 12 on AWS
2024-06-04 17:35:01 -07:00
Daniel Lopes d5f206f500 [DOCS] Add docs for Debian 12 on AWS 2024-06-04 14:44:16 -03:00
Kubernetes Prow Robot dacddc157c
Merge pull request #16574 from justinsb/release_notes_1_29
docs: Update release notes to reflect release of 1.29
2024-05-16 09:44:08 -07:00
Justin Santa Barbara a1073aac0d docs: Update release notes to reflect release of 1.29
Remove the "not yet released" note from 1.29, create the 1.30 placeholder.
2024-05-16 11:36:22 +00:00
Kubernetes Prow Robot 937663a624
Merge pull request #16541 from elliotdobson/esd-sai-migration-docs
add service account issuer migration doc
2024-05-15 23:48:02 -07:00
Elliot Dobson cc9631c489 add service account issuer migration doc to index 2024-05-15 09:33:16 +12:00
Ciprian Hacman ada2b348ef Initial support for Ubuntu 24.04 (Noble Numbat) 2024-05-08 11:22:17 +03:00
Elliot Dobson 8667279e1a add service account issuer migration doc 2024-05-08 11:49:34 +12:00
(╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW 9be68690a2
chore: update fileAssets documentation
Signed-off-by: (╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW <mostafa.hussein91@gmail.com>
2024-04-30 21:26:08 +04:00
esbc-disciple 91e299decd
Update images.md (#16454)
* Update images.md

include explicit instructions on pulling arm64-based images

* Update docs/operations/images.md

make image search commands processor-architecture-agnostic

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>

* Update images.md

change image search strings to also capture arm process architecture

* Update docs/operations/images.md

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>

---------

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2024-04-06 23:09:55 -07:00
Kubernetes Prow Robot 01b83045d0
Merge pull request #16269 from sl1pm4t/gcp/change-default-storage-class
gce: Change default storage class to balanced-csi
2024-03-14 06:43:28 -07:00
justinsb 3268e43273 docs: update relnotes for 1.29 for deferred deletion
Document our deferred deletion flows.
2024-03-12 21:45:41 -04:00
Tung Leo f6b9b059a3
doc/aws: Add space before the slack url 2024-02-20 22:22:13 +07:00
justinsb 2a9343a168 Generate revisions of NLB objects, and introduce cleanup phase
This lets us safely make changes to otherwise immutable fields, in
particular for adding security groups to NLBs created without them.

We detect the older versions, and create deletion tasks to remove
them.  These tasks can be deferred, and we expect them to be
deferred to a "prune" phase that runs after cluster apply.

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2024-02-17 11:41:15 -05:00
Kubernetes Prow Robot 1fbdc1b9b4
Merge pull request #16308 from jrabbit/patch-1
create command: remove example docs say is not implemented yet.
2024-02-13 22:35:41 -08:00
Jack Laxson 36450cf6a8 mk-cli-docs is manual 2024-02-13 17:59:09 -05:00
Kubernetes Prow Robot 5a3b1e2703
Merge pull request #16009 from voriol/master
If specified, posts event data to URL upon instance interruption action.
2024-02-13 05:29:50 -08:00
justinsb b11f17ca00 Docs: fix typos in office hours page
Spotted one typo and so ran a spellcheck on the page.
2024-02-10 07:47:06 -05:00
Ciprian Hacman f8ebec5009 azure: Migrate vfs to new SDK version 2024-02-09 05:58:45 +02:00
Moshe Vayner 796f6f6425 docs: address comments 2024-02-05 14:32:24 -05:00
Moshe Vayner 1b5e6dd2be docs: remove warning about aws vpc cni not being compatible with Ubuntu 22.04, following #16313 2024-02-05 13:51:45 -05:00
Matt Morrison 9e0604f52f
Update release notes with breaking change 2024-01-22 15:14:40 +13:00
Markus Lehtonen f29f01f9f0
docs: fix broken example command 2024-01-11 09:01:43 +02:00
Ciprian Hacman 9bef6ef55a test: Improve cluster deletion defaults 2024-01-08 22:10:01 +02:00
Ciprian Hacman 03c109b74b Make cluster deletion configurable 2024-01-07 07:15:25 +02:00