Commit Graph

815 Commits

Author SHA1 Message Date
Kubernetes Submit Queue f86367ac7d
Merge pull request #3815 from chrislovecnm/san-api-update
Automatic merge from submit-queue.

san api update

Missed api update.

/assign @geojaz @andrewsykim
2017-11-10 03:55:49 -08:00
Kubernetes Submit Queue c6071f3ec1
Merge pull request #3810 from mikesplain/update_docs_for_1.7.1
Automatic merge from submit-queue.

Update docs for 1.7.1
2017-11-09 21:03:23 -08:00
Kubernetes Submit Queue 822b84ee69
Merge pull request #3811 from ahrkrak/patch-1
Automatic merge from submit-queue.

Consolidate two separate CNI sections

There was a second section about CNI that was confusing since it was superfluous to the first one.
Also updated a couple of calico references from version-pinned to 'latest'.
2017-11-09 21:03:19 -08:00
chrislovecnm 6de1828e14 updating api reference docs 2017-11-09 14:32:57 -07:00
Mike Splain a6e7f974b9 Update docs for 1.7.1 2017-11-09 13:34:03 -05:00
Andy Randall d1312f4059
Consolidate two separate CNI sections
Also updated a couple of calico references from version-pinned to 'latest'
2017-11-09 09:58:42 -08:00
Rodrigo Menezes 3cfa67c3e6 Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-11-08 22:20:54 -08:00
Rohith 80c2bb903b Toolbox Templating Docs
- adding additional documentation about the toolbox template command
2017-11-08 16:51:34 +00:00
Rodrigo Menezes 1fe56a1603 Move user-data to IG spec 2017-11-06 23:25:37 -08:00
Justin Santa Barbara b4a8823bb9 Add PRs to 1.8 release notes 2017-11-07 00:54:52 -05:00
Justin Santa Barbara 07c221bf6b
Merge branch 'master' into feature/kops-add-master-public-name 2017-11-06 22:58:57 -05:00
Kubernetes Submit Queue 308b2071d0
Merge pull request #3774 from chrislovecnm/api-docs-updates
Automatic merge from submit-queue.

updating api documentation
2017-11-06 09:49:15 -08:00
chrislovecnm a25b5d7364 adding -y to various commands that use --yes. kops create,
rolling-update and update now include -y.
2017-11-05 17:33:24 -07:00
chrislovecnm 9e2f4080b3 updating api documentation 2017-11-05 17:13:47 -07:00
Rodrigo Menezes 565afae2c6 Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-11-04 17:06:43 -07:00
chrislovecnm 4c82a6d5d4 Fixing YAML and JSON output across multiple cli functions. Also
Added --dry-run for create_ig and create_cluster
2017-11-04 17:04:44 -06:00
Manuel de Brito Fontes 236cb0f188 Add makefile target to check markdown links 2017-11-02 19:19:15 -03:00
Kubernetes Submit Queue 2842ed1410
Merge pull request #3747 from gambol99/docs
Automatic merge from submit-queue.

Audit Policy Docs
2017-10-31 17:20:01 -07:00
Rohith b3d4dd9911 Audit Policy Docs
- adding some documentation on the audit policy
2017-10-31 22:57:23 +00:00
Rodrigo Menezes 58faa71d89 Merge remote-tracking branch 'origin/master' into extra_user-data 2017-10-30 20:44:00 -07:00
Kubernetes Submit Queue c1c1d6bbcc
Merge pull request #3732 from KashifSaadat/iam-roles-documentation
Automatic merge from submit-queue.

Update IAM roles documentation based on recent changes.

