Commit Graph

3622 Commits

Author SHA1 Message Date
lichuqiang b581e8144b fix typo 2017-08-18 08:42:47 +00:00
Kubernetes Submit Queue 429004fdf1 Merge pull request #3162 from tmjd/update-calico-2-4-0
Automatic merge from submit-queue

Update to Calico 2.4.1

- Switch Calico images to be pulled from quay.io

Addresses #3161
2017-08-17 15:09:36 -07:00
Kubernetes Submit Queue e3d6b15b53 Merge pull request #3187 from tmjd/update-canal-2-4-1
Automatic merge from submit-queue

Update Canal to the latest

Update Calico and Flannel versions
- Calico to v2.4.1
- Flannel to v0.8.0

The #3161 issue should be reviewed for the Default Deny NetworkPolicy behavior change this PR brings along.
2017-08-17 10:24:03 -07:00
Kubernetes Submit Queue 7274b60631 Merge pull request #3205 from tigerlinux/master
Automatic merge from submit-queue

Changes on CoreOS related documentation.

- Changed "experimental" to "production-ready" status on CoreOS
  images.
- Added a complete tutorial/exercise using a multi-master setup
  with CoreOS
2017-08-17 08:02:13 -07:00
Kubernetes Submit Queue 6318653ec8 Merge pull request #3228 from lichuqiang/master
Automatic merge from submit-queue

fix kops_completion.md doc
2017-08-17 06:18:47 -07:00
Kubernetes Submit Queue d96e1870cf Merge pull request #3148 from justinsb/validation_cleanup
Automatic merge from submit-queue

Rework legacy validation to use field error helpers
2017-08-17 05:47:31 -07:00
Kubernetes Submit Queue 189fa3c85d Merge pull request #3226 from KashifSaadat/fix-lifecycle-changes
Automatic merge from submit-queue

Correctly set lifecycle on LB resources

When the cluster is configured with an ELB, the following resources show up on every update as requiring changes:
```
Will modify resources:
  DNSName/api.kash-kops.example.com
  	Lifecycle           	 <nil> -> Sync

    LoadBalancer/api.kash-kops.example.com
    	Lifecycle           	 <nil> -> Sync

    LoadBalancerAttachment/api-master-eu-west-1a
    	Lifecycle           	 <nil> -> Sync

    LoadBalancerAttachment/api-master-eu-west-1b
    	Lifecycle           	 <nil> -> Sync

    LoadBalancerAttachment/api-master-eu-west-1c
    	Lifecycle           	 <nil> -> Sync
```

This PR sets the lifecycle property on the above awstask objects.
2017-08-17 05:13:14 -07:00
Justin Santa Barbara 9c5d4c2bdc Rework legacy validation to use field error helpers 2017-08-17 07:43:41 -04:00
lichuqiang 90ed63465b fix typo 2017-08-17 19:16:13 +08:00
Kashif Saadat 34486b027c Correctly set lifecycle on DNSName, LoadBalancer and LoadBalancerAttachment resources 2017-08-17 10:42:38 +01:00
Kubernetes Submit Queue 16f6fe4bbb Merge pull request #3217 from lichuqiang/master
Automatic merge from submit-queue

fix typo in bastion.md
2017-08-17 02:20:28 -07:00
Kubernetes Submit Queue 52e004710d Merge pull request #3113 from justinsb/docs_api_access
Automatic merge from submit-queue

Fix docs to reference kubernetesApiAccess, not apiAccess
2017-08-16 10:56:03 -07:00
Kubernetes Submit Queue 32c641844c Merge pull request #3213 from lsowen/patch-1
Automatic merge from submit-queue

Fix typo in link (lables.md -> labels.md)
2017-08-16 10:25:18 -07:00
lichuqiang 089e12d095 fix typo in bastion.md 2017-08-17 01:14:46 +08:00
Kubernetes Submit Queue 71d66849a0 Merge pull request #3209 from krzyzacy/addding
Automatic merge from submit-queue

s/addding/adding/ in ssh logs

