Commit Graph

965 Commits

Author SHA1 Message Date
Markus Padourek f5408e3bba
Fix typo 2018-02-28 11:03:35 +01:00
k8s-ci-robot 3b78618327
Merge pull request #4302 from sethpollack/eip
Add option for using existing EIP's
2018-02-27 22:27:46 -08:00
k8s-ci-robot 7b31187e9f
Merge pull request #4519 from syndbg/patch-1
Clarify few things in Running an existing VPC
2018-02-27 20:52:47 -08:00
Markus Padourek 41eff5b2b2
Moving from one IG w multiple AZs to one IG per AZ
As discussed in #760
2018-02-27 12:03:35 +01:00
Anton Antonov 3c88a7fc27 Clarify few things in Running an existing VPC 2018-02-26 18:11:57 +02: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
k8s-ci-robot aa6e801e18
Merge pull request #3829 from mikesplain/suspendAZRebalance
Add Instance Group Suspend Processes
2018-02-25 22:20:52 -08:00
Mike Splain 571f1a08f3 Update docs 2018-02-25 23:00:58 -05:00
Christopher Hein 1eae32842d
Update AWS Logo In Docs
**Why:**

* The current logo is using the block type logo, this updates to the
smile logo

**This change addresses the need by:**

* closes #4480

Signed-off-by: Christopher Hein <me@christopherhein.com>
2018-02-21 01:45:35 -08:00
k8s-ci-robot 4b8db1eee0
Merge pull request #4137 from thockin-tmp/gcr-vanity
Convert registry to k8s.gcr.io
2018-02-20 08:54:39 -08:00
Justin Santa Barbara 38cb95446b Add roadmap for etcd 2018-02-20 11:16:47 -05:00
Mike Splain fdc2695fe1 Add suspendProcesses to IGs 2018-02-20 09:30:18 -05:00
k8s-ci-robot c37eab74ca
Merge pull request #4435 from chrislovecnm/remove-submodules
Remove submodules
2018-02-19 14:54:38 -08:00
chrislovecnm 64439b4846 updating cli documentation for override-lifecycles 2018-02-19 13:27:08 -07:00
Seth Pollack 3ae8ac1329 add option for BYOEIP 2018-02-16 12:08:05 -05:00
k8s-ci-robot 4f6dc89642
Merge pull request #4384 from leeeboo/master
Add  to aws-china.md to prevent Etag not match the HASH of file.
2018-02-16 08:32:39 -08:00
k8s-ci-robot 2c1ad3a630
Merge pull request #4440 from klaus993/fix-instange-groups-docs
Fix instange groups docs
2018-02-14 18:23:40 -08:00
klaus993 4ea6623933 Add clarification in instance group deletion
It can happen that, if one is accustomed to target the configuration to
terraform (for example), one does not expect it to be applied automatically,
but perform a `kops update cluster --target=terraform` followed by a `terraform
apply`. It's a disruption of common flow and it should be clarified.
2018-02-14 16:31:01 -03:00
Tim Hockin 79d5f793e7 Convert registry to k8s.gcr.io 2018-02-14 10:08:41 -08:00
k8s-ci-robot 2b1ecba8e1
Merge pull request #4395 from ihoegen/master
Add max-requests-inflight parameter
2018-02-13 22:59:51 -08:00
klaus993 43251fbb60 Change example in create ig --help
Add another subnet to the first example to show how to pass multiple subnets.