The [IAM Roles documentation](https://github.com/kubernetes/kops/blob/master/docs/iam_roles.md) has been updated to reflect recent hardening on the policies generated for Master & Compute nodes.

Fixes #3557.
2017-10-30 17:55:20 -07:00
Reinaldo Martinez cf66ee40c1 Changes on examples 2017-10-30 17:22:10 -04:00
Reinaldo Martinez e06b5f9a17 Added new example with a route53 subdomain 2017-10-30 17:22:10 -04:00
Reinaldo Martinez 9e3f0af14c Added new practical example with private networking and the use of bastions 2017-10-30 17:22:09 -04:00
Kashif Saadat 1dea528a0e Update IAM roles documentation based on recent changes. 2017-10-30 16:41:55 +00:00
Rohith 0e2e20bc15 Kops Templating
Adding an extra option to the toolbox templating to format the YAML before writing out; which is usefull to cleanup formating issues and as detecting errors in the template

- added a formating options --format-yaml to the toolbox template which cleans up the yaml before writing out
- updated the cli documentation
- added the --config-value used to grab the configuration
2017-10-30 12:05:11 +00:00
Justin Santa Barbara 89fddb22de Add initial docs for how to rotate a CA keypair 2017-10-29 20:52:54 -04:00
chrislovecnm b3a93bb2ee updating apireference docs 2017-10-28 07:00:24 -06:00
Manatsawin Hanmongkolchai 170bf5200e Updated docs for UsePolicyConfigMap 2017-10-27 08:56:08 +07:00
chrislovecnm ceafc684f2 updating documenation for new phases name 2017-10-26 12:37:55 -06:00
chrislovecnm 384c74d66c Refactoring IAM phase to Security Phase 2017-10-26 12:28:50 -06:00
Rodrigo Menezes d803480485 Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-10-24 12:52:19 -07:00
Rohith 9958d333ae Kops Toolbox Template
The current implementation fails on template which reference unset variables, it is however useful at times to permit overriding this behavior and using sprig default() for example methods to handle it

- added a new command line option --fail-on-missing (defaults to true, so keeps the current behaviour)
- updated the unit test to reflect the changes
- updated the cli docs
2017-10-22 14:29:23 +00:00
Kubernetes Submit Queue 7bdf854db2 Merge pull request #3652 from tallaxes/master
Automatic merge from submit-queue.

update kubernetes-dashboard image version to v1.7.1

https://github.com/kubernetes/dashboard/issues/2401, causing high CPU, is fixed in 1.7.1.
Image version number is the only change.
2017-10-20 21:22:43 -07:00
Kubernetes Submit Queue b334d963de Merge pull request #3674 from r4j4h/patch-2
Automatic merge from submit-queue.

Added example output from a 1.4.12 cluster

For `CVE-2017-14491` page
2017-10-19 16:01:09 -07:00
Jasmine Hegman 1a9a5351d0 Added example output from a 1.4.12 cluster 2017-10-19 15:15:46 -07:00
Mike Splain 8549e8e7ff Add HorizontalPodAutoscalerSyncPeriod for kubeControllerManager 2017-10-19 17:57:33 -04:00
Rodrigo Menezes 50c7094faf Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-10-18 22:43:51 -07:00
Chi Hoang feaf7d6b6e updated aws tutorial so reader can copy and paste command instead of searching for aws key and secret 2017-10-18 06:09:14 -07:00
Rodrigo Menezes 469b73560f Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-10-17 14:10:25 -07:00
Quentin Nerden bc7e5a0649 Add kops toolbox template docs 2017-10-17 20:33:14 +02:00
tallaxes ffb2923eb8 Bump kubernetes-dashboard to v1.7.1 2017-10-16 23:38:11 -07:00
Ali Fathieh 583bcab6bf link to cve Advisory release doc fixed 2017-10-17 12:44:29 +11:00
William Austin a21dfafa0d Add missing "-nanny" in image name. 2017-10-16 10:29:34 -06:00
Rodrigo Menezes e77cda1af1 Allow passing in extra user-data to cloud-init 2017-10-15 17:10:03 -07:00
Kubernetes Submit Queue f14b5a564a Merge pull request #3580 from chrislovecnm/kops-1.7.1-advisory-update
Automatic merge from submit-queue.

updating cve advisory for kops-1.7.1 release

- fixed line wrap
- fixed typos
- added updates for kops 1.7.1 release
2017-10-11 14:23:28 -07:00
chrislovecnm 8792823ad9 Fixing english per PR review 2017-10-10 12:20:19 -06:00
Kubernetes Submit Queue 59735b8957 Merge pull request #3585 from justinsb/fix_old_custom_build
Automatic merge from submit-queue.

Fix old custom build instructions
2017-10-10 11:10:53 -07:00
Mike Splain b4de894ea8 Update homebrew release docs.
`brew bump-formula-pr` has simplified the process for updating brew
forumla
2017-10-10 13:32:43 -04:00
Kubernetes Submit Queue 4798a670ed Merge pull request #3584 from justinsb/release_branch_docs
Automatic merge from submit-queue.

Release docs update git push command
2017-10-10 09:22:57 -07:00
Justin Santa Barbara 8fb35963af Fix old custom build instructions
Also we need to explicitly call kops-install now
2017-10-10 07:37:25 -04:00
Justin Santa Barbara 49e2f03308 Release docs update git push command
The command to push to the release branch was wrong, which meant the
release branch wasn't getting updated.
2017-10-10 06:30:33 -04:00
Justin Santa Barbara 08dc649fde Docs tweak - specify flag, not kube-up env var
ENABLE_CUSTOM_METRICS is a kube-up artifact; the flags are the truth.
2017-10-10 06:23:09 -04:00
Kubernetes Submit Queue 2bc9df1973 Merge pull request #3582 from enxebre/gce-tuto
Automatic merge from submit-queue.

Update gce storage url
2017-10-10 03:12:44 -07:00
Alberto be4c4eb644 Update gce.md 2017-10-10 11:14:36 +02:00
Rahul Mahale bb017bc33f Merge branch 'master' into update-cluster-spec-document-with-custom-metrics-flag 2017-10-10 14:09:30 +05:30
Rahul Mahale b0bb54a08b Add link to kubernetes documentation 2017-10-10 14:07:43 +05:30
chrislovecnm 97d0305fdf tweaks 2017-10-09 20:59:36 -06:00
chrislovecnm fdb4670d61 updating cve advisory for kops-1.7.1 release 2017-10-09 20:52:27 -06:00
Manatsawin Hanmongkolchai a06fbbac79 Added documentation that PolicyConfigMap should not be used during cluster creation 2017-10-10 09:33:48 +07:00
Manatsawin Hanmongkolchai be8aa9fecc Added docs on policyConfigMap 2017-10-10 09:10:05 +07:00
Mike Splain 44b503ee25 1.7.1 Release notes first pass
We'll need to move the current release notes in master for 1.7.1 to 1.8.0 since
they were not included in this release at this time and cherry-pick
these notes into master.
2017-10-09 11:09:56 -04:00
Mike Splain 563938c813 Move old 1.7.1 release notes to 1.8.0 to expedite hotfix release 2017-10-09 09:54:34 -04:00
Rahul Mahale 5d3adf0164 Document enabling custom metrics using kops
- Tested it with kops version 1.7 and k8s v1.7.2
2017-10-09 13:43:24 +05:30
Kubernetes Submit Queue 4440001355 Merge pull request #3514 from gambol99/etcd3
Automatic merge from submit-queue.

Etcd V3 & TLS Support
2017-10-08 22:53:38 -07:00
Chris Love 6d0cefcec8 Fixed table 2017-10-08 15:12:03 -06:00
chrislovecnm ed3651d688 CVE-2017-14491 Documentation Hot Fixes and kops fixes 2017-10-08 14:53:55 -06:00
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
Rohith 7c2ce19196 Etcd V3 & TLS Support
- adding documentation for the etcd v3 and tls options
2017-10-03 10:10:56 +01: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
Marius Davidsen 34cbbd20db Adds --master-public-name argument to create_cluster. 2017-09-15 13:20:20 +02: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