Commit Graph

822 Commits

Author SHA1 Message Date
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
zengchen1024 0949d597b7 build volume task 2017-11-20 11:52:19 +08:00
Kubernetes Submit Queue f14bd2c2c4
Merge pull request #3889 from ftoresan/autoscaling-policy-fix
Automatic merge from submit-queue.

Changing the prefix of the ResourceTag condition

The prefix was `ec2` and it was not working, changing it to `autoscaling` should do the trick. This should fix #3871
2017-11-19 14:06:05 -08:00
Justin Santa Barbara c7d3a53e48 upscale-delay flag in two more places
Same idea as in #3872
2017-11-18 17:03:59 -05:00
georgebuckerfield eab351c913 Add tests for ListRouteTables function 2017-11-18 12:34:39 +00:00
Fabricio Toresan d4eef657d6 Changing the prefix of the ResourceTag condition to match the one specified in the ASG documentation 2017-11-18 09:17:07 -02:00
georgebuckerfield df550ec2b5 Set the Shared field of RouteTable resources when listing 2017-11-17 17:27:16 +00:00
Kubernetes Submit Queue d8e2ce211a
Merge pull request #3709 from chrislovecnm/placehold-dns-ux-updates
Automatic merge from submit-queue.

Improving UX for placeholder IP Address

Before the `kops validate cluster` attempts to connect to the K8s API
endpoint, the code now checks to see if the API DNS Entry is the kops
placeholder IP Address 203.0.113.123.  It prints a message to the user
and err's.  There is a new init func in validate cluster that disables
CGO based DNS for Darwin OS.  Darwin does two things with kops
validates; it caches the IP address, and it does not return the
placeholder IP address.  We cannot use CGO base DNS with kops validate with OSX.
2017-11-17 02:24:23 -08:00
Caleb Gilmour 04ef7ee0a3 Version and validation updates for romana networking. 2017-11-16 23:37:04 +00:00
chrislovecnm c7ef856f92 Improving UX for kops validate cluster
Before the `kops validate cluster` attempts to connect to the K8s API
endpoint, the code now checks to see if the API DNS Entry is the kops
placeholder IP Address 203.0.113.123.  It prints a message to the user
and err's.  There is a new init func in validate cluster that disables
CGO based DNS for Darwin OS.  Darwin does two things with kops
validates; it caches the IP address, and it does not return the
placeholder IP address.  We cannot use CGO base DNS with kops validate.
2017-11-16 15:12:51 -07:00
Kubernetes Submit Queue e1ff22e125
Merge pull request #3874 from KashifSaadat/bootstrap-apiserver-encryption
Automatic merge from submit-queue.

Include encryptionConfig setting within userdata for masters.

When updating the kops `ClusterSpec.EncryptionConfig` setting, a `kops update cluster / kops rolling-update cluster` mentions no changes required, and so a forced rolling-update is required for the setting to be picked up.

Including this in bootstrapscript will add the setting to the user-data for the master nodes only (because it applies to the KubeAPIServer), marking them as requiring a rolling-update.
2017-11-16 09:04:17 -08:00
Kashif Saadat f0c3ed8965 Include encryptionConfig setting within userdata for masters. 2017-11-16 15:58:59 +00:00
David 38591d9659
Fix Autoscaling flag on Controller Manager Config
According to https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-cooldowndelay

The `HorizontalPodAutoscalerUpscaleDelay` flag value should be `horizontal-pod-autoscaler-upscale-delay` and not `horizontal-pod-autoscaler-downscale-delay`
2017-11-16 12:26:29 +00:00
chrislovecnm 6c2caedfc0 updating api docs 2017-11-14 16:07:50 -07: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
Kubernetes Submit Queue 83c54fb6dc
Merge pull request #3827 from chrislovecnm/openapi-updates
Automatic merge from submit-queue.

Updating API documentation

User data API values generatation
2017-11-13 21:12:47 -08:00
Kubernetes Submit Queue ef08265e56
Merge pull request #3847 from discordianfish/add-horizontal-pod-autoscaler-delay
Automatic merge from submit-queue.

Add HPA up/downscale delay

Still need to test these changes.
2017-11-13 17:55:05 -08:00
Johannes 'fish' Ziemke 917e9dec38 Add HPA up/downscale delay 2017-11-13 15:50:37 +01:00
zengchen1024 f9c98c3b4c add openstack cloud provider 2017-11-13 16:59:24 +08:00
Justin Santa Barbara 86d18808fe Update bazel build files 2017-11-12 22:37:47 -05:00
chrislovecnm cd37a85dcd Updating api documentation 2017-11-10 11:41:41 -07:00
Kubernetes Submit Queue d69e962fcd
Merge pull request #3805 from flugel-it/master
Automatic merge from submit-queue.

FeatureGates support in all the components

