Commit Graph

696 Commits

Author SHA1 Message Date
Kubernetes Submit Queue 079102759f Merge pull request #3528 from justinsb/tutorial
Automatic merge from submit-queue.

First tutorial page: getting started with GCE
2017-10-06 16:31:42 -07:00
Kubernetes Submit Queue 70274617f0 Merge pull request #3540 from electronicarts/create-cluster-doc-update
Automatic merge from submit-queue.

Added documentation on best practices for creating clusters with HA m…

Fix #3389
2017-10-05 00:08:50 -07:00
jatan28 5340f865e1 moved documentation from cli to high_availability.md 2017-10-04 23:27:07 -07:00
jatan28 e8600f7021 Added documentation on best practices for creating clusters with HA masters in regions with 2 AZ 2017-10-04 17:34:16 -07:00
Justin Santa Barbara 0402909689 First tutorial page: getting started with GCE 2017-10-04 11:46:47 -04:00
Kubernetes Submit Queue 518e97d97b Merge pull request #3510 from justinsb/bazel
Automatic merge from submit-queue.

Initial bazel support

Builds on the 1.8 version bump

The "trick" is to strip the BUILD & BUILD.bazel files from the vendor-ed deps.

Will rebase after 1.8 version bump merges.
2017-10-03 01:19:27 -07:00
Justin Santa Barbara 8b6e2eb8ad docs: clean up installation instructions 2017-10-03 00:37:51 -04:00
Justin Santa Barbara 87b6ba6b19 Initial bazel support 2017-10-02 14:27:20 -04:00
Justin Santa Barbara 424b5b41d7 Regenerated docs/apireference 2017-10-01 21:13:25 -04:00
Justin Santa Barbara 95d4f3eb59 More code updates for 1.8 2017-10-01 21:13:00 -04:00
Justin Santa Barbara 5332ce5fe6 Add docs that debian 9 images should work 2017-09-30 15:57:49 -04:00
John Laswell a6dbc73502
docs updates to clarify and fix typos
Helps with https://github.com/kubernetes/kops/issues/3441.
2017-09-26 19:50:38 -04:00
Kubernetes Submit Queue fc3716677a Merge pull request #3345 from andreychernih/enable-critical-feature-gate
Automatic merge from submit-queue. .

Enable ExperimentalCriticalPodAnnotation feature gate

Otherwise, it is possible that critical system components will be evicted

https://github.com/kubernetes/kops/issues/3194
https://github.com/kubernetes/kubernetes/issues/51432
2017-09-24 21:59:49 -07:00
Kubernetes Submit Queue ba42020e09 Merge pull request #3329 from chrislovecnm/promote-drain-validate
Automatic merge from submit-queue. .

promoting drain and validate by setting feature flag to true

I am unable to recreate https://github.com/kubernetes/kops/issues/2407, and frankly, it may be an edge case.  We could warn a user if their wait times are low, but that would be another PR.

This PR moves Drain and Validate functionality for rolling-updates into the default user experience, setting the Feature Flag to true.

Per feedback, I am using the node and master interval times for the validation.
2017-09-23 21:07:26 -07:00
chrislovecnm 9ed7c5537d cli docs updated 2017-09-23 18:14:45 -06:00
Kubernetes Submit Queue 3ca46a29f7 Merge pull request #3429 from orangejulius/patch-1
Automatic merge from submit-queue. .

Fix a few typos and clean up hooks section
2017-09-23 16:53:55 -07:00
chrislovecnm acb5e8b5a6 promoting drain and validate by setting feature flag to true 2017-09-23 16:48:01 -06:00
Julian Simioni 57e9a24c34
Fix a few typos and clean up hooks section
The hooks section in the cluster spec documentation had a few typos and other rough spots. This should make it read a little more smoothly.
2017-09-23 17:13:42 -04:00
Kubernetes Submit Queue 6a238539e0 Merge pull request #3368 from georgebuckerfield/enable-data-encryption
Automatic merge from submit-queue. .

Support encryption-at-rest for the kube-apiserver

This PR adds support for enabling encryption-at-rest for data in etcd, via the kube-apiserver (as per https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data).

I've put the functionality behind a feature flag, `+EnableDataEncryption`. It can then be enabled per-cluster by using `--enable-encryption-config` on the command line, or by adding a `kubeEncryptionConfig` section to the cluster spec. This is passed through to the kube-apiserver by the nodeup process. I'm not sure if this is the best way of doing it right now, but it is working.

