Commit Graph

4710 Commits

Author SHA1 Message Date
Kubernetes Submit Queue 576f3dc603
Merge pull request #4076 from justinsb/refactor_hosts
Automatic merge from submit-queue.

Refactor protokube hosts file into its own package
2017-12-15 05:35:12 -08:00
Kubernetes Submit Queue 490f860bc9
Merge pull request #4078 from justinsb/protokube_local_addresses
Automatic merge from submit-queue.

protokube: better discovery of local address
2017-12-15 05:03:47 -08:00
Kubernetes Submit Queue 6eb1de3825
Merge pull request #4080 from justinsb/protokube_cluster_id_logging
Automatic merge from submit-queue.

protokube: fix logging / logic around cluster-id
2017-12-15 04:19:58 -08:00
Kubernetes Submit Queue 56da7ed34e
Merge pull request #4081 from justinsb/files_npe
Automatic merge from submit-queue.

files task: fix potential nil pointer error
2017-12-15 03:47:04 -08:00
Kubernetes Submit Queue f0303c80dc
Merge pull request #4082 from justinsb/unattended_apt_get
Automatic merge from submit-queue.

apt-get: specify unattended installation
2017-12-15 03:14:37 -08:00
Justin Santa Barbara 6d166a41dd Refactor protokube hosts file into its own package
So we can bring this in without our gossip layer

This supports an imminent implementation that uses DNS-SD
2017-12-15 01:22:51 -05:00
Justin Santa Barbara 78b84d6c2c apt-get: specify unattended installation
Otherwise we risk getting stuck on a prompt
2017-12-15 01:12:37 -05:00
Justin Santa Barbara 060d94e9e8 files task: fix potential nil pointer error
If the user didn't exist, we would panic with a nil pointer error
2017-12-15 01:12:20 -05:00
Justin Santa Barbara 3472b0dc6d protokube: fix logging / logic around cluster-id
Remove superfluous if statement
2017-12-15 01:11:56 -05:00
Justin Santa Barbara 414b0172f0 protokube: better discovery of local address
Fix up the local IP address discovery logic, to recognize new
en-interfaces, and to better log what it is doing.  Plug it in for
baremetal installations.
2017-12-15 01:10:26 -05:00
Kubernetes Submit Queue 3a10a8c7cb
Merge pull request #4067 from chrislovecnm/gazelle-updates
Automatic merge from submit-queue.

Gazelle updates

We missed one

/assign @justinsb @KashifSaadat 

- applying 4065 this should drop out b29e1c5bd2
- just review the second commit
2017-12-14 13:25:43 -08:00
Kubernetes Submit Queue 5f5ef35126
Merge pull request #4070 from kintoandar/patch-1
Automatic merge from submit-queue.

Fix minor typo
2017-12-14 11:25:42 -08:00
Kubernetes Submit Queue 210a22458c
Merge pull request #4026 from ihoegen/patch-1
Automatic merge from submit-queue.

Fix node counts

When running `kops validate`, and the cluster size is greater than the minimum configuration, the display message is 
<img width="153" alt="screen shot 2017-12-07 at 1 10 14 pm" src="https://user-images.githubusercontent.com/11003242/33738958-1571943e-db50-11e7-9156-f034c9af7d9c.png">

This PR sets the NodeCount value to the length of the nodes array instead of the configuration.
2017-12-14 10:25:42 -08:00
Kubernetes Submit Queue bea129142a
Merge pull request #4051 from robinpercy/autoscaler-perms
Automatic merge from submit-queue.

Adding DescribeTags to masters

/fixes #2681
2017-12-14 09:25:42 -08:00
Kubernetes Submit Queue a19d90143f
Merge pull request #4062 from justinsb/bump_weave_for_212
Automatic merge from submit-queue.

Bump weave version in bootstrapchannelbuilder

