Commit Graph

772 Commits

Author SHA1 Message Date
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
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
Sebastian Melchior 6e29638724 improve documentation for secrets 2017-08-28 16:42:47 +02:00
Justin Santa Barbara 6d2185a6cd Fix space in rolling-update cluster help
When we use pretty.Bash, we must use pretty.LongDesc to stop the spacing
being mangled.
2017-08-26 07:39:17 -04:00
Kubernetes Submit Queue 325047c0ca Merge pull request #3266 from Rajadeepan/Rajadeepan-patch-2
Automatic merge from submit-queue

Fix Broken Link
2017-08-24 23:58:50 -07:00
Kubernetes Submit Queue 1e3eef37bf Merge pull request #3245 from mad01/sshsecret
Automatic merge from submit-queue

Adding support for adding ssh public key from file

MVP implementation of adding secret from file related to #2195 

```bash
cat > secret.yaml <<EOF
apiVersion: kops/v1alpha2
kind: SSHSecret
metadata:
  labels:
    kops.k8s.io/cluster: dev.k8s.example.com
spec:
  username: "admin"
  sshPublicKey: "ssh-rsa AAAAB3NzaC1yc2EEEAADA dev@devbox"
EOF
```

`kops create -f secret.yaml`
2017-08-24 20:18:48 -07:00
Justin Santa Barbara c9c621e03e Merge pull request #3261 from tmjd/calico-upgrade-release-note
Started release notes for 1.7.1
2017-08-24 20:46:02 -04:00
Rajadeepan D Ramesh ffc3aa5c8d Fix Broken Link
Fix Broken Link
2017-08-25 02:14:35 +05:30
Justin Santa Barbara b61b74408b Update images in CI tests 2017-08-24 10:27:27 -04:00
Erik Stidham a0782b0e4f Started release notes for 1.7.1 2017-08-24 09:05:12 -05:00
Kubernetes Submit Queue 73c2ea8f8f Merge pull request #3262 from murali-reddy/kube-router-docs
Automatic merge from submit-queue

Add documentaion to kube-router section of docs/networking

Adding couple of sentences to kube-router documentation.
2017-08-24 00:37:41 -07:00
Kubernetes Submit Queue 5b76cd3833 Merge pull request #3237 from justinsb/17_is_released
Automatic merge from submit-queue

Fix heading on 1.7 notes
2017-08-23 23:36:33 -07:00
Murali Reddy af8d0f6917 Add documentaion to kube-router section of docs/networking 2017-08-24 10:35:07 +05:30
Dave Powell f82bbbcde0 Fix README.md fragment links 2017-08-23 12:19:26 -04:00
Alexander Brandstedt 66d4c4ed67 change PulicKey to lower p as in publicKey in json 2017-08-23 12:38:27 +02:00
Alexander Brandstedt 5705885d02 rename sshsecret to sshcredential and update files to reflect change. 2017-08-23 12:18:10 +02:00
Kubernetes Submit Queue 4edc267fb8 Merge pull request #3090 from gambol99/file_assets
Automatic merge from submit-queue

Cluster / InstanceGroup File Assets

@chrislovecnm @justinsb ... 

The current implementation does not make it ease to fully customize nodes before kube install. This PR adds the ability to include file assets in the cluster and instaneGroup spec which can be consumed by nodeup. Allowing those whom need (i.e. me :-)) greater flexibilty around their nodes. @Note, nothing is enforced, so unless you've specified anything everything is as the same

- updated the cluster_spec.md to reflect the changes
- permit users to place inline files into the cluster and instance group specs
- added the ability to template the files, the Cluster and InstanceGroup specs are passed into context
- cleaned up and missed comment, unordered imports etc along the journey

notes: In addition to this; need to look at the detecting the changes in the cluster and instance group spec. Think out loud perhaps using a last_known_configuration annotation, similar to kubernetes
2017-08-22 19:49:48 -07:00
Kubernetes Submit Queue 2d7fb51c2a Merge pull request #3025 from chrislovecnm/mapping-and-uploading-kubernetes-assets
Automatic merge from submit-queue

inventory assets - mapping and uploading kubernetes containers
2017-08-22 19:15:31 -07:00
chrislovecnm 6071ce7383 refactoring for tracking via assets container registry 2017-08-21 17:29:16 -06:00
Alexander Brandstedt 1eceb788e6 implementation of adding ssh public key using sshsecret spec 2017-08-21 17:18:00 +02:00
Rajadeepan D Ramesh 1237694efe Fix minor typo 2017-08-21 03:37:25 +05:30
Justin Santa Barbara 365d7a83a0 Fix heading on 1.7 notes
1.7 is released, so docs should reflect that!
2017-08-20 09:45:05 -04:00
Rohith 494671eaaf Request Changes - File Assets
- removed the Mode field from the FileAsset spec
- removed the ability to template the content
- removed the need to specify the Path and instead default to /srv/kubernetes/assets/<name>
- change the FileAssets from []*FileAssets to []FileAssets
2017-08-18 18:06:45 +01:00
Rohith c15221c872 - adding a Roles filter to the file assets to choose who gets the asset 2017-08-18 18:06:44 +01:00
Rohith aa1a92c60e Cluster / InstanceGroup File Assets
The current implementation does not make it ease to fully customize nodes before kube install. This PR adds the ability to include file assets in the cluster and instaneGroup spec which can be consumed by nodeup. Allowing those whom need (i.e. me :-)) greater flexibilty around their nodes. @Note, nothing is enforced, so unless you've specified anything everything is as the same

- updated the cluster_spec.md to reflect the changes
- permit users to place inline files into the cluster and instance group specs
- added the ability to template the files, the Cluster and InstanceGroup specs are passed into context
- cleaned up and missed comment, unordered imports etc along the journey
2017-08-18 18:06:44 +01:00
lichuqiang b581e8144b fix typo 2017-08-18 08:42:47 +00:00