Justin Santa Barbara
bde69b5b3e
Rename RoleType to ExportWithID in IAMRole
...
Tweaks for #2508
2017-05-16 10:21:11 -04:00
Justin Santa Barbara
dbe83193cf
Merge pull request #2477 from caarlos0/inneff
...
fixed ineff assign
2017-05-16 00:51:25 -04:00
Justin Santa Barbara
5e764fbe80
Merge pull request #2424 from while1eq1/fix-iam-terraform
...
Update the terraform generator to use the value "role" instead of "roles" for the aws_iam_instance_profile resource
2017-05-16 00:41:28 -04:00
Carlos Alexandro Becker
d4caf3bb38
removed inneff assign from vsphere_cloud.go
2017-05-15 14:17:54 -03:00
Carlos Alexandro Becker
f595c17394
fixed ineff assign on natgateway.go
2017-05-15 14:15:26 -03:00
Justin Santa Barbara
eabbd1402b
Add required terraform version declaration
...
Terraform is changing its schema, and we probably want to encourage
users to use the newer terraform versions anyway.
See #2424
2017-05-15 11:20:32 -04:00
Justin Santa Barbara
f9a0ae778b
Merge pull request #2508 from pastjean/add-roles-as-outputs
...
Added instance role as terraform output
2017-05-15 09:13:39 -04:00
Justin Santa Barbara
e8ac74593b
Revert "Deploys dns-controller with default ingress setting (--watch-ingress=true)"
...
This reverts commit 8c13903ab7
.
2017-05-13 00:27:26 -04:00
Chris Love
c6e334f1e5
Merge pull request #2544 from justinsb/add_critical_pod_annotations_kopeio
...
Add critical pod annotations to kopeio networking
2017-05-10 11:48:11 -06:00
Justin Santa Barbara
043f0aaa25
Add critical pod annotations to kopeio
...
Should prevent eviction, which would (best case) stop us discovering new
nodes.
2017-05-10 11:53:45 -04:00
Blake
056c76beda
Also update pre-k8s-1.6
2017-05-09 12:00:56 -07:00
Blake
158253068b
Update calico to 2.1.5 for k8s 1.6+ bugfixes
2017-05-09 11:48:50 -07:00
Pierre-Alexandre St-Jean
347dccfa25
Added instance role as terraform output
...
Added:
- Instance role name
- Instance role arn
as terraform outputs, this can then be references later on to
use as sts:assume role, create after this one
2017-05-05 16:21:43 -04:00
Justin Santa Barbara
fbb984e641
Update tests for version bump
2017-05-02 10:50:15 -04:00
Justin Santa Barbara
81e8a90478
Tag 1.6.0-beta.1
...
Bumping dns-controller also to 1.6.1, for the gossip DNS support.
2017-05-02 10:25:33 -04:00
Justin Santa Barbara
b351696476
Merge pull request #2474 from justinsb/subnet_tagging
...
Use explicit tag management in network tasks
2017-05-02 10:17:48 -04:00
Justin Santa Barbara
383c2bf5ed
Use explicit tag management in network tasks
...
This lets us use the new shared cluster tags, for shared networking
objects - in particular subnets.
We continue to add the existing tags also, for compatability. When we
add direct management of shared networks, we will likely address that.
2017-05-01 22:55:27 -04:00
Carlos Alexandro Becker
dba9c4b286
fixed trying to match NatGateway via RouteTable log
2017-05-01 20:45:45 -03:00
Chris Love
ac5a488117
Merge pull request #2468 from reactiveops/dns-controller-enable-watch-ingress
...
Deploys dns-controller with --watch-ingress=true
2017-04-30 22:58:52 -06:00
Chris Love
dd824cb679
Merge pull request #2449 from justinsb/fix_automatic_hosted_zone_creation
...
Fix automatic private DNS zone creation
2017-04-30 22:57:28 -06:00
Eric Hole
8c13903ab7
Deploys dns-controller with default ingress setting (--watch-ingress=true)
2017-04-30 23:51:02 -04:00
Eric Hole
f1bc99ff3b
Merge pull request #2467 from justinsb/vsphere_feature_gate
...
Feature-gate vsphere
2017-04-30 14:02:27 -04:00
Justin Santa Barbara
f3f7809d54
Feature-gate vsphere
2017-04-30 11:24:17 -04:00
Chris Love
b16b1c8b3e
Merge pull request #2465 from justinsb/bump_canal_flannel_version
...
Bump version of flannel embedded in canal to 0.7.1
2017-04-29 21:18:42 -06:00
Justin Santa Barbara
a950e0970f
Bump version of flannel embedded in canal
2017-04-29 17:46:15 -04:00
Justin Santa Barbara
864a999602
Fix automatic private DNS zone creation
...
We have to defer creation of the IAM policy until we have created the
hosted zone.
Fix #2444
2017-04-29 17:01:18 -04:00
Justin Santa Barbara
ccee94ef72
Update flannel to 0.7.1
...
Includes some important fixes for taints in 1.6
2017-04-29 12:26:43 -04:00
Justin Santa Barbara
eddd73549c
Use LB IP address for private dns
2017-04-25 01:32:27 -04:00
Justin Santa Barbara
c8b18be9dd
Gossip backed DNS
2017-04-25 01:32:21 -04:00
Justin Santa Barbara
77fbf9cbf9
Merge pull request #2401 from vmware/vsphere-upstream
...
Add vSphere provider support
2017-04-25 00:09:37 -04:00
Bill Broach
a9260a39ea
ran go fmt
2017-04-24 18:33:02 -04:00
Bill Broach
46a1bec14d
aws_iam_instance_profile will only ever take 1 role
2017-04-24 18:09:25 -04:00
chrislovecnm
75f5b1ed34
Updating CNI version for k8s 1.6
2017-04-22 14:47:42 -06:00
Miao Luo
aed9f154ad
Fix minor errors due to rebase.
2017-04-21 11:03:13 -07:00
Miao Luo
de72c50a0d
Change the default image name for vsphere provider and other minor fix.
2017-04-20 23:38:33 -07:00
Abrar Shivani
3707436f2f
Change vm_uuid location
2017-04-20 23:38:32 -07:00
Abrar Shivani
58cb80e7b0
Implements delete cluster and toolbox dumper command
2017-04-20 23:38:32 -07:00
Miao Luo
58197e6dab
Support user-defined s3 endpoint.
...
When Environment variable S3_ENDPOINT is not empty, kops will use
the bucket on this specific s3 endpoint, instead of using AWS S3
by default.
2017-04-20 23:38:32 -07:00
prashima
3bfe3b6e18
Added comments for files and functions. Fixes #52 . ( #55 )
2017-04-20 23:37:41 -07:00
Miao Luo
b15014f9a3
Address review comments and add installing instructions.
2017-04-20 23:37:41 -07:00
prashima
074791b446
Removed hardcode from protokube logic. Fixes #15 . ( #46 )
2017-04-20 23:37:40 -07:00
Abrar Shivani
e191f7dd96
Add vm-uuid in cloud-config file required by Kubernetes vSphere CloudProvider
2017-04-20 23:37:40 -07:00
Abrar Shivani
b9a4556324
Add enablediskuuid extraconfig in VM spec
2017-04-20 23:37:40 -07:00
Miao Luo
e648669852
Minor fix due to rebasing with upstream.
2017-04-20 23:37:38 -07:00
prashima
bc3e8c3734
Added code to enable nodeup and protokube building and execution for vSphere VM ( #11 )
...
* Added code to enable nodeup and protokube building and execution for vSphere VM.
* Fixed nodeup template for vSphere.
2017-04-20 23:37:19 -07:00
Miao Luo
3075258ca3
Add DNS server into /etc/resolv.conf by cloud-init.
2017-04-20 23:33:21 -07:00
Miao Luo
c5519c0009
Add CoreDNS support into DNS controller addon image.
2017-04-20 23:33:21 -07:00
SandeepPissay
4ace0f9ca5
Fixed cdrom to be connected during startup ( #8 )
2017-04-20 23:33:21 -07:00
Abrar Shivani
5889814c90
Support for vSphere Cloud Provider
2017-04-20 23:33:21 -07:00
Miao Luo
6b010c4c5e
Enable CoreDNS in nodeup/protokube ( #6 )
...
* Enable CoreDNS in nodeup/protokube.
* Address comments.
2017-04-20 23:33:21 -07:00
SandeepPissay
22e0ce3775
Implemented AttachISO task ( #4 )
...
AttachISO task creates the user-data/meta-data cloud init files and creates cloud-init.iso file using "genisoimage" tool. It then uploads it to the datastore where the master/worker VM resides and inserts it into the cd-rom device of the master/worker VM. When the master/worker VM powers on, the cloud-init package in it runs the bootstrap script that downloads nodeup and runs it.
Also removed redundant VirtualMachineModelBuilder that does nothing.
Testing done:
1. Tested end to end that the master and worker VMs executes the cloud-init script successfully.
2, "make ci" is successful.
2017-04-20 23:33:21 -07:00
Miao Luo
4f98f5b47e
Use CoreDNS for vSphere provider ( #2 )
...
* Add support of CoreDNS for vSphere provider.
* Add instructions about how to setup CoreDNS for vSphere provider.
* Address comments for CoreDNS support code.
2017-04-20 23:33:20 -07:00
SandeepPissay
117f4747b8
Implemented VM power on ( #7 )
2017-04-20 23:33:19 -07:00
SandeepPissay
17baf04218
Implemented creating a link cloned VM from a template VM ( #5 )
...
Implemented CreateLinkClonedVM cloud interface to create a link cloned VM from a template VM. The code checks if the template VM has a snapshot, if no it creates it before creating a link cloned VM. If snapshot already exists, it uses it to create the link cloned VM.
Testing done:
1. kops cluster create goes through fine and creates the link cloned VM for the master and worker. Verified that it creates the snapshot on the template VM if it does not exists before creating a link cloned VM. In case the snapshot exists, it uses it to create the link cloned VM.
2. "make ci" is successful.
2017-04-20 23:33:19 -07:00
Miao Luo
716349bf22
Fix the type of vSphere fields in CloudConfig and update auto-generated conversion files.
...
To make sure the vSphere fields in CloudConfiguration can be successfully serialized
and output into config file.
2017-04-20 23:33:18 -07:00
Miao Luo
efdffd1c41
Address comments.
...
1. Check the emptiness of VSPHERE_USERNAME and VSPHERE_PASSWORD
2. Move vSphere specific fields from clusterSpec to clusterSpec.CloudConfig
2017-04-20 23:33:17 -07:00
Miao Luo
30573e9aaf
Add more supports for vsphere.
...
Accept vSphere's server, datacenter, cluster setting by flags
"vsphere-server", "vsphere-datacenter", and "vsphere-resource-pool".
Username and password can be set by environment variables:
"VSPHERE_USERNAME" and "VSPHERE_PASSWORD".
2017-04-20 23:32:59 -07:00
SandeepPissay
3ed60bd708
Fixed the formatting and added copyright headers to new files
2017-04-20 23:31:49 -07:00
SandeepPissay
333e1aee40
Sample vsphere tasks added
2017-04-20 23:31:21 -07:00
SandeepPissay
82f9f0668d
vsphere initial support.
2017-04-20 23:31:21 -07:00
Chris Love
d3cbd98e5c
Merge pull request #2359 from ryanlitalien/patch-1
...
Add "m4.16xlarge" type
2017-04-20 22:26:36 -06:00
Chris Love
17d0889286
Merge pull request #2387 from justinsb/fix_1067
...
Provide richer error messages for subnet CIDR validation
2017-04-20 22:24:24 -06:00
Ryan L'Italien
a16c4ec5fe
Add m4.16xlarge type - remove extra whitespace
2017-04-20 17:42:40 -04:00
Justin Santa Barbara
4abb58b0a6
Provide richer error messages for subnet CIDR validation
...
We just hit this in the real-world again, where a richer error message
would have been helpful.
Fix #1067
2017-04-19 23:27:38 -04:00
Justin Santa Barbara
30361eef68
Merge pull request #2328 from andrewsykim/2310
...
Move cluster delete files to pkg/resources
2017-04-19 21:31:38 -04:00
Chris Love
6e81a8c1b5
Merge pull request #2260 from justinsb/hooks_poc
...
PoC of hooks
2017-04-19 16:00:24 -06:00
Justin Santa Barbara
37e50a10cc
Merge pull request #2349 from buo/fix-ap-northeast-2-master-type
...
Set default master size for ap-northeast-2
2017-04-18 09:27:17 -05:00
Ryan L'Italien
2c9e16b059
Add "m4.16xlarge" type
2017-04-16 16:13:26 -04:00
Chris Love
8206b2da70
Merge pull request #2324 from justinsb/missed_errhandling_2
...
Add missed error handling from Autoscaling list
2017-04-15 21:04:16 -06:00
Justin Santa Barbara
cf51bd943b
Fix weave daemonset labels to be backwards compatible
...
Otherwise the kops 1.5 -> kops 1.6 upgrade was failing with:
The DaemonSet "weave-net" is invalid: spec.template.metadata.labels:
Invalid value: {"name":"weave-net"}: `selector` does not match template
`labels`
Fix #2345
2017-04-13 03:27:42 -04:00
Geosung Lee
dac172c1cb
Set default master size for ap-northeast-2
...
The ap-northeast-2 region doesn't support the m3 family; a c4.large is
the cheapest non-burstable instance.
Please refer to the issue #1455 .
2017-04-12 21:17:42 +09:00
Justin Santa Barbara
f7edd0b3f9
Merge pull request #2335 from justinsb/kopeionetworking_16_manifest
...
Update kopeio-networking
2017-04-11 00:52:34 -04:00
Justin Santa Barbara
e36c055cd8
Merge pull request #2337 from justinsb/calico_16_configuration
...
Split calico configuration into 1.5 and 1.6
2017-04-11 00:52:26 -04:00
Justin Santa Barbara
67eb0ab597
Merge pull request #2339 from justinsb/split_canal_manifests
...
Split canal manifests to 1.5 & 1.6
2017-04-11 00:52:05 -04:00
Justin Santa Barbara
ae03e0252c
Split canal manifests to 1.5 & 1.6
2017-04-11 00:02:40 -04:00
Justin Santa Barbara
0fcfd9e486
Update kopeio-networking
2017-04-10 23:49:53 -04:00
Justin Santa Barbara
3c9c082e6e
Add RBAC roles for calico
2017-04-10 16:30:54 -04:00
Felipe Cavalcanti
314756460a
fix flannel setup on 1.6 cluster
2017-04-10 15:38:41 -03:00
Justin Santa Barbara
2f5d3eb811
Add toleration to calico DS
2017-04-10 12:24:26 -04:00
Justin Santa Barbara
2e4830423e
Split calico configuration into 1.5 and 1.6
2017-04-10 12:24:10 -04:00
Justin Santa Barbara
460c0be944
Merge pull request #2286 from ottoyiu/calico-2.1.1
...
Update Project Calico from 2.0.2 to 2.1.1
2017-04-10 11:23:11 -04:00
Justin Santa Barbara
a34cd51bb6
Merge pull request #2317 from justinsb/weave_manifests_version_selection
...
Use version-selection for weave
2017-04-10 10:45:57 -04:00
Eric Hole
76e98087ac
Merge pull request #2330 from justinsb/remove_cni_tag
...
Replaces UsesCNI with logic
2017-04-10 08:34:09 -04:00
Justin Santa Barbara
391a9b1897
Replaces UsesCNI with logic
2017-04-10 00:07:40 -04:00
Justin Santa Barbara
5368737c2a
Use version-selection for weave
2017-04-09 23:41:58 -04:00
Eric Hole
c3b794edcd
Merge pull request #2166 from justinsb/touch_kubeapiserver_log_to_code
...
Move touching kubeapiserver log file to code
2017-04-09 09:51:29 -04:00
Eric Hole
650b5d2131
Merge pull request #2244 from justinsb/dns_controller_permissions
...
Add the ingress permission to the dns-controller
2017-04-09 09:50:36 -04:00
Justin Santa Barbara
080f061b1e
Use our new version selection capabilities for kube-dns & dns-controller
2017-04-08 21:36:51 -04:00
andrewsykim
440976074d
Move cluster delete files to pkg/resources
2017-04-08 10:14:15 -04:00
Justin Santa Barbara
725266f834
Add missed error handling from Autoscaling list
...
Issue #2304
2017-04-07 23:48:05 -04:00
Adam H. Leventhal
e8d8e2882e
invalid tags field in aws_route53_zone_association terraform resource
2017-04-07 20:32:35 -07:00
Justin Santa Barbara
8287a75fec
Move touching kubeapiserver log file to code
2017-04-07 22:43:59 -04:00
Justin Santa Barbara
2054ef4fed
Merge pull request #2297 from ahl/dns
...
Support dns=private with terraform #1848
2017-04-07 00:51:05 -04:00
Chris Love
d4f14d2d2c
Merge pull request #2299 from justinsb/docker_healthcheck
...
Make sure we start docker-healthcheck.service
2017-04-06 14:40:59 -06:00
Adam H. Leventhal
2a9315ac56
Support dns=private with terraform #1848
2017-04-06 07:44:41 -07:00
Justin Santa Barbara
6201e924c7
Merge pull request #2245 from justinsb/be_tolerant
...
Keep the 1.5 tolerations around, in case of a downgrade
2017-04-06 01:53:19 -04:00
Justin Santa Barbara
ee53f46b63
Merge pull request #2274 from justinsb/weave_manifest_labels
...
Add weave manifest labels
2017-04-06 01:52:58 -04:00
Justin Santa Barbara
5bb2c982e1
Make sure we start docker-healthcheck.service
...
Issue #2279
2017-04-06 01:16:27 -04:00
Justin Santa Barbara
60569f7898
Merge pull request #2255 from dacohen/tenancy_fix
...
AWS Instance Tenancy Fixes
2017-04-06 00:12:00 -04:00
Otto Yiu
0f40de4c12
Update Project Calico from 2.0.2 to 2.1.1
2017-04-05 04:29:27 -07:00