Commit Graph

51 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
Ole Markus With 4e9e1aaabb Make it a bit more clear that toolbox commands may be experimental 2022-12-04 15:47:12 +01:00
Ciprian Hacman 7ccf9f9a25 Run make gen-cli-docs 2022-08-03 21:07:12 +03:00
github-actions 85048b5c3d Update dependencies 2022-06-27 14:47:00 +00:00
Ole Markus With c49b27350b Update CLI docs 2022-04-10 10:28:37 +02:00
John Gardiner Myers 4eb5d24e67 Correct list of beta cloud providers 2021-08-07 14:02:06 -07:00
John Gardiner Myers de64d287f0 Replace "kops describe keypair" with "kops get keypair -oyaml" 2021-07-22 16:47:59 -07:00
John Gardiner Myers 14320fb3b5 Clean up "kops toolbox" 2021-07-14 14:36:36 -07:00
John Gardiner Myers 66024869a0 Implement "kops edit instancegroup --set" and "--unset" 2021-07-13 20:07:59 -07:00
John Gardiner Myers 1c3947220e Add "kops trust keypair" command 2021-07-11 10:36:40 -07:00
John Gardiner Myers c864dc02ca Clean up "kops delete -f" 2021-07-10 00:30:31 -07:00
John Gardiner Myers 52fd5ac51a Use Cobra's built-in completion command 2021-07-01 13:04:39 -07:00
John Gardiner Myers cd48f10de5 Rename "kops delete keypair" to "kops distrust keypair" 2021-06-24 19:19:43 -07:00
John Gardiner Myers 5423e18b56 Add 'kops promote keypair' command 2021-06-21 20:58:51 -07:00
John Gardiner Myers c904c743da Remove 'kops import' 2021-06-21 07:34:29 -07:00
John Gardiner Myers 72ba687744 Split out get, describe, and delete keypairs commands 2021-06-19 13:36:11 -07:00
John Gardiner Myers 76fc012f96 Allow unsetting fields from the command line 2021-06-14 08:52:32 -07:00
Barry Melbourne e30bf1cf35 Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
Kubernetes Prow Robot 0b5646e94a
Merge pull request #10266 from rifelpet/k8s120
Update k8s dependencies to 1.20.0-beta.2
2020-11-18 10:48:07 -08:00
Peter Rifel f78bf5bf5e
regenerate cli docs 2020-11-18 12:02:58 -06:00
Ciprian Hacman 3ca128d5ef make gen-cli-docs 2020-11-14 16:02:59 +02:00
Ole Markus With ff6c04938d Add kops delete instance command
Add support for deleting instance by k8s node name

Add yes flag
2020-08-28 08:43:30 +02:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Ole Markus With 7342525872 Remove vsphere from kops files 2020-05-30 13:36:55 +02:00
Justin Santa Barbara adf2a5c681
Update cli docs
klog added a flag (add_dir_header).
2020-01-17 06:35:22 -05:00
Josh Branham ff5364b59a Fix gen docs 2019-11-23 19:50:25 -05:00
Justin SB eb4fe3f8ff
Generate docs
https://github.com/kubernetes/kubernetes/pull/72137 appears to have
introduced spurious spaces, but I think we can live with it for now.
2019-08-26 07:54:30 -07:00
Justin SB 547b5bbbb9
Update CLI docs 2019-05-06 13:44:41 -04:00
Justin Santa Barbara b334650c68
Merge branch 'master' into feature-2435-s3configfile 2018-06-11 11:53:23 -04:00
Rodrigo Menezes 11b3da7a87 Clarify the usage of the --state flag. 2018-06-05 09:48:14 -07:00
Julien SENON 1db9691901
Update after make gen-cli-docs 2018-04-25 00:10:30 +02:00
Julien SENON 9829245f3f
Generate make gen-cli-docs 2018-04-22 16:50:14 +02:00
Justin Santa Barbara 738cadb45a Update generated docs 2018-04-18 21:02:22 -04:00
Kyle Rockman 8382cbbe57 redo documenation generation after PR changes 2018-03-09 10:21:24 -06:00
Kyle Rockman 148655da1f recompile documentation 2018-03-09 10:14:00 -06:00
Justin Santa Barbara 6f52996c2a Experimental kops set cluster command
Introduce an experimental kops set cluster command, for setting
individual fields in the same style as the kops create cluster
--override flags.

For now, feature flag gated by the same SpecOverrideFlag feature flag.

Also split out pkg/commands package to facilitate testing.
2018-02-26 09:33:16 -05:00
Justin Santa Barbara 17b3fa36eb Try adding header to generated CLI docs
Fix #2834
2017-07-15 13:14:21 -04:00
Willem Mali 1fffc13a22 removed deprecated secrets command subtree from CLI and docs 2017-05-18 14:52:14 +02:00
Laurent Crisci cf6654e60c
Fixed some typos, s/resrouces/resources/ 2017-05-11 17:05:50 +01:00
chrislovecnm 53848f1f7f Work on cli documentation 2017-05-07 21:03:29 -06:00
chrislovecnm 7487b0d756 updating docs, adding verify-gendocs and more build tweaks 2017-05-04 18:58:10 -06:00
chrislovecnm 3d3e03cfab docs are out of date 2017-04-22 12:56:33 -06:00
chrislovecnm d228592af5 Updating documentation 2017-02-01 22:08:19 -07:00
Kris Nova 29997d4987 Cobra docs 2017-01-05 10:23:41 -07:00
chrislovecnm 2bbc95d9e8 changes from code review 2016-11-28 18:54:57 -07:00
chrislovecnm c311a54081 doc updates 2016-11-28 18:18:03 -07:00
chrislovecnm 8a1934ae8b unit tests with fakes
updating docs
2016-11-28 18:17:53 -07:00
Billy Shambrook 7472349b86 Stop cobra adding a autogenerated comment when creating docs.
This is to avoid spamming pull requests.
2016-11-08 11:56:50 +00:00
Billy Shambrook 13919b066a add example to cli help for completion command. 2016-11-08 11:52:03 +00:00
Billy Shambrook ea689f8ca9 add completion cli command. 2016-11-05 18:41:57 +00:00