Skip to content

Commit

Permalink
fixes #506 (#511)
Browse files Browse the repository at this point in the history
Co-authored-by: mservidio <[email protected]>
  • Loading branch information
swilliams11 and mservidio authored Jun 7, 2021
1 parent 400c1eb commit 0f5737a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
10 changes: 10 additions & 0 deletions marketplace/releases/RELEASE_NOTES_VM_SOLUTION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Google Cloud Platform Release Notes for Marketplace VM Solution

## 0.7.0 Release Notes
* Build - 6/3/2021

### Datashare
* Kubernetes cluster version is 1.18
* https://cloud.google.com/kubernetes-engine/docs/release-notes

### Updates
* N/A

## 0.6.8 Release Notes
* Build - 4/19/2021

Expand Down
Binary file not shown.
5 changes: 3 additions & 2 deletions marketplace/vm-solution/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def GenerateConfig(context):
cluster_name = 'datashare-cluster-resource'
acutal_cluster_name = 'datashare'
# type_name = name_prefix + '-type'
cluster_version = '1.16'
cluster_version_num = context.properties['clusterVersion']
cluster_version = '' + str(cluster_version_num) + ''
workload_pool = context.env['project'] + '.svc.id.goog'
machine_type = 'e2-standard-2'

Expand All @@ -38,7 +39,7 @@ def GenerateConfig(context):
'zone': context.properties['zone'],
'cluster': {
'name': acutal_cluster_name,
'initialClusterVersion': cluster_version,
'initialClusterVersion': '' + cluster_version + '',
'initialNodeCount': 3,
'ipAllocationPolicy': {
'useIpAliases': True,
Expand Down
2 changes: 1 addition & 1 deletion marketplace/vm-solution/cluster.py.schema
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ properties:
clusterVersion:
type: string
description: Initial number of nodes desired in the cluster.
default: "1.16"
default: "1.18"
initialNodeCount:
type: integer
description: Initial number of nodes desired in the cluster.
Expand Down
2 changes: 1 addition & 1 deletion marketplace/vm-solution/datashare-vm.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ imports:
{% set useRuntimeConfigWaiterValue = properties["useRuntimeConfigWaiter"] %}
{% set deployApiToGkeValue = properties["deployApiToGke"] %}
{% set gkeZone = properties["input_gkeZone"] %}
{% set clusterVersion = "1.16" %}
{% set clusterVersion = "1.18" + "" %}
{% set gkeClusterName = "datashare" %}
{% set waiterName = env["deployment"] + "-startup-waiter" %}
{% set configName = env["deployment"] + "-startup-config" %}
Expand Down

0 comments on commit 0f5737a

Please sign in to comment.