Commit Graph

1409 Commits

Author SHA1 Message Date
Naresh Kumar Amrutham b9c09878cd include dep 2018-08-15 11:14:19 -07:00
Naresh Kumar Amrutham 4e9d6760b8 initialize elbv2 session 2018-08-15 10:51:55 -07:00
Naresh Kumar Amrutham 76a0018d53 add delete support for NLBs, ALBs and Target groups 2018-08-14 16:15:22 -07:00
k8s-ci-robot fdc02d00aa
Merge pull request #5601 from justinsb/fix_5587
Don't assume that we only have one subnet per AZ
2018-08-14 09:35:46 -07:00
k8s-ci-robot 8905f5d4c1
Merge pull request #5596 from robermorales/node-cidr-mask-size
Ability to configure `--node-cidr-mask-size` into `kube-controller-manager`
2018-08-13 13:32:01 -07:00
Justin Santa Barbara 1c3949bdfe Don't assume that we only have one subnet per AZ
I made a mistaken assumption in
dde2100a19 that we only had one subnet
per AZ, but as demonstrated in #5587 this was not the case.

What I was trying to achieve was not to include the cluster name, so
for the case of subnets this commit just uses the subnet name from the
cluster spec, which should be unique and stable.  That is hopefully at
least as meaningful.

Thankfully we hadn't released a version with the erroneous naming.

Fix #5587
2018-08-13 13:15:03 -04:00
k8s-ci-robot 6e12ed7293
Merge pull request #5597 from appvia/aws-iam-check-volume-resize
Add AWS IAM permission to check for volume resize
2018-08-13 08:57:44 -07:00
k8s-ci-robot 5d421b3cd3
Merge pull request #5590 from lblackstone/const-block
Move CloudProviderID consts into a block
2018-08-13 06:31:25 -07:00
Kashif Saadat 03e18d37af Add AWS IAM permission to check for volume resize 2018-08-10 16:47:20 +01:00
Rober Morales-Chaparro 2a52afcb3d Ability to configure `--node-cidr-mask-size` into `kube-controller-manager` 2018-08-10 12:20:16 +02:00
Levi Blackstone 736516e8de
Move CloudProviderID consts into a block
Alphabetize and create a const block for better readability
2018-08-09 15:28:02 -06:00
Spike Curtis 1540f906d2 Don't set kube-proxy cluster-cidr with aws-vpc-cni
Signed-off-by: Spike Curtis <spike@tigera.io>
2018-08-03 15:48:14 -07:00
Justin Santa Barbara a7b22b4876 Remove GetAsgForInstance IAM permission
It isn't a valid IAM permission - it was introduced in error, but IAM
is kind enough to ignore it.

Fixes #5549
2018-08-02 11:27:29 -04:00
k8s-ci-robot ed7408540b
Merge pull request #5507 from mikesplain/fix_gendocs
Fix api-gen-docs dependencies
2018-07-28 22:46:56 -07:00
Justin Santa Barbara 288c5aaf01 Add error handling (logging) when we fail to close a file
More missing error handling