I was hittting this errror messsage :-(
2017-08-16 09:53:29 -07:00
Kubernetes Submit Queue d9766b6191 Merge pull request #3212 from lichuqiang/master
Automatic merge from submit-queue

fix typo in boot-sequence.md
2017-08-16 09:22:43 -07:00
Reinaldo Martinez 865755e79e Changed all CoreOS related documentation 2017-08-16 11:54:57 -04:00
Kubernetes Submit Queue 1601b4ab22 Merge pull request #3214 from mikesplain/fix_dev-build_typo
Automatic merge from submit-queue

Fix quote typo on dev-build

Silly quotes fix and image update to make it more copy and paste friendly.
2017-08-16 08:52:56 -07:00
Kubernetes Submit Queue c5918609ea Merge pull request #3216 from justinsb/bump_nodeup_for_master
Automatic merge from submit-queue

Bump version to 1.7.1-beta.1
2017-08-16 08:20:58 -07:00
Justin Santa Barbara 6d554d6f1d Bump version to 1.7.1-beta.1
This also will let master work again without a custom nodeup (nodeup changes)
2017-08-16 10:04:37 -04:00
Mike Splain 4331c12f73 Update image
To make it more copy and paste friendly
2017-08-16 09:59:40 -04:00
Mike Splain f6018df43e Fix quote typo 2017-08-16 09:36:42 -04:00
lsowen c561bdc52f Fix typo in link (lables.md -> labels.md) 2017-08-16 09:32:10 -04:00
lichuqiang 4942ccdf74 fix typo 2017-08-16 21:25:20 +08:00
Sen Lu 790ca20051 s/addding/adding/ in ssh logs 2017-08-15 18:16:03 -07:00
Kubernetes Submit Queue fd7a6a3018 Merge pull request #3204 from mbssaiakhil/patch-2
Automatic merge from submit-queue

Update Code of Conduct
2017-08-15 10:26:30 -07:00
Malepati Bala Siva Sai Akhil 354ca61032 Update Code of Conduct
Made the last sentence uniform wrt other sentences
2017-08-15 18:36:29 +05:30
Kubernetes Submit Queue 74d0e211f4 Merge pull request #3193 from orrchen/master
Automatic merge from submit-queue

resolve #3169
2017-08-14 06:14:00 -07:00
Kubernetes Submit Queue b7331ac23e Merge pull request #2992 from itskingori/node_resource_handling
Automatic merge from submit-queue

Add documentation on handling node resources

At a minimum, this is meant to give more context on why the feature in https://github.com/kubernetes/kops/pull/2982 was added and attempts to give some recommendations of what to consider when evaluating node system resources.

I hope this spurs some discussion and that the recommendations I make maybe be assessed further. For example ... in one of the links I referenced, we're advised to set `system-reserved` **only if we know what we are doing** (which I can't say I do 💯% ... 🤷‍♂️) and we're even warned to only set it if you really need to.
2017-08-14 05:28:28 -07:00
Kubernetes Submit Queue 0620cce89e Merge pull request #3063 from gambol99/hook_order
Automatic merge from submit-queue

Cluster Hooks Enhancement

Cluster Hook Enhancement

The current implementation is presently limited to docker exec, without ordering or any bells and whistles. This PR extends the functionality of the hook spec by;

- adds ordering to the hooks, with users able to set the requires and before of the unit
- cleaned up the manifest code, added tests and permit setting a section raw
- added the ability to filter hooks via master and node roles
- updated the documentation to reflect the changes
- extending the hooks to permit adding hooks per instancegroup as well cluster
- @note, instanceGroup are permitted to override the cluster wide one for ease of testing
- on the journey tried to fix an go idioms such as import ordering, comments for global export etc
- @question: v1alpha1 doesn't appear to have Subnet fields, are these different version being used anywhere?
2017-08-14 04:24:46 -07:00
Kubernetes Submit Queue 86cf715998 Merge pull request #3192 from mbssaiakhil/patch-1
Automatic merge from submit-queue

Fix Typo in Contributor Code of Conduct
2017-08-14 03:54:00 -07:00
Orr Chen 43020af959 resolve #3169 2017-08-13 19:16:22 +03:00
Malepati Bala Siva Sai Akhil f4e946481a Fix Typo in Contributor Code of Conduct 2017-08-13 15:42:37 +05:30
King'ori Maina 1bd329ad93
Avoid fuzzy language 2017-08-12 21:18:16 +02:00
King'ori Maina 14359657c0
Prefer to wrap text
Line-breaks makes it easier for reviews, especially Github commenting.
2017-08-12 21:17:10 +02:00
Kubernetes Submit Queue 7942869729 Merge pull request #3176 from gambol99/etcv3
Automatic merge from submit-queue

Etcd v3 Support

Etcd V3 Support
    
The current implementation is running v2.2.1 which is two years old and end of life. This PR adds the ability to use etcd v3 and set the versions if required. Note at the moment the image is still using the gcr.io registry image and much like Etcd TLS PR there presently is no 'automated' migration path from v2 to v3.
    