Fixes #3356.
2017-09-22 17:56:44 -07:00
Kubernetes Submit Queue 0683db2ea3 Merge pull request #2925 from smelchior/master
Automatic merge from submit-queue. .

improve documentation for secrets

I was struggling on how to change a the api basic auth password for my cluster and found this to be the only way to do it. If there is an easier way, let me know and i can adapt the docs again :)
2017-09-22 13:11:44 -07:00
georgebuckerfield da36425dfb Enable support for encryption-at-rest
- add a new kops secret command to store encryption config
- add the experimential-encryption-provider-config flag to the kube-apiserver
- add functionality to nodeup to create the stored encryption config in the correct path
2017-09-22 17:14:51 +01:00
Kubernetes Submit Queue f887bf6f84 Merge pull request #3422 from timothyjosefik/Change-s3-bucket-creation-doc
Automatic merge from submit-queue. .

Changed the s3 bucket creation command.
2017-09-21 21:30:52 -07:00
Kubernetes Submit Queue 66b9838a8c Merge pull request #3215 from johnzeringue/specify-ssh-key-name
Automatic merge from submit-queue. .

Allow specifying a SSH key name for AWS

Related to #2309, this allows naming an existing key pair using the
cluster spec field `sshKeyName`.

In our use case, kops can now be used without providing the ability to
create EC2 key pairs.
2017-09-20 21:15:43 -07:00
Timothy Josefik 18129f4f9b Changed the s3 bucket creation command. This was done because if someone is following along but wants to use a different region then the original command will not always create the bucket in that region. Here is the issue in the aws-cli that provides more information on the problem. https://github.com/aws/aws-cli/issues/1667 2017-09-20 16:58:39 -05:00
Andrey Chernih 4faa91eda6 Add to release notes for 1.8 2017-09-18 20:07:53 -07:00
Andrey Chernih b3acc4b5f8 Merge branch 'master' into enable-critical-feature-gate 2017-09-18 20:05:22 -07:00
Andrey Falko a683ccd7af Update provisioned iops doc example 2017-09-18 19:01:30 -07:00
Kashif Saadat 058fb1e93f Correct typo in Hooks Spec examples 2017-09-15 08:29:05 +01:00
Kubernetes Submit Queue 5cb443d4a9 Merge pull request #3290 from romana/romana-networking-option
Automatic merge from submit-queue

Add romana to built-in CNI options

This PR adds `romana` as a networking option for kops.

It installs the latest "preview" release of Romana v2.0, which provides the expected features in terms of IP allocations and route configuration. Network policy features are being ported to 2.0 and will be in the final release. (We intend to submit a followup PR for kops as part of that rolling out that release.)

Note: in this setup, we're using the etcd cluster that kops deploys for k8s. This isn't ideal, but some possibilities (eg: StatefulSets) aren't practical for the CNI itself, and creating a parallel etcd cluster via manifests seemed to be a more-intrusive approach than using the existing one.
If this is a concern or problem, then I'm very open to discussing and implementing it based on your suggestions.

Also, some functionality is exclusive to AWS environments. Other cloud platforms are on Romana's roadmap but not developed yet. Let me know that restriction needs to be enforced in code or directly documented.
2017-09-14 20:43:05 -07:00
Kubernetes Submit Queue 4b5d6e4588 Merge pull request #3360 from qqshfox/patch-1
Automatic merge from submit-queue

Add a doc to describe how to use kops in AWS China

Closes #2933, closes #3282.

@wangycc, @mgyong, @hb404 This doc might be helpful for you guys to deploy a cluster in AWS China Region.

@chrislovecnm, @justinsb Please help to review. Thanks.
2017-09-14 18:17:46 -07:00
Kubernetes Submit Queue a582fbf68f Merge pull request #3377 from RichardBronosky/patch-1
Automatic merge from submit-queue

small docs improvement

Make cmd1 populate the var for cmd2

Using `tee /dev/stderr` allows the user to still get output if they copy-pasta the first command. The other changes prepare the HZC variable so it can be used if they copy-pasta the second command.
2017-09-14 17:43:57 -07:00
Hanfei Shen e9b1648e9f Add a doc to describe how to use kops in AWS China
Closes #2933, #3282.
2017-09-15 08:26:44 +08:00
Kubernetes Submit Queue 893217fea0 Merge pull request #3333 from robinpercy/node-port-range
Automatic merge from submit-queue

Added ability to set --service-node-port-range

Addresses: #3052 and #3326 

From what I can tell, `--service-node-port-range` has been a valid option forever, so I haven't worried about k8s versions.

