Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Terraform example for GKE custom VPC deployment #1697

Merged
merged 8 commits into from
Aug 31, 2020

Conversation

moesy
Copy link
Contributor

@moesy moesy commented Jul 18, 2020

What type of PR is this?
/kind documentation
/kind feature

What this PR does / Why we need it:
Adds an example for deploying Agones on a GKE cluster inside a custom VPC and updates associated docs.

Which issue(s) this PR fixes:
Closes #1641

Special notes for your reviewer:
Related to #1695

Update the terraform gke example to accept inputs for custom vpc deployment.

Update associated documentation.
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 476e0249-83ad-4183-9aea-99265b37fddb

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.8.0-b996753

site/content/en/docs/Installation/Terraform/gke.md Outdated Show resolved Hide resolved
site/content/en/docs/Installation/Terraform/gke.md Outdated Show resolved Hide resolved
site/content/en/docs/Installation/Terraform/gke.md Outdated Show resolved Hide resolved
site/content/en/docs/Installation/Terraform/gke.md Outdated Show resolved Hide resolved
examples/terraform-submodules/gke/.gitignore Outdated Show resolved Hide resolved
@roberthbailey
Copy link
Member

/assign

@markmandel
Copy link
Member

A reminder - if you want this to be included in the 1.8.0 release - release candidate is next Tuesday.

@markmandel markmandel added the feature-freeze-do-not-merge Only eligible to be merged once we are out of feature freeze (next full release) label Aug 11, 2020
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 5d32ceda-fd35-4a50-81d9-46fab576961f

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.8.0-2e9a837

@markmandel markmandel removed the feature-freeze-do-not-merge Only eligible to be merged once we are out of feature freeze (next full release) label Aug 18, 2020
@markmandel
Copy link
Member

Doing some cleanup. @moesy are you good to wrap this up, or should we close it for now?

@moesy
Copy link
Contributor Author

moesy commented Aug 27, 2020

Hi @markmandel ill wrap this up by tomorrow thanks for removing the freeze flag.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 64f0ec9b-78e8-4182-b779-d7c9211a6876

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: f820ba74-405a-4cce-8e1b-82a3b62f995b

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.9.0-8c89b42

Provide a minimal example for deploying Agones on GKE in a custom VPC with terraform.

Documentation gated until 1.9.0 release.
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: e6663ae9-5d04-4a3f-8143-6a91cf1548ae

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.9.0-44aae3e

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: c151c920-cfc6-4e90-a266-9a834d987d8b

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.9.0-c77b9d5

Copy link
Member

@roberthbailey roberthbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update all of the 1.7.0 references to 1.8.0 and remove the .gitignore file from the PR?


(optionally you can specify the version of Agones you want to use):
```
terraform apply -var project="<YOUR_GCP_ProjectID>" [-var agones_version="1.7.0"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markmandel - should we add this variable to the release checklist so that it stays up to date?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @roberthbailey , updated!

Document the subnetwork as a configurable parameter.

* Gated until 1.9.0
* Updated agones_version references to 1.8.0
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 77ae0400-08b6-4912-b5b7-9e015634038c

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.9.0-6baaa45

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 449259ae-61b8-42e1-ad89-c7f4826e1072

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.9.0-b947294

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 184f574f-9282-441e-a1d8-5566525c2b94

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@roberthbailey
Copy link
Member

examples/terraform-submodules/gke/module.tf still references 1.7.0 - can you update that file to 1.8.0 as well?

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 4ad855df-92b7-41a1-9ca3-60a0624655a4

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: moesy, roberthbailey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 979a2376-4038-4cae-8848-cac684c879fb

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 89b52869-d28e-4c33-b275-60f4265a14a2

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1697/head:pr_1697 && git checkout pr_1697
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.9.0-ca94ded

@markmandel markmandel added this to the 1.9.0 milestone Aug 31, 2020
@markmandel markmandel merged commit 127e26a into googleforgames:master Aug 31, 2020
@markmandel markmandel added area/examples Examples. Usually found in the `examples` directory kind/feature New features for Agones labels Sep 22, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
)

* Add Custom VPC to terraform gke example
* Add subnetwork to configurable parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/examples Examples. Usually found in the `examples` directory cla: yes kind/feature New features for Agones lgtm size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to Create GKE clusters in non-default VPC (Terraform)
7 participants