Commit Graph

864 Commits

Author SHA1 Message Date
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
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
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 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
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
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