Commit Graph

1540 Commits

Author SHA1 Message Date
Justin Santa Barbara b05faa0068 Set SleepDelay function in AWS
Works around nil SleepDelay problem: latest aws-sdk-go (in k8s 1.9 and
kops 1.8) has updated SleepDelay logic; fix is in
https://github.com/kubernetes/kubernetes/pull/55307 but that is only in
1.9.

Set the SleepDelay to work around the problem.
2017-11-22 16:50:19 -05:00
Kubernetes Submit Queue 8eac358795
Merge pull request #3869 from chrislovecnm/calico-2.6-update
Automatic merge from submit-queue.

Updating Calico manifests to Calico release 2.6.2

Renamed the k8s-1.8 manifest to a k8s-1.7. This is required because of config
change that occurs between k8s 1.6 and k8s 1.7. This refactor will also
be re-used when Calico Kubernetes data source support is added to kops.
Updated bootstrapchannelbuilder with the new Calico version numbers.

The diffs for the k8s-1.6 version is pretty rough, tried to make it cleaner, but nada.

FIXES: https://github.com/kubernetes/kops/issues/3866
FIXES: https://github.com/kubernetes/kops/issues/3867

Line: https://github.com/kubernetes/kops/compare/master...chrislovecnm:calico-2.6-update?expand=1#diff-891cbc61587adb202b66b7c9bc6896daR209  is why Calico would not start on k8s 1.6 - thanks @caseydavenport 

 **TODO**
Testing K8s versions

- [x] test 1.5
- [x] test 1.6
- [x] test 1.7
- [x] test 1.8

/cc @blakebarnett @itajaja
2017-11-22 10:20:04 -08:00
chrislovecnm 3067a21341 Updating Calico manifests to Calico release 2.6.2.
Renamed the k8s-1.8 manifest to a k8s-1.7. This is required because of config
change that occurs between k8s 1.6 and k8s 1.7. This refactor will also
be re-used when Calico Kubernetes data source support is added to kops.
Updated bootstrapchannelbuilder with the new Calico version numbers.
2017-11-22 09:45:21 -07:00
Justin Santa Barbara 1b58585c8c
Merge pull request #3892 from romana/romana-networking-update
Version and validation updates for romana networking.
2017-11-22 11:25:35 -05:00
Kubernetes Submit Queue e5194cf08b
Merge pull request #3904 from zengchen1024/generate_codes_for_cinder_volume_tasks
Automatic merge from submit-queue.

generate gazelle for cinder volume tasks

for issue #3886
2017-11-22 00:25:29 -08:00
zengchen1024 769a9e9dbb update gazelle 2017-11-22 14:29:14 +08:00
Kubernetes Submit Queue cabe97230f
Merge pull request #3887 from georgebuckerfield/fix-routetable-deletion
Automatic merge from submit-queue.

Respect the shared tag when deleting route tables

Fixes #3828.

Modifies the `buildTrackerForRouteTable` function (used by `ListRouteTables`) to set the `Shared` field of each returned route table resource, based on the presence of the `kubernetes.io/cluster/<clustername>: shared` tag. This prevents route tables with this tag from being deleted.

WIP while I add some more tests.
2017-11-21 21:05:31 -08:00
Kubernetes Submit Queue ae94d14e54
Merge pull request #3893 from zengchen1024/cinder_volume_task
Automatic merge from submit-queue.

Implement volume task for Openstack platform

Implement volume task to create volume for ETCD cluster.
Which issue this PR fixes: #3886
2017-11-21 15:00:13 -08:00
Kashif Saadat 79eef3cc6c Support replacing kops secrets via force flag 2017-11-21 11:47:03 +00:00
zengchen1024 0949d597b7 build volume task 2017-11-20 11:52:19 +08:00
zengchen1024 f1d673f77e implement volume task 2017-11-20 09:42:55 +08:00
georgebuckerfield eab351c913 Add tests for ListRouteTables function 2017-11-18 12:34:39 +00:00
Caleb Gilmour 04ef7ee0a3 Version and validation updates for romana networking. 2017-11-16 23:37:04 +00:00
Tom Denham 9dfe9443c0
Bump all flannel versions to latest release - v0.9.1 2017-11-16 12:29:59 -07:00
Kubernetes Submit Queue a84f086544
Merge pull request #3851 from justinsb/calico_on_other_versions_also
Automatic merge from submit-queue.

Apply gossip dns changes to 1.8 calico version also
2017-11-14 02:06:45 -08:00
Justin Santa Barbara dedf88c52b Apply gossip dns changes to 1.8 calico version also 2017-11-14 03:14:15 -05:00
marshallbrekka 5aea1d2484 Mount /etc/hosts in calico containers for gossip based DNS. 2017-11-14 02:23:59 -05:00
Justin Santa Barbara 0ce39f26b4 Regenerate gazelle 2017-11-14 02:02:40 -05:00
Kubernetes Submit Queue 17487a4853
Merge pull request #3820 from zengchen1024/add_openstack_cloud
Automatic merge from submit-queue.

add openstack cloud provider