Follows on from #5543
2018-07-28 16:50:13 -04:00
k8s-ci-robot 67df8e80d0
Merge pull request #5541 from justinsb/validate_additional_policies
Validate IAM additionalPolicies
2018-07-27 22:38:57 -07:00
k8s-ci-robot 4db4af6117
Merge pull request #5543 from justinsb/error_handling_2
Add error handling for failed deletion of tempfiles
2018-07-27 22:00:06 -07:00
k8s-ci-robot c79d60182f
Merge pull request #5540 from mikesplain/fix_aws_cluster_validation
amazon-vpc-routed-eni cloudprovider check
2018-07-27 21:59:56 -07:00
Justin Santa Barbara 8f15a58e8c Validate IAM additionalPolicies
We now validate them with the cluster, so we should give early and
clear feedback if the IAM policy is not valid.
2018-07-27 15:22:24 -04:00
k8s-ci-robot d7486e490f
Merge pull request #5533 from justinsb/hotfix_5522
Check errors when parsing JSON on IAM policies
2018-07-27 12:20:56 -07:00
Justin Santa Barbara 6505dc08f6 Add error handling for failed deletion of tempfiles
We create a helper package `try`
2018-07-27 15:14:08 -04:00
Mike Splain abb88b43fe CloudProvider is defined in the Cluster Spec.
CloudProvider can be set at the kubelet level, however
if the user overrides kubelet values, CloudProvider isn't always
set at this point, leading to an error.
2018-07-27 10:16:06 -04:00
k8s-ci-robot 31f961f212
Merge pull request #5534 from justinsb/fix_typo_in_comment
Fix typo in comment
2018-07-27 00:50:56 -07:00
Justin Santa Barbara f3fb513852 Remove unnecessary reflect.ValueOf
We can replace with a simpler string cast
2018-07-27 00:58:14 -04:00
Justin Santa Barbara bd8514bfb1 Fix typo in comment 2018-07-27 00:56:20 -04:00
Justin Santa Barbara 3ddf598448 Check errors when parsing JSON on IAM policies
We weren't checking the error code, and this led to #5522
2018-07-27 00:54:57 -04:00
Justin Santa Barbara 5933aed899 Add ssh user to kops toolbox dump
Where we can identify the SSH user to use, we can include it in kops
toolbox dump.  This is a precursor to trying to better understand
what's in an image (warnings about NVME or network drivers, or showing
the correct SSH username)
2018-07-24 17:18:40 -04:00
Ian Hoegen 0fbba7fa6e Move AuthenticationTokenWebhook flag from api to kubelet, add authentication-token-webhook-cache-ttl to kubelet as well 2018-07-24 11:05:50 -07:00
Mike Splain a291b6161e Fix api-gen-docs 2018-07-24 10:00:43 -04:00
Rob Graham 4b07a07ad5 Merge branch 'master' into issue-4252-dns 2018-07-23 14:00:09 +01:00
Rob Graham 8ccf42f4a2 GH-4252 Better name for the config value and also add to v1alpha1 API 2018-07-23 13:48:35 +01:00
Justin Santa Barbara 3a1ce236d1 Simplify logic around master rolling-update
We were using a waitgroup, but we weren't actually running in parallel.
2018-07-21 23:04:22 -04:00
k8s-ci-robot c680e051cf
Merge pull request #5479 from kampka/fix-5061
ContainerRegistry remapping should be atomic
2018-07-20 16:14:20 -07:00
Rodrigo Menezes 74e8973c6c Fix based on Justins suggestion 2018-07-20 12:25:23 -07:00
Rodrigo Menezes 218d90632c api machinery 2018-07-20 12:17:30 -07:00
Rodrigo Menezes e8476499b0 Allow other CNI drivers to bind a hosts Primary IP 2018-07-20 12:16:38 -07:00
Christian Kampka 05af75fac3 ContainerRegistry remapping should be atomic
Fixes #5061
2018-07-20 20:56:52 +02:00
k8s-ci-robot 61fe8626c9
Merge pull request #5477 from chrisz100/fix/travis-apimachinery
have travis fail when verify-apimachinery.sh fails and fix incompatible apimachinery
2018-07-20 10:52:59 -07:00
k8s-ci-robot bdd6fecb6e
Merge pull request #5464 from justinsb/global_backoff_on_protokube_downloads
Introduce a global backoff to rate limit failed image downloads
2018-07-20 06:59:52 -07:00
Christian Jantz 2c34342851 regenerated apimachinery to have tests work again 2018-07-20 13:12:56 +02:00
k8s-ci-robot 2dbb6e84f6
Merge pull request #5077 from yancl/master
change gossip dns conn limit by ENV
2018-07-19 21:40:52 -07:00
Justin Santa Barbara 630ea429ae
Merge pull request #4677 from usabilla/external-load-balancers
Add the ability to specify external loadbalancers for instancegroups
2018-07-19 21:54:00 -04:00
k8s-ci-robot a92ee38741
Merge pull request #5467 from rdrgmnzs/kubelet_root-dir
Allow users to set the kubelets root dir.
2018-07-19 13:49:37 -07:00
k8s-ci-robot a9de76ad6e
Merge pull request #5462 from justinsb/dont_repeatedly_download_nodeup
Don't repeatedly download nodeup
2018-07-19 11:55:25 -07:00
k8s-ci-robot c342df1392
Merge pull request #5390 from kampka/add-container-proxy
Add pull-through proxy cache for asset docker images
2018-07-19 11:55:16 -07:00
k8s-ci-robot 0e64d32b5b
Merge pull request #5456 from mikesplain/configurable_conntrack
Add configurable conntrack settings
2018-07-19 11:11:17 -07:00
Rodrigo Menezes 0cc45db5b1 Allow users to set the kubelets root dir. 2018-07-19 10:59:06 -07:00
k8s-ci-robot 266b764d7b
Merge pull request #5466 from justinsb/more_test_autofix
More autofix of expected test output
2018-07-19 10:00:54 -07:00
Justin Santa Barbara 128417c6d4 Introduce a global backoff to rate limit failed image downloads
This should help with runaway downloads of protokube.tar.gz
2018-07-19 12:13:17 -04:00
Justin Santa Barbara af867403f9 More autofix of expected test output
Rename to HACK_UPDATE_EXPECTED_IN_PLACE as it isn't just terraform any more.
2018-07-19 12:11:38 -04:00