And run `make gen-cli-docs`.
2018-02-13 19:12:31 -03:00
Ian Hoegen 37c3ac3784 Add max-requests-inflight flag, along with docs 2018-02-13 13:34:48 -08:00
klaus993 6050d90805 Add info about `kops create ig` command in docs 2018-02-13 17:14:22 -03:00
Andrey Voronkov 6df4f001a3
Fix wrong backticks markdown. 2018-02-13 12:33:06 +03:00
chrislovecnm 6a4bd4836d removing old dependencies document 2018-02-12 21:47:13 -07:00
John Ruiz 30d58dd601
Update upgrade.md
Explains that it is recommended, but not required, to upgrade one minor version at a time.
2018-02-12 17:54:19 -05:00
k8s-ci-robot dcd8fc0920
Merge pull request #4427 from shavo007/master
API audit doc changes
2018-02-12 11:22:49 -08:00
shane lee 343a8da823 API audit doc changes 2018-02-13 00:22:36 +11:00
Justin Santa Barbara 9fc7c3759b Add notes for 1.8.1 release
Version will not be updated on master branch, as it is already on the
1.9 train.
2018-02-11 22:07:20 -05:00
Albert faf69dcb75 Add to aws-china.md to prevent Etag not match the HASH of file. 2018-02-05 15:22:30 +08:00
k8s-ci-robot d509440455
Merge pull request #4372 from lucasreed/docs_grammer_spelling_fix
Documentation spelling/grammar fixes.
2018-02-03 15:19:15 -08:00
Justin Santa Barbara 7dfca05c09 Remove federation support
As it has been removed from upstream kubernetes, in favor of the
multicluster revamp.
2018-02-03 16:53:39 -05:00
Luke Reed 257ca33297 just a couple grammar/spelling errors I noticed 2018-02-02 15:55:00 -05:00
k8s-ci-robot dbc81d2be1
Merge pull request #4199 from dictvm/patch-1
Extend examples of subnet parameter
2018-02-02 02:27:24 -08:00
k8s-ci-robot bbd4eaf524
Merge pull request #4201 from perryao/patch-2
Update terraform.md
2018-02-02 02:27:19 -08:00
k8s-ci-robot 2abdaf52ac
Merge pull request #4336 from iMartyn/feature/extra-terraform-config
Feature/extra terraform config
2018-02-02 02:27:09 -08:00
k8s-ci-robot 9eb047a1c3
Merge pull request #4361 from Rcluoyi/dev
Fix broken links for Usage instructions in addons.md
2018-01-31 18:56:03 -08:00
Martyn Ranyard e0200fbe95 Add TerraformProviderExtraConfig to cluster spec 2018-01-31 11:33:49 +01:00
renchao b01ed1c684 Fix broken links for Usage instructions in addons.md 2018-01-31 14:03:18 +08:00
Jeremy Mathevet d00de67de8 Add examples, fix docker stop and add az-name var 2018-01-30 17:14:18 +00:00
Daniel Heitmann 3a34895e71 Improve Instance Group subnet creation CLI parameter description
Make it more obvious which input is expected.
2018-01-29 14:20:56 +01:00
k8s-ci-robot a917a2c4de
Merge pull request #4130 from stuffandthings/patch-1
Bump kubernetes dashboard version to 1.8.1
2018-01-26 12:25:36 -08:00
k8s-ci-robot 923118eee0
Merge pull request #4166 from mrballcb/interactive_cli_opt
Interactive cli opt
2018-01-26 12:25:33 -08:00
k8s-ci-robot f9748b7ebf
Merge pull request #4270 from int128/root-volume-type
Fix rootVolumeType accepts all volume types
2018-01-26 11:36:35 -08:00
k8s-ci-robot b02a73fa2c
Merge pull request #4184 from chrislovecnm/rbac-default
Switching the default for kops to create a cluster with RBAC enabled.
2018-01-26 10:52:33 -08:00
Mikhail Goncharov 01c129cbe0
Update bastion.md
one have to specify ig name
2018-01-26 11:37:18 +00:00
Justin Santa Barbara a0708238f8
Merge pull request #4319 from mingyuanzhu/bugfix/docs-type
Fix the buildImage command typo
2018-01-23 23:19:39 -05:00
Hanfei Shen 8f73d929b4
fix config file name 2018-01-22 22:05:33 +08:00
mingyuanzhu c89fbc1522 Fix the buildImage command typo 2018-01-22 16:28:53 +08:00
k8s-ci-robot f749aa5b0c
Merge pull request #4223 from AlexLast/master
Removing duplicate AMI entry from Documentation
2018-01-19 00:25:28 -08:00
David Keitel 7355e8b7e6
docs: upgrade.md: drop DrainAndValidateRollingUpdate note
Drop the note about rolling-update not performing a real rolling update as the feature flag has been enabled by default.

Also provides consistency with what is mentioned in kops_rolling-update_cluster.md.
2018-01-16 09:44:30 -08:00
Hidetake Iwata d97e0e6205 Fix rootVolumeType accepts all volume types #4256 2018-01-14 17:57:35 +09:00
k8s-ci-robot 2574ed5252
Merge pull request #4259 from darron/patch-1
Slight changes to commands.
2018-01-12 08:49:25 -08:00
Thomas Hopkins 0759f54c98 remove wget dependency from macos binary installation 2018-01-11 17:58:31 -05:00
darron froese 19d8331b1a
Slight typo changes.
Just noticed these as I was testing out the rollout.
2018-01-11 14:39:40 -07:00
Todd DeShetler 87534d6dfc
Adding cloudformation --target switch 2018-01-09 14:27:49 -06:00
k8s-ci-robot a9a7aff856
Merge pull request #4227 from rifelpet/docs_update
Update state and cloudLabels docs, fix --target description
2018-01-09 09:17:10 -08:00
Steve Ruckdashel ce63762d8f
fixing some wording 2018-01-08 15:27:05 -06:00
Peter Rifel 9b3f0c17ea Fix typo in --target description 2018-01-08 12:10:03 -08:00
Peter Rifel 0cc071ba0c Add instructions on moving state store 2018-01-08 12:06:20 -08:00
Peter Rifel 72e8f4f9cc Add note about cloudLabel inheritance 2018-01-08 12:05:40 -08:00
Steve Ruckdashel ddefd889b8
cloudConfig.elbSecurityGroup under wrong L3 heading
elbSecurityGroup is under the docker L3 heading and should be under cloudConfig.
2018-01-08 12:54:41 -06:00
k8s-ci-robot b8a701b2da
Merge pull request #4107 from chrislovecnm/validate-ouput
kops validate cluster can output YAML or JSON
2018-01-08 02:47:11 -08:00
Alex Last 01b33d6d1f
removing duplicate AMI entry 2018-01-08 09:02:45 +00:00
Justin Santa Barbara 17774c5c9b Fixes per code review
Treat "spectre/meltdown" as one vuln, and stay away from parsing which
CVE is which.

The advisory is that the kernel must be updated, which CVEs are fixed
(or not) are not really the issue.
2018-01-07 23:57:00 -05:00
Justin Santa Barbara 77bf212a3c Suggest tweaks to meltdown advisory 2018-01-07 23:07:55 -05:00
chrislovecnm 4ab033e1e3 README tweaks from PR reviews 2018-01-07 20:47:38 -07:00
chrislovecnm 0d7fc68fcc pr review udpates 2018-01-07 20:45:35 -07:00
chrislovecnm 9b77d88c1a Adding cve updates for spectre and meltdown
This advisory covers the following 3 CVEs, Variant 1 and 3 are currently
resolved.

Variant 1: bounds check bypass (CVE-2017-5753)
Variant 2: branch target injection (CVE-2017-5715)
Variant 3: rogue data cache load (CVE-2017-5754)
2018-01-07 18:18:44 -07:00
Mike b0591f5097
Update terraform.md
fix typo
2018-01-05 14:19:49 -05:00
k8s-ci-robot 21a372f6b2
Merge pull request #4178 from chrislovecnm/docs-readme-update
Updating docs README.md file
2018-01-04 22:18:12 -08:00
k8s-ci-robot 8363f028e9
Merge pull request #4177 from chrislovecnm/manifest-doc-updates
Updating Manifest documentation
2018-01-04 21:44:12 -08:00
Justin Santa Barbara ec8db8b78c Initial implementation of bundle command
The bundle command will support enrollment of a machine via SSH.
2018-01-04 18:55:28 -05:00
Reid Wiggins 492db9ff03 Remove Romana preview notice from networking docs
The Romana version was bumped from the 2.0 preview to the 2.0 GA in
pull request #3892.
2018-01-03 11:41:11 -06:00
chrislovecnm 120cd93c26 Switching the default for kops to create a cluster with RBAC enabled.
When kops creates a cluster RBAC is enabled by default.
2018-01-03 00:31:05 -07:00
chrislovecnm 3b91187e05 Updating docs README.md file
Adding missing documents from tutorial documents, and removing
duplicate.
2017-12-30 14:00:22 -07:00
chrislovecnm 90386ae03e Updating Manifest documentation
Added table of contents to document.  Updated command to include using
dry-run for the creations of YAML.
2017-12-30 13:53:41 -07:00
chrislovecnm ea3f5d437f updating examples for api ref docs 2017-12-28 19:07:59 -07:00
chrislovecnm 9448e66f1b openapi docs update 2017-12-28 19:07:41 -07:00
Todd Lyons c3c7f31cb1 Doc addition from make gen-cli-docs 2017-12-28 15:56:18 -08:00
Peter Rifel cb60f37239 Add reference to node labels in IG docs 2017-12-28 15:56:17 -08:00
Peter Rifel a04e68a0de Update spot example now that t2 family is supported 2017-12-28 15:10:14 -08:00
Peter Rifel d9d645c763 Update feature flags and rolling update description 2017-12-28 15:10:14 -08:00
Peter Rifel 7608bcac3c Fix docs typos 2017-12-28 15:10:13 -08:00
Peter Rifel aeb1f9d206 Add storage driver and options to cluster spec docs 2017-12-28 14:53:22 -08:00
Peter Rifel 1b6b5634c7 Update latest docker version mentioned in docs 2017-12-28 14:52:48 -08:00
Kubernetes Submit Queue 241d5d08f0
Merge pull request #4125 from steveruckdashel/patch-1
Automatic merge from submit-queue.

