Skip to content

Commit

Permalink
disable TPU usage (#61)
Browse files Browse the repository at this point in the history
* disable TPU usage

Currently causing an error when provisioning a new cluster:

```
Error: googleapi: Error 400: Cloud TPU is only supported starting from version 1.9.3., badRequest
```

* add @Secretions to codeowners

* default PSPs to true

* update terraform to latest 0.12 version
  • Loading branch information
steved committed Jul 15, 2020
1 parent 34f6c20 commit a2cf9c6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
CLOUDSDK_CORE_PROJECT: domino-eng-platform-dev
CLOUDSDK_COMPUTE_ZONE: us-west1-a
GOOGLE_APPLICATION_CREDENTIALS: /root/.config/gcloud/legacy_credentials/terraform-gke-test@domino-eng-platform-dev.iam.gserviceaccount.com/adc.json
TERRAFORM_VERSION: 0.12.20
TERRAFORM_VERSION: 0.12.28

steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These owners will be the default owners for everything in
# the repo.
* @zs-ddl @saahildhulla @steved
* @Secretions @saahildhulla @steved
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ resource "google_container_cluster" "domino_cluster" {
network = google_compute_network.vpc_network.self_link
subnetwork = google_compute_subnetwork.default.self_link

enable_tpu = true
enable_tpu = false

master_auth {
client_certificate_config {
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ variable "compute_node_type" {

variable "enable_pod_security_policy" {
type = bool
default = false
default = true
}

variable "enable_network_policy" {
Expand Down

0 comments on commit a2cf9c6

Please sign in to comment.