Skip to content

Commit

Permalink
add priority class; change node selectords (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs authored Sep 12, 2023
1 parent 62969cd commit 7a9bb42
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 14 deletions.
21 changes: 14 additions & 7 deletions charts/testkube/values-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ mongodb:
portName: "mongodb"
nodePort: true
clusterIP: ""
priorityClassName: "highest-priority"
## Image built with ZCube tool so that it can be run on ARM nodes: https://github.com/ZCube/bitnami-compat/tree/main/patches
## Currently Bitnami doesn't support ARM: https://github.com/bitnami/charts/issues/7305
image:
Expand All @@ -101,7 +102,7 @@ mongodb:
memory: "1500Mi"
cpu: "200m"
nodeSelector:
nodepool: main-mongo
cloud.google.com/gke-provisioning: standard

nats:
# NATS container settings
Expand All @@ -110,10 +111,10 @@ nats:
# -- Max payload
maxPayload: 8MB
nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard
natsbox:
nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard


testkube-api:
Expand All @@ -133,9 +134,10 @@ testkube-api:
minio:
enabled: true
nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard
tolerations: []
affinity: {}
priorityClassName: "highest-priority"
image:
registry: docker.io
repository: minio/minio
Expand Down Expand Up @@ -281,12 +283,14 @@ testkube-api:
dashboardUri: ""
clusterName: ""

priorityClassName: "highest-priority"

##Test Connection pod
testConnection:
enabled: true

nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

testkube-dashboard:
enabled: true
Expand Down Expand Up @@ -336,6 +340,7 @@ testkube-dashboard:
path: /oauth2
port: 4180
selector: k8s-app
priorityClassName: "highest-priority"
image:
repository: quay.io/oauth2-proxy/oauth2-proxy
tag: latest
Expand All @@ -347,6 +352,7 @@ testkube-dashboard:
cookieSecret: ""
cookieSecure: "false"
redirectUrl: "http://develop.testkube.io/oauth2/callback"
priorityClassName: "highest-priority"

##Test Connection pod
testConnection:
Expand All @@ -358,9 +364,10 @@ testkube-dashboard:
cpu: "100m"

nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

testkube-operator:
priorityClassName: "highest-priority"
##Proxy Image parameters
## image.registry Proxy image registry
## image.repository Proxy image name
Expand All @@ -384,5 +391,5 @@ testkube-operator:
enabled: true

nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

21 changes: 14 additions & 7 deletions charts/testkube/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ mongodb:
portName: "mongodb"
nodePort: true
clusterIP: ""
priorityClassName: "highest-priority"
## Image built with ZCube tool so that it can be run on ARM nodes: https://github.com/ZCube/bitnami-compat/tree/main/patches
## Currently Bitnami doesn't support ARM: https://github.com/bitnami/charts/issues/7305
image:
Expand All @@ -101,7 +102,7 @@ mongodb:
memory: "1500Mi"
cpu: "200m"
nodeSelector:
nodepool: main-mongo
cloud.google.com/gke-provisioning: standard

nats:
# NATS container settings
Expand All @@ -110,10 +111,10 @@ nats:
# -- Max payload
maxPayload: 8MB
nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard
natsbox:
nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

testkube-api:
prometheus:
Expand All @@ -133,6 +134,7 @@ testkube-api:
enabled: true
tolerations: []
affinity: {}
priorityClassName: "highest-priority"
image:
registry: docker.io
repository: minio/minio
Expand All @@ -142,7 +144,7 @@ testkube-api:
memory: "1000Mi"
cpu: "200m"
nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

uiIngress:
enabled: true
Expand Down Expand Up @@ -283,12 +285,14 @@ testkube-api:
dashboardUri: ""
clusterName: ""

priorityClassName: "highest-priority"

##Test Connection pod
testConnection:
enabled: true

nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

testkube-dashboard:
enabled: true
Expand Down Expand Up @@ -336,6 +340,7 @@ testkube-dashboard:
path: /oauth2
port: 4180
selector: k8s-app
priorityClassName: "highest-priority"
image:
repository: quay.io/oauth2-proxy/oauth2-proxy
tag: latest
Expand All @@ -347,6 +352,7 @@ testkube-dashboard:
cookieSecret: ""
cookieSecure: "false"
redirectUrl: "http://integration.testkube.io/oauth2/callback"
priorityClassName: "highest-priority"

##Test Connection pod
testConnection:
Expand All @@ -357,9 +363,10 @@ testkube-dashboard:
memory: "100Mi"
cpu: "100m"
nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

testkube-operator:
priorityClassName: "highest-priority"
##Proxy Image parameters
## image.registry Proxy image registry
## image.repository Proxy image name
Expand All @@ -383,4 +390,4 @@ testkube-operator:
enabled: true

nodeSelector:
nodepool: main
cloud.google.com/gke-provisioning: standard

0 comments on commit 7a9bb42

Please sign in to comment.