Adding --feature-gates for all the Kubernetes components.
2017-11-10 09:08:37 -08:00
Kubernetes Submit Queue f86367ac7d
Merge pull request #3815 from chrislovecnm/san-api-update
Automatic merge from submit-queue.

san api update

Missed api update.

/assign @geojaz @andrewsykim
2017-11-10 03:55:49 -08:00
Kubernetes Submit Queue e5ea6ba6a7
Merge pull request #3783 from georgebuckerfield/instancegroup-labels
Automatic merge from submit-queue.

Add a default NodeLabel with the InstanceGroup name

As requested in https://github.com/kubernetes/kops/issues/2999, this change just auto-populates new InstanceGroup specs with a default node label containing the name of the instance group. It would be really useful for those of us managing environments with multiple instance groups.

It allows an admin to easily view the instance groups using kubectl:
```
kubectl get nodes --label-columns kops.k8s.io/instancegroup
NAME                                           STATUS         AGE       VERSION   INSTANCEGROUP
ip-172-20-108-120.eu-west-1.compute.internal   Ready,node     3m        v1.7.4    xtra-large
ip-172-20-117-133.eu-west-1.compute.internal   Ready,master   14m       v1.7.4    master-eu-west-1c
ip-172-20-32-139.eu-west-1.compute.internal    Ready,master   14m       v1.7.4    master-eu-west-1a
ip-172-20-32-92.eu-west-1.compute.internal     Ready,node     12m       v1.7.4    nodes
ip-172-20-67-184.eu-west-1.compute.internal    Ready,master   13m       v1.7.4    master-eu-west-1b
```
2017-11-09 23:29:47 -08:00
Kubernetes Submit Queue ec5496520d
Merge pull request #3795 from KashifSaadat/iam-kube-router
Automatic merge from submit-queue.

Add Node IAM permissions to access kube-router key in S3.

Fixes #3792 

An additional S3 IAM permission is added to the nodes policy when `Networking.Kuberouter` is specified.
2017-11-09 22:41:59 -08:00
Rodrigo Menezes ef24cec62b Fixing naming convention and adding running API machinery. 2017-11-09 14:30:48 -08:00
chrislovecnm 6de1828e14 updating api reference docs 2017-11-09 14:32:57 -07:00
chrislovecnm 61cff4dfcf updating missed api machinery 2017-11-09 14:31:40 -07:00
Kashif Saadat 029d0c0393 Add Node IAM permissions to access kube-router key in S3. 2017-11-09 09:57:02 +00:00
Rodrigo Menezes 3cfa67c3e6 Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-11-08 22:20:54 -08:00
Kashif Saadat 43f193e6ea Bugfix for bootstrapscript repeatedly generating different content when HookSpecs have ExecContainerAction defined. 2017-11-07 18:17:26 +00:00
georgebuckerfield 8f60078d11 Move instance group node label functionality out of PopulateInstanceGroupSpec so that it's not mandatory 2017-11-07 11:25:37 +00:00
Rodrigo Menezes 1fe56a1603 Move user-data to IG spec 2017-11-06 23:25:37 -08: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
Justin Santa Barbara 9851b19aed Fix bad import 2017-11-06 17:22:15 -05:00
chrislovecnm d71f53d4b5 fixing panic with iam unit tests 2017-11-06 13:36:45 -07:00
Diego Woitasen eff369bb71 featureGates support in KubeAPIServerConfig, KubeControllerManagerConfig and KubeSchedulerConfig. 2017-11-06 16:16:24 -03:00
Justin Santa Barbara 132b428d64
Merge pull request #3776 from chrislovecnm/bazel-work
gazelle updates with new bazel version
2017-11-06 14:08:57 -05:00
Justin Santa Barbara 4aef832b82
Merge pull request #3778 from romana/additional-iam-perms
Add additional Describe permissions required for Romana CNI
2017-11-06 14:08:44 -05:00
Caleb Gilmour d2b8741455 Add additional Describe permissions required for Romana CNI 2017-11-06 09:31:09 +00:00
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
chrislovecnm 9e2f4080b3 updating api documentation 2017-11-05 17:13:47 -07:00
Kubernetes Submit Queue 9c30c30ec0
Merge pull request #3658 from justinsb/rationalize_rollingupdate_timeouts
Automatic merge from submit-queue.

Rationalize timeouts for rolling-update
2017-11-05 13:11:21 -08:00
Diego Woitasen 4c388eb186 Merge branch 'master' of github.com:flugel-it/kops 2017-11-05 13:04:11 -03:00
Diego Woitasen 5509247488 featureGates support in KubeAPIServerConfig, KubeControllerManagerConfig and KubeSchedulerConfig. 2017-11-05 13:03:43 -03:00
chrislovecnm 9647b1d349 deprecated API values that are no longer used with kube-dns 2017-11-04 22:15:48 -06:00
Rodrigo Menezes 565afae2c6 Merge remote-tracking branch 'upstream/master' into extra_user-data 2017-11-04 17:06:43 -07:00