@justinsb @chrislovecnm let me know if any changes are required.
2017-09-14 17:11:15 -07:00
Kubernetes Submit Queue 159a21c4d0 Merge pull request #3372 from fvasco/patch-1
Automatic merge from submit-queue

switch monitoring-standalone to v1.7.0
2017-09-14 16:32:18 -07:00
Reen Lokum f3feeb5062 Other regions require LocationConstraint
When not in the us-east-1 region the LocationConstraint configuration is required for the s3api.
2017-09-14 14:06:10 +02:00
Caleb Gilmour 79d331e590 Add support for Romana as a networking option 2017-09-13 22:48:18 +00:00
Bruno Bronosky 7d6b61a645 Make cmd1 populate the var for cmd2
Using `tee /dev/stderr` allows the user to still get output if they copy-pasta the first command. The other changes prepare the HZC variable so it can be used if they copy-pasta the second command.
2017-09-13 15:32:41 -04:00
Kubernetes Submit Queue 26e1cb06bf Merge pull request #3190 from justinsb/flannel_vlxan
Automatic merge from submit-queue

Flannel: change default backend type

We support udp, which has to the default for backwards-compatibility,
but also new clusters will now use vxlan.
2017-09-12 19:03:17 -07:00
Justin Santa Barbara f463a8e30e Add docs for flannel-vxlan option 2017-09-12 20:53:00 -04:00
Francesco Vasco ffffba4848 switch monitoring-standalone to v1.7.0 2017-09-12 10:38:51 +02:00
Kubernetes Submit Queue 27a6193c6c Merge pull request #3361 from PI-Victor/minor_fix_link
Automatic merge from submit-queue

docs: fix broken vSphere doc link
2017-09-10 14:06:07 -07:00
Victor Palade c38f2b6aa3
docs: fix broken vSphere doc link 2017-09-10 19:44:20 +02:00
Rohith aaf6143a98 Toolbox Templating
Extending the current implementation of toolbox template to include multiple files and snippets. Note, i've removed the requirements for defaults as I think people should be forced to specifically pass them.

- fixing the vetting iseues to the method YamlToJson -> YAMLToJSON
- adding a safety check to ensure templates don't reference an unknown value
- extending the unit test to ensure the above works on main and snippets
- include the ability to specify multiple configuration files, useful for common.yaml and prod.yaml etc

Requested Changes - Toolbox Templating

Added the requested changes

- moved the templater into it's own package rather than using base util
- moved to using the sprig library for additional template function
- @note: i couldn't find a native way in sprig to do snippets, also the i've overloaded the indent as it appears to do the indent on all lines rather than on the newline, meaning i'd have to shift my first line back by the indent to get it to work, which seems ugly
2017-09-08 20:30:21 +01:00
Robin Percy e1b20c0217 Added ability to set --service-node-port-range on kube-apiserver 2017-09-07 17:01:15 -07:00
John Zeringue 13d22fdd1a Allow specifying a SSH key name for AWS
Related to #2309, this allows naming an existing key pair using the
cluster spec field `sshKeyName`.

In our use case, kops can now be used without providing the ability to
create EC2 key pairs.
2017-09-07 08:24:13 -04:00
Andrey Chernih fcf78ebcd2 Document that ExperimentalCriticalPodAnnotation is enabled by default 2017-09-05 22:04:04 -07:00
Steven Santos Erenst a7d2907a52 Fix broken link in aws.md
aws.md linked to advanced_create.md which was deleted in
https://github.com/kubernetes/kops/pull/2725. Its contents were added to
high_availability.md. Update the link to point to the relevant section in
high_availability.md.

Signed-off-by: Steven Santos Erenst <stevenerenst@gmail.com>
2017-08-31 18:27:07 -07:00
Kubernetes Submit Queue 155650eb82 Merge pull request #2504 from reactiveops/flag-watch-ingress
Automatic merge from submit-queue

Adds DNSControllerSpec and WatchIngress flag

This PR is in reference to #2496, #2468 and the issues referenced in there relating to use of the watch-ingress flag. 

This PR attempts to rectify this situation and gives users who want it, the option to turn on watch-ingress without forcing it on them. Also spits out a warning to the logs about potential side effects.

Includes notes in `docs/cluster_spec.md` to explain.
2017-08-29 23:31:57 -07:00
Krishna m-Kumar 30a23fcdcd Update aws.md
pointing links to the k8s slack directly.
2017-08-29 15:21:21 +05:30
Eric Hole 673cdf6b5f Fixes merge conflicts 2017-08-28 19:10:21 -07:00