Add an Openstack cloud provider. It does not implement all the interfaces of fi.Cloud, hence, can not create a cluster, but it can pass the work flow of creating cluster for the command like "kops create cluster --cloud openstack --zones nova -v 15 --target direct --yes myoscluster4.k8s.local"
Which issue this PR fixes: #3819
2017-11-13 22:19:23 -08:00
Giacomo Tagliabue b7a16a28cc add version map 2017-11-13 17:52:35 -05:00
Giacomo Tagliabue 3719d15c6b update templates and bootstrapper 2017-11-13 17:11:10 -05:00
Giacomo Tagliabue af64c2894c update calico template 2017-11-13 17:11:10 -05:00
zengchen1024 76b9aebafb update hack/.package 2017-11-13 17:03:30 +08:00
zengchen1024 f9c98c3b4c add openstack cloud provider 2017-11-13 16:59:24 +08:00
Justin Santa Barbara 148a65e1ad Fix CNI CPU allocations
* Limit each CNI provider to 100m

* Remove CPU limits - they cause serious problems
(https://github.com/kubernetes/kubernetes/issues/51135), but this also
makes the CPU allocation less problematic.

* Bump versions and start introducing the `-kops.1` suffix preemptively.

* Upgrade flannel to 0.9.0 as it fixes a lot.
2017-11-13 01:28:40 -05:00
Kubernetes Submit Queue f1fddb5512
Merge pull request #3620 from murali-reddy/remove-beta-init-container
Automatic merge from submit-queue.

kube-router: remove beta annotation versions (deprectated in 1.8) of init container

kube-router: remove beta annotation versions (deprectated in 1.8) of init container and move init container to spec section
2017-11-10 10:08:38 -08:00
Kubernetes Submit Queue aab07e365b
Merge pull request #3794 from shamil/patch-2
Automatic merge from submit-queue.

Add support for C5 instance family

AWS [released](https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2) 5th generation of Compute oriented EC2 series. This PR adds support for them.
2017-11-10 01:14:33 -08:00
Kubernetes Submit Queue 531d21018b
Merge pull request #3802 from KashifSaadat/canal-1.8-tolerations
Automatic merge from submit-queue.

Update tolerations in Canal spec so the pods can run on all nodes.
2017-11-08 12:06:56 -08:00
Kashif Saadat f7dbcf0978 Update tolerations so the pods can run on all nodes. 2017-11-08 17:06:49 +00:00
Rohith 260124d1d9 DNS Controller Watch Command line
- adding a fix to the building of the argument, as the double quote cause an yaml parsing error
  error building tasks: error remapping manifest addons/dns-controller.addons.k8s.io/pre-k8s-1.6.yaml: error parsing yaml: error converting YAML to JSON: yaml: line 37: did not find expected key
2017-11-08 15:00:39 +00:00
Alex Simenduev a99844ffb9 machine_types: go formatting 2017-11-08 12:20:53 +02:00
Alex Simenduev 304d7229d5
Add support for C5 instance family 2017-11-08 10:50:38 +02:00
Kashif Saadat 657a91729e Update Canal to use Calico v2.6.2. 2017-11-07 09:26:18 +00:00
Justin Santa Barbara 9b71713d68 Tag 1.8.0-beta.1 2017-11-06 23:24:51 -05:00
Justin Santa Barbara 7066368f5c
Merge pull request #2063 from pdh/additional-sans
Allows additional Subject Alternate Names
2017-11-06 22:51:52 -05:00
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
chrislovecnm 5c300e6cb9 bazel updates 2017-11-04 20:55:38 -06:00
chrislovecnm 74b33ea6ff moving code that is not supported by windows 2017-11-04 20:50:19 -06:00
chrislovecnm 1e418c3e13 more goimport updates 2017-11-04 10:03:02 -06:00
pdh fc6f33db24 Allows additional Subject Alternate Names 2017-11-02 10:26:03 -07:00
chrislovecnm 4fd4bb8d0e subnet test not correct, not sure now 2017-11-01 13:48:12 -06:00
chrislovecnm 8d1ee1fa16 updating files for goimports 2017-11-01 12:51:43 -06:00
Kubernetes Submit Queue ed2f269b5b
Merge pull request #3748 from justinsb/log_google_application_credentials_path
Automatic merge from submit-queue.

GCE: log when loading from GOOGLE_APPLICATION_CREDENTIALS
2017-11-01 08:55:26 -07:00
Kubernetes Submit Queue 08c34b6eb4
Merge pull request #3184 from justinsb/test_does_not_change_tags
Automatic merge from submit-queue.

Fix shared subnet/vpc tags
2017-11-01 08:23:29 -07:00
Justin Santa Barbara ba9ec6aebc GCE: log when loading from GOOGLE_APPLICATION_CREDENTIALS 2017-10-31 20:31:21 -04:00
Justin Santa Barbara 9c005d785b GCE: Use CloudPlatformScope when requesting a token 2017-10-31 17:26:56 -04:00
Kubernetes Submit Queue 101e6e03f3
Merge pull request #3737 from justinsb/storageacl_comments
Automatic merge from submit-queue.

Fix log messages from storage acl tasks
2017-10-31 13:20:30 -07:00
Justin Santa Barbara 95fa47b9a9 Fix log messages from storage acl tasks
The messages were ambiguous at best, wrong at worst.
2017-10-30 23:46:06 -04:00
Justin Santa Barbara bfe3766de3 GCE: log the service account & scopes in use
Once we figure out why e2e is failing we can likely make this optional
(e.g. only with v=2 or above)
2017-10-30 23:45:23 -04:00
Justin Santa Barbara 2eb47b82ce Tolerate errors from Find for tasks with WarnIfInsufficientAccess
We glog.Warning a message, and we record a structured warning for future
use, but we allow operation to continue.
2017-10-30 01:56:41 -04:00