Skip to content

Commit

Permalink
Updates for the new allocation api version.
Browse files Browse the repository at this point in the history
part 3

- build directory
  • Loading branch information
roberthbailey committed Jul 12, 2019
1 parent dbd9f1e commit b5505d0
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions build/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ resource "google_container_cluster" "primary" {
"https://www.googleapis.com/auth/trace.append",
]
labels = {
"stable.agones.dev/agones-system" = "true"
"agones.dev/agones-system" = "true"
}
taint = {
key = "stable.agones.dev/agones-system"
key = "agones.dev/agones-system"
value = "true"
effect = "NO_EXECUTE"
}
Expand All @@ -152,10 +152,10 @@ resource "google_container_cluster" "primary" {
"https://www.googleapis.com/auth/trace.append",
]
labels = {
"stable.agones.dev/agones-metrics" = "true"
"agones.dev/agones-metrics" = "true"
}
taint = {
key = "stable.agones.dev/agones-metrics"
key = "agones.dev/agones-metrics"
value = "true"
effect = "NO_EXECUTE"
}
Expand Down
8 changes: 4 additions & 4 deletions build/gke-test-cluster/cluster.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ resources:
- https://www.googleapis.com/auth/servicecontrol
- https://www.googleapis.com/auth/trace.append
labels:
stable.agones.dev/agones-system: "true"
agones.dev/agones-system: "true"
taints:
- key: "stable.agones.dev/agones-system"
- key: "agones.dev/agones-system"
value: "true"
effect: "NO_EXECUTE"
- name: "agones-metrics"
Expand All @@ -65,9 +65,9 @@ resources:
- https://www.googleapis.com/auth/servicecontrol
- https://www.googleapis.com/auth/trace.append
labels:
stable.agones.dev/agones-metrics: "true"
agones.dev/agones-metrics: "true"
taints:
- key: "stable.agones.dev/agones-metrics"
- key: "agones.dev/agones-metrics"
value: "true"
effect: "NO_EXECUTE"
- name: game-server-firewall
Expand Down
4 changes: 2 additions & 2 deletions build/grafana.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
service:
port: 3000
tolerations:
- key: "stable.agones.dev/agones-metrics"
- key: "agones.dev/agones-metrics"
operator: "Equal"
value: "true"
effect: "NoExecute"
Expand All @@ -11,7 +11,7 @@ affinity:
- weight: 1
preference:
matchExpressions:
- key: stable.agones.dev/agones-metrics
- key: agones.dev/agones-metrics
operator: Exists
sidecar:
dashboards:
Expand Down
2 changes: 1 addition & 1 deletion build/grafana/dashboard-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ data:
"targets": [
{
"$$hashKey": "object:818",
"expr": "(process_start_time_seconds{app=\"agones\",stable_agones_dev_role=\"controller\"}) * 1000",
"expr": "(process_start_time_seconds{app=\"agones\",agones_dev_role=\"controller\"}) * 1000",
"format": "time_series",
"instant": true,
"intervalFactor": 1,
Expand Down
8 changes: 4 additions & 4 deletions build/modules/gke/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ resource "google_container_node_pool" "agones-system" {
"https://www.googleapis.com/auth/trace.append",
]
labels = {
"stable.agones.dev/agones-system" = "true"
"agones.dev/agones-system" = "true"
}
taint = {
key = "stable.agones.dev/agones-system"
key = "agones.dev/agones-system"
value = "true"
effect = "NO_EXECUTE"
}
Expand All @@ -145,10 +145,10 @@ resource "google_container_node_pool" "agones-metrics" {
"https://www.googleapis.com/auth/trace.append",
]
labels = {
"stable.agones.dev/agones-metrics" = "true"
"agones.dev/agones-metrics" = "true"
}
taint = {
key = "stable.agones.dev/agones-metrics"
key = "agones.dev/agones-metrics"
value = "true"
effect = "NO_EXECUTE"
}
Expand Down
4 changes: 2 additions & 2 deletions build/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server:
memory: 4Gi
cpu: 2
tolerations:
- key: "stable.agones.dev/agones-metrics"
- key: "agones.dev/agones-metrics"
operator: "Equal"
value: "true"
effect: "NoExecute"
Expand All @@ -22,7 +22,7 @@ server:
- weight: 1
preference:
matchExpressions:
- key: stable.agones.dev/agones-metrics
- key: agones.dev/agones-metrics
operator: Exists
serverFiles:
prometheus.yml:
Expand Down

0 comments on commit b5505d0

Please sign in to comment.