2.1.3 upstream becomes 2.1.3-kops.1, so if we need to make our own
"packaging" changes, we can do 2.1.3-kops.2 etc.
2017-12-14 06:25:41 -08:00
Joel Bastos 58854a3e9c
Fix minor typo 2017-12-14 14:18:14 +00:00
Kubernetes Submit Queue 9487dd4102
Merge pull request #4064 from justinsb/bump_flannel_version_for_3952
Automatic merge from submit-queue.

Bump flannel packaging version
2017-12-14 05:25:42 -08:00
Kubernetes Submit Queue 28965240d3
Merge pull request #3983 from szuecs/add/kube-ingress-aws-controller
Automatic merge from submit-queue.

add kube-ingress-aws-controller + skipper addons

Adds an addon that needs some more requirements, because it has to have the rights to create/update/delete ALBs, find certificates, ..

I hope this is ok to have here a more long page to explain requirements and show some features that are not common in ingress implementations.
2017-12-14 04:25:41 -08:00
Kubernetes Submit Queue 86630a2806
Merge pull request #4045 from tuannvm/2017-12-12-bump-version
Automatic merge from submit-queue.

[Add-on][kube-state-metrics] Bump version

## Why?
- Bump kube-state-metrics version 1.1.0
- Bump addon-resizer version to 1.8.1
- Adjust `addon-resizer` scaling threshold
2017-12-14 03:25:41 -08: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 8f271027a9
Merge pull request #4065 from justinsb/gazelle
Automatic merge from submit-queue.

Update gazelle
2017-12-14 01:25:41 -08:00
Kubernetes Submit Queue 5e2251bb84
Merge pull request #4022 from KashifSaadat/keyfile-permissions
Automatic merge from submit-queue.

Remove world read permissions on sensitive key files.

The key files pulled from S3 had world read permissions by default (644). This PR sets the permissions to 600 on `.key` and `.pem` files.
2017-12-14 00:25:41 -08:00
Kubernetes Submit Queue 3fc8ddd471
Merge pull request #3952 from mikesplain/fix_flannel_nonMasqueradeCIDR
Automatic merge from submit-queue.

Fix Flannel nonMasqueradeCIDR

Fixes https://github.com/kubernetes/kops/issues/3950

