Commit Graph

855 Commits

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