- the feature is gated behind the version of the etcd cluster, both clusters events and main must use the same storage type
- the version for v2 is unchanged and pinned at v2.2.1 with v3 using v3.0.17
- @question: we should consider allowing the user to override the images though I think this should be addressed generically, than one offs here and then. I know @chrislovecnm is working on a asset registry??
2017-08-12 08:07:48 -07:00
Kubernetes Submit Queue 96c6050597 Merge pull request #3188 from andrewsykim/docloud
Automatic merge from submit-queue

Initial cloud interface for DigitalOcean

Just setup code for DigitalOcean and trying to keep my PRs as small as possible. Upcoming PRs will include tasks to create droplets, block storage (for etcd), etc.
2017-08-12 07:36:35 -07:00
andrewsykim d72a2e1f88 add API target for DigitalOcean 2017-08-11 21:04:49 -04:00
andrewsykim 1f0d0bbc75 initial cloud interface for DigitalOcean 2017-08-11 19:33:17 -04:00
Erik Stidham ec68c0c00b Update Canal to the latest
- Calico to v2.4.1
- Flannel to v0.8.0
- Update Calico RBAC
2017-08-11 17:00:49 -05:00
Rohith 7cd214266a Requested Changes - Etvd v3
- removing the StorageType on the etcd cluster spec (sticking with the Version field only)
- changed the protokube flag back to -etcd-image
- users have to explicitly set the etcd version now; the latest version in gcr.io is 3.0.17
- reverted the ordering on the populate spec
2017-08-11 21:08:09 +01:00
Rohith f3e98af217 Etcd V3 Support
The current implementation is running v2.2.1 which is two year old and end of life. This PR add the ability to use etcd and set the versions if required. Note at the moment the image is still using the gcr.io registry image. As note, much like TLS their presently is not 'automated' migration path from v2 to v3.

- the feature is gated behine the storageType of the etcd cluster, bot clusters events and main must use the same storage type
- the version for v2 is unchanged and pinned at v2.2.1 with v2 using v3.0.17
- @question: we shoudl consider allowing the use to override the images though I think this should be addresses more generically, than one offs here and then. I know chris is working on a asset registry??
2017-08-11 21:04:31 +01:00
Kubernetes Submit Queue d8dde0c2b0 Merge pull request #3158 from KashifSaadat/node-iam-policy-updates
Automatic merge from submit-queue

Tighten down S3 IAM policy statements

This PR contains updates to:
- Remove default `s3:*` IAM policy for master and compute nodes
- Allow all nodes to list bucket contents
- Allow master nodes to get all bucket contents
- Allow compute nodes to get specific bucket contents (certain private key files are disallowed)
- Adds unit tests around the S3 policy build function
2017-08-11 09:58:10 -07:00
Kashif Saadat fd0ce236dc Remove node requirement to access private ca and master keys in S3 2017-08-11 16:12:32 +01:00
Erik Stidham 226e26f072 Update to Calico 2.4.1
- Switch Calico images to be pulled from quay.io
2017-08-11 08:56:03 -05:00
Rohith 7f5c83e417 Requests Changes - Hooks Enhancement
- switched to using an array of roles rather than boolean flags for node selection
- fixed up the README to reflect the changes
- added the docker.service as a Requires to all docker exec hooks
2017-08-11 12:41:08 +01:00
Rohith 0bfc2f1b24 Hooks in InstanceGroups
- extending the hooks to permit adding hooks per instancegroup as well
- @note, instanceGroup are permitted to override the cluster wide one for ease of testing
- updated the documentation to reflect the changes
- on the journey tried to fix an go idioms such as import ordering, comments for global export etc
- @question: v1alpha1 doesn't appear to have Subnet fields, are these different version being used anywhere?
2017-08-11 12:40:10 +01:00
Rohith 153db84df1 Custom Manifests via Hooks
The present implementation of hooks only perform for docker exec, which isn't that flexible. This PR permits the user to greater customize systemd units on the instances

- cleaned up the manifest code, added tests and permit setting a section raw
- added the ability to filter hooks via master and node roles
- updated the documentation to reflect the changes
- cleaned up some of the vetting issues
2017-08-11 12:40:10 +01:00
Rohith fe3dd9815c Cluster Hook Ordering
The current implementation does not permit the user to order the hooks. This PR adds optional Requires, Before and Documentation to the HookSpec which is added the systemd unit if specified.
2017-08-11 12:40:10 +01:00
Kashif Saadat cd149414df Tighten down S3 IAM policy statements 2017-08-11 11:51:46 +01:00