-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from genesis-community/gcp
gcp
- Loading branch information
Showing
6 changed files
with
113 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ for kit in $@; do | |
;; | ||
google-cpi) | ||
CPI=$kit | ||
CPI_INIT=google-init | ||
;; | ||
openstack-cpi) | ||
CPI=$kit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
instance_groups: | ||
- name: bosh | ||
jobs: | ||
- name: google_cpi | ||
release: bosh-google-cpi | ||
- name: registry | ||
release: bosh | ||
|
||
releases: | ||
- name: bosh-google-cpi | ||
version: 25.9.0 | ||
url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-google-cpi-release?v=25.9.0 | ||
sha1: 3fbda22fde33878b54dec77f4182f8044be72687 | ||
|
||
properties: | ||
registry: | ||
address: (( grab params.static_ip )) | ||
host: (( grab params.static_ip )) | ||
db: (( grab properties.postgres )) | ||
|
||
username: (( grab meta.bosh.registry.user )) | ||
password: (( grab meta.bosh.registry.pass )) | ||
port: 25777 | ||
|
||
google: | ||
project: (( grab params.google_project )) | ||
json_key: (( vault meta.vault "/google:json_key" )) | ||
director: | ||
cpi_job: google_cpi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
params: | ||
google_project: (( param "Enter the project name that your BOSH will be deployed into" )) | ||
|
||
ntp: # use GCP ntp | ||
- (( replace )) | ||
- time.google.com | ||
- time2.google.com | ||
- time3.google.com | ||
- time4.google.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
resource_pools: | ||
- name: (( grab params.bosh_vm_type )) | ||
cloud_properties: | ||
zone: (( grab params.google_availability_zone )) | ||
machine_type: (( grab params.google_machine_type )) | ||
root_disk_size_gb: (( calc "params.ephemeral_disk_size / 1024" )) | ||
root_disk_type: (( grab params.google_disk_type )) | ||
service_scopes: | ||
- compute | ||
- devstorage.full_control | ||
stemcell: (( grab meta.latest_stemcells.bosh-google-kvm-ubuntu-trusty-go_agent )) | ||
|
||
networks: | ||
- name: (( grab params.bosh_network )) | ||
subnets: | ||
- (( inline )) | ||
- cloud_properties: | ||
network_name: (( grab params.google_network_name )) | ||
subnetwork_name: (( grab params.google_subnetwork_name )) | ||
tags: (( grab params.google_tags )) | ||
|
||
disk_pools: | ||
- name: (( grab params.bosh_disk_pool )) | ||
cloud_properties: | ||
type: (( grab params.google_disk_type )) | ||
|
||
|
||
cloud_provider: | ||
template: | ||
name: google_cpi | ||
release: bosh-google-cpi | ||
properties: | ||
google: | ||
project: (( grab params.google_project )) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
params: | ||
google_network_name: (( param "Enter the name of the network for your BOSH" )) | ||
google_subnetwork_name: (( param "Enter the name of the subnetwork for your BOSH" )) | ||
google_availability_zone: (( param "Enter the name the availability zone for your BOSH" )) | ||
google_tags: (( param "Enter the tags to be attached to your BOSH" )) | ||
|
||
google_machine_type: n1-standard-1 | ||
google_disk_type: pd-standard |