Skip to content

Commit

Permalink
Drop no longer needed policies related to websites
Browse files Browse the repository at this point in the history
We don't actually run any websites during load tests anymore.
Hence, we don't need the dedicated worker pool and respective policies anymore.
  • Loading branch information
timebertt committed Aug 23, 2023
1 parent 9a90dcc commit a35ae93
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 99 deletions.
7 changes: 0 additions & 7 deletions webhosting-operator/config/policy/shoot/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,4 @@ kind: Kustomization

resources:
- ../default
- prepull-nginx.yaml
- webhosting-operator-scheduling.yaml
- websites-scheduling.yaml

images:
- name: pause
newName: registry.k8s.io/pause
newTag: "3.7"
41 changes: 0 additions & 41 deletions webhosting-operator/config/policy/shoot/prepull-nginx.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions webhosting-operator/config/policy/shoot/websites-scheduling.yaml

This file was deleted.

27 changes: 1 addition & 26 deletions webhosting-operator/shoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
workers: 10.250.0.0/16
type: openstack
workers:
# runs system and monitoring components
# runs system and monitoring components, and sample websites
- name: system
cri:
name: containerd
Expand Down Expand Up @@ -98,31 +98,6 @@ spec:
type: storage_premium_perf1
zones:
- eu01-2
# runs actual websites
- name: websites
cri:
name: containerd
machine:
image:
name: coreos
type: g1.2
maxSurge: 5
maxUnavailable: 0
maximum: 10
minimum: 1
systemComponents:
allow: false
labels:
dedicated-for: websites
taints:
- key: dedicated-for
value: websites
effect: NoSchedule
volume:
size: 50Gi
type: storage_premium_perf1
zones:
- eu01-2
purpose: development
region: RegionOne
secretBindingName: cq12kuc8ir

0 comments on commit a35ae93

Please sign in to comment.