~~And looks like we forgot to bump the version in `bootstrapchannelbuilder.go`~~(moved to https://github.com/kubernetes/kops/pull/3953) (thanks @jkemp101)
2017-12-13 23:25:41 -08:00
chrislovecnm c8c3926efa missing mockelb build file 2017-12-13 23:57:45 -07:00
chrislovecnm b29e1c5bd2 applying 4065 this should drop out 2017-12-13 23:56:27 -07:00
Justin Santa Barbara a8a83f3ce9 Update gazelle 2017-12-14 01:31:28 -05:00
Kubernetes Submit Queue 291edf329a
Merge pull request #3944 from bboreham/weave-212
Automatic merge from submit-queue.

Update Weave Net to version 2.1.3

This version supports 'v1' NetworkPolicy semantics.

Also includes a feature to clear down data for deleted nodes, which is probably the most-requested fix.
2017-12-13 22:25:41 -08:00
Kubernetes Submit Queue f97f5bdc40
Merge pull request #4017 from zengchen1024/security_group_rule_task
Automatic merge from submit-queue.

Implement security group rule task

fix: #4015
2017-12-13 21:25:41 -08:00
Kubernetes Submit Queue fded8486f6
Merge pull request #4016 from zengchen1024/security_group_task
Automatic merge from submit-queue.

implement security group task

fix: #4015
2017-12-13 20:25:41 -08:00
Kubernetes Submit Queue 0d837bcea8
Merge pull request #3947 from chrislovecnm/goimports
Automatic merge from submit-queue.

updating goimports
2017-12-13 19:25:43 -08:00
Justin Santa Barbara 3e236283f3 Tag 1.8.0 2017-12-13 22:13:27 -05:00
Justin Santa Barbara e65d1b0608 Bump flannel packaging version
For #3952
2017-12-13 21:55:48 -05:00
Justin Santa Barbara 6f5036f0cd Bump weave version in bootstrapchannelbuilder
2.1.3 upstream becomes 2.1.3-kops.1, so if we need to make our own
"packaging" changes, we can do 2.1.3-kops.2 etc.
2017-12-13 21:29:20 -05: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
Abdullah Almariah 4b0aa1d320 Add API docs 2017-12-14 03:11:44 +01:00
Abdullah Almariah 5b4c9e2a14 Add API docs 2017-12-14 03:09:08 +01:00
Kubernetes Submit Queue ac7ae3fd58
Merge pull request #3809 from rdrgmnzs/hostnameOverride_use_hostname
Automatic merge from submit-queue.

Let a user set a hostnameOverride when the cloud provider is aws.

Let a user use the hostname or set a hostnameOverride when the cloud provider is aws. This would allow for a more descriptive name to be used. The name of the hosts when using @hostname can be set by using a hook or some other method.
2017-12-13 17:46:21 -08:00
Rodrigo Menezes 04506582ad add a check in validation.go 2017-12-13 16:58:52 -08:00
Rodrigo Menezes be85dfc438 Fix typo 2017-12-13 15:48:14 -08:00
Robin Percy 6a2ded4681 Adding DescribeTags to masters 2017-12-13 11:48:24 -08:00
Kubernetes Submit Queue db09337e42
Merge pull request #4047 from KashifSaadat/canal-flannel-downgrade
Automatic merge from submit-queue.

Downgrade Flannel in Canal deployment to v0.9.0

Flannel v0.9.1 introduces a single change to add 2 iptables rules to the `FORWARD` chain, permitting traffic in/out of the pod network (introduced to improve compatibility with newer versions of Docker). This change is unnecessary for Canal deployments for the following reasons:
- Calico's `DefaultEndpointToHostAction` is set to `ACCEPT` in the manifest deployed by kops, allowing traffic by default once all other Calico rules are processed.
- If Calico's `ChainInsertMode` is set to `APPEND`, the flannel rules will be processed before the Calico rules, accepting traffic by default, and so Kubernetes network policies will not take effect

This change is temporary until a more permanent resolution is available with Flannel, such as providing a configurable option to disable the addition of these rules when deployed with Calico.

Related to #4037
2017-12-13 10:43:11 -08:00
Kubernetes Submit Queue cddba46a43
Merge pull request #4053 from gambol99/bastion_username
Automatic merge from submit-queue.

Bastion output line

- cleaning up the bastion username line, stop you from getting
```shell
* to ssh to the bastion, you probably want to configure a bastionPublicNameThe admin user is specific to Debian...
```
2017-12-13 10:07:36 -08:00
Rohith 6b2f4a4c74 Bastion Username
- cleaning up the bastion username line
2017-12-13 13:09:22 +00:00
Abdullah Almariah 2746b88808 Update cluster.spec docs 2017-12-13 02:05:42 +01:00
Abdullah Almariah 22194c982d Update kubernetes.tf for API loadbalancer 2017-12-13 01:29:16 +01:00
Abdullah Almariah 16ed8982e6 update_cluster complex integration test 2017-12-13 00:31:59 +01:00
Abdullah Almariah d181ecf885 awsValidateAdditionalSecurityGroups for API loadbalancer 2017-12-12 23:54:22 +01:00
Kubernetes Submit Queue dc3d3a2eac
Merge pull request #4048 from krogon-dp/fix/docs/externalDns/watchIngress
Automatic merge from submit-queue.

Documentation fix for watchIngress flag in externalDns ClusterSpec
2017-12-12 09:31:46 -08:00
Ian Hoegen 9ea5008da4 Make node counts and master counts autoscale friendly 2017-12-12 08:42:28 -08:00
krogon-dp f248a3b2fe Documentation fix for watchIngress flag in externalDns ClusterSpec 2017-12-12 15:52:50 +01:00