Commit Graph

941 Commits

Author SHA1 Message Date
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
Henry Muru Paenga 9f3382f072
Add docs for create cluster --subnets option 2017-12-18 12:33:06 +13:00
Manuel de Brito Fontes 2e05dd17aa Add support for Amazon VPC CNI plugin 2017-12-17 18:08:24 -03:00
Joel Bastos 58854a3e9c
Fix minor typo 2017-12-14 14:18:14 +00:00
Kubernetes Submit Queue d533714aa8
Merge pull request #4036 from almariah/feature-api-elb-security-groups
Automatic merge from submit-queue.

Allow additional SGs to be added to API loadbalancer

Allow adding precreated additional security groups to the API loadbalancer using cluster spec:
```yaml
spec:
  api:
    loadBalancer:
      type: Public
      additionalSecurityGroups:
      - sg-exampleid3
      - sg-exampleid4
```

- [x] Adding additionalSecurityGroups cluster spec
- [x] Adding validation for repeated security groups
- [x] Adding validation for API loadbalancer security groups
- [x] Integration test for API loadbalancer and its security groups
- [x] Update API docs and cluster.spec docs
2017-12-14 02:25:40 -08:00
Kubernetes Submit Queue 7bd0a6a703
Merge pull request #3898 from rdrgmnzs/additional_cidr
Automatic merge from submit-queue.

Add additionalNetworkCIDRs to support VPCs with multiple CIDRs in AWS

Add additionalNetworkCIDRs to support VPCs with multiple CIDRs in AWS.

@justinsb I cannot find anywhere that does a check on an existing VPC to see if the networkCIDR matches what is on the VPC defined, I was looking for that so I can add a similar check for this. Am I missing something or is there really no check like that?
2017-12-13 18:25:41 -08:00
Henry Muru Paenga 48d4a7cb1a Add --subnets and --utility-subnets to kops create cluster 2017-12-14 13:57:54 +13:00
Rodrigo Menezes be85dfc438 Fix typo 2017-12-13 15:48:14 -08:00
Abdullah Almariah 2746b88808 Update cluster.spec docs 2017-12-13 02:05:42 +01:00
krogon-dp f248a3b2fe Documentation fix for watchIngress flag in externalDns ClusterSpec 2017-12-12 15:52:50 +01:00
Abdullah Almariah 6e76277c1b Revert "gen-cli-docs"
This reverts commit 60a90bfd36.
2017-12-12 11:15:14 +01:00
Kubernetes Submit Queue d931c229f7
Merge pull request #4020 from rifelpet/fix_shared_igw_rename
Automatic merge from submit-queue.

Fix spurious shared InternetGateway renaming

This fixes the original issue described in #476 where `kops update cluster` would continuously report renaming a shared IGW even though it never actually renames it. I also added tests to confirm the behavior change.

I removed the bug mention from the docs although if you would prefer to keep it and instead say `In kops versions before X, ...` I can do that too
2017-12-11 08:15:05 -08:00
Abdullah Almariah 60a90bfd36 Allow additional SGs to be added to API loadbalancer 2017-12-11 15:49:53 +01:00
Kubernetes Submit Queue 05cde9e3ed
Merge pull request #4008 from ysim/docs-aws-minor-command-syntax-update
Automatic merge from submit-queue.

Minor update to docs/aws.md

Updates the backtick syntax to `$(...)`, plus a minor grammar fix. 

I wasn't sure if I needed to fill out a CLA for just a documentation update. Let me know if I should! 

_Update:_ Never mind, I've signed the agreement now!
2017-12-07 03:49:08 -08:00
Peter Rifel 2400091a0e Remove now-unnecessary note about spurious resource renaming 2017-12-06 16:36:42 -08:00
Sellers, Chris G 267590397d
Fixed minor typo in 1.8-NOTES.md file
Change 'or' to 'for' in line ... kube-router & romana...
2017-12-05 14:49:04 -05:00
Rodrigo Menezes 3942185698 Merge remote-tracking branch 'upstream/master' into additional_cidr 2017-12-04 12:53:20 -08:00
Yi Qing Sim f796777fe0 docs/aws.md: minor grammar fix 2017-12-04 15:52:00 -05:00
Yi Qing Sim e78f9f54c8 docs/aws.md: change `...` to $(...) as backticks are deprecated 2017-12-04 15:48:34 -05:00
Justin Santa Barbara 442c0093ca Release notes for 1.8.0 2017-12-03 16:23:51 -05:00
Justin Santa Barbara f2373c8847 Add list of PRs for 1.8.0 release 2017-12-03 02:04:01 -05:00
Justin Santa Barbara 33b7432d6a Fix segfault when updating non-existent object
Fix #3935
2017-12-01 11:00:46 -05:00
Kubernetes Submit Queue fd7acd1ce6
Merge pull request #3948 from chrislovecnm/openapi-updates
Automatic merge from submit-queue.

openapi doc updates
2017-11-29 09:49:26 -08:00
Mike Splain 71a32f2cf9 Fix brew docs typo 2017-11-28 13:41:43 -05:00
chrislovecnm da10075d5c openapi doc updates 2017-11-28 11:37:49 -07:00