Moved paragraph relating to runtimeConfig
2017-12-27 09:29:08 -08:00
Eric Hole 6239a9e4da Added a clarification/warning note about exporting full specs 2017-12-27 06:24:04 -08:00
Omar Jatoi 8a5b8a00ee
Bump kubernetes dashboard version to 1.8.0 2017-12-21 17:22:13 -05:00
Thomas Peitz 16d9ded25f Improve formatting of run_in_existing_vpc.md 2017-12-21 20:53:25 +01:00
Thomas Peitz cd8d5f7bec Improve explanation of KubernetesCluster tag 2017-12-20 22:51:06 +01:00
Thomas Peitz 1eb1fdf163 Improve formatting of run_in_existing_vpc.md 2017-12-20 22:48:29 +01:00
Thomas Peitz 91fc6a83ba Move tagging infos of vpc into proper section 2017-12-20 22:46:35 +01:00
Thomas Peitz bf7e072f16 Improve formatting of shared resource tag docs 2017-12-20 22:41:31 +01:00
Thomas Peitz 56e82faedb Update shared resource tag infos regarding kops 1.8 2017-12-20 22:36:13 +01:00
Steve Ruckdashel 8da42b7ce7
Moved paragraph relating to runtimeConfig
This paragraph makes more sense under the runtimeConfig section than under the serviceNodePortRange section
2017-12-20 14:54:48 -06:00
chrislovecnm ab4058d37d updating docs 2017-12-19 23:07:55 -07:00
Kubernetes Submit Queue e88496a248
Merge pull request #4061 from meringu/create-subnets
Automatic merge from submit-queue.

Add --subnets and --utility-subnets to kops create cluster

This change adds two new options to `kops create cluster`

When specifying `--vpc`, `--subnets` can be specified as an unordered array of subnet ids. Kops will then look up the zones of the subnets to find which zone to add the subnet id to.

If `--topology private` is also specified, `--utility-subnets` can similarly be specified.

~If a zone was specified but a subnet wasn't given that matches the zone, then the subnet will be allocated a CIDR with the current behaviour.~ This case fails validation here 7bd0a6a703/pkg/apis/kops/validation/validation.go (L151)

I can add unit tests and docs changes if required, but I am keen to get feedback before I proceed much further.

I have only added support for AWS.

I have tested this by running a command similar to this:

```bash
kops create cluster \
  --zones=us-east-1a,us-east-1b,us-east-1c \
  --topology private \
  --master-zones=us-east-1a,us-east-1b,us-east-1c  \
  --vpc $vpc_id \
  --subnets subnet-111111,subnet-222222,subnet-333333 \
  --utility-subnets subnet-444444,subnet-555555,subnet-666666 \
  $cluster_hosted_zone_name
```

And the cluster spec was as expected.
2017-12-18 21:12:59 -08:00
Kubernetes Submit Queue 2eae62d460
Merge pull request #4085 from xoen/ag-oidc-prefixes-config
Automatic merge from submit-queue.

Support for OIDC 'username-prefix' and 'groups-prefix' flags

### What
Added support for `--oidc-username-prefix` and `--oidc-groups-prefix`.
By passing these it's possible to override the default prefixes used to map the OIDC user with the username in kubernetes.

### See
See: https://kubernetes.io/docs/admin/authentication/#configuring-the-api-server

### IMPORTANT
I'm far from a kubernetes/KOPS, this is not tested so someone needs to have a look and see if something is missing or if this can cause troubles! (don't want to accidentally cause the destruction of the universe 💥 )

It's basically the same done in this other PR: https://github.com/kubernetes/kops/pull/1438/files

I did **not** change the `zz_generated.conversion.go` files as according to comment at the top of them they're autogenerated:
```go
// This file was autogenerated by conversion-gen. Do not edit it manually!
```
(I wonder if they should be `.gitignore`d)

### Fixes
This should fix [#4007: field oidcUsernamePrefix is not recognized in cluster configuration file](https://github.com/kubernetes/kops/issues/4007)
2017-12-18 09:37:31 -08:00
Aldo "xoen" Giambelluca 9e30999d06 Support for OIDC 'username-prefix' and 'groups-prefix' flags
See: https://kubernetes.io/docs/admin/authentication/#configuring-the-api-server

This is very similar to this other PR: https://github.com/kubernetes/kops/pull/1438/files

I also updated the format of the documentation for the OIDC API Server fields
to follow the Go Style guide: https://blog.golang.org/godoc-documenting-go-code

Fixes: https://github.com/kubernetes/kops/issues/4007
2017-12-18 15:34:37 +00:00