Skip to content

Commit

Permalink
Merge branch 'release/10.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy Elsmore-Paddock committed Nov 11, 2022
2 parents 6ee4b51 + f3def42 commit d650799
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 5 deletions.
22 changes: 22 additions & 0 deletions base/manifests/app-clamav.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,28 @@ spec:
app: backend-clamav
role: backend
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
# Prefer to be scheduled on a burstable node.
#
# NOTE: "inveniem.com/workload-type" is a *label* that has the same
# name and value as the *taint* on the same nodes. Kubernetes
# doesn't have a way to use the taint for affinity, so we duplicate
# it as a label.
- weight: 100
preference:
matchExpressions:
- key: inveniem.com/workload-type
operator: In
values:
- burstable
tolerations:
# Allow scheduling this job on burstable nodes.
- key: inveniem.com/workload-type
operator: Equal
value: burstable
effect: NoSchedule
containers:
- name: backend-clamav
image: "mkodockx/docker-clamav:latest"
Expand Down
22 changes: 22 additions & 0 deletions base/manifests/cronjob-nextcloud-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,28 @@ spec:
template:
spec:
restartPolicy: Never
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
# Prefer to be scheduled on a burstable node.
#
# NOTE: "inveniem.com/workload-type" is a *label* that has the same
# name and value as the *taint* on the same nodes. Kubernetes
# doesn't have a way to use the taint for affinity, so we duplicate
# it as a label.
- weight: 100
preference:
matchExpressions:
- key: inveniem.com/workload-type
operator: In
values:
- burstable
tolerations:
# Allow scheduling this job on burstable nodes.
- key: inveniem.com/workload-type
operator: Equal
value: burstable
effect: NoSchedule
containers:
- name: cron-nextcloud
image: "inveniem/nextcloud-cron:latest"
Expand Down
15 changes: 15 additions & 0 deletions components/http-apache/manifests/app-nextcloud.apache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ spec:
role: backend
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
# Prefer to be scheduled on a burstable node.
#
# NOTE: "inveniem.com/workload-type" is a *label* that has the same
# name and value as the *taint* on the same nodes. Kubernetes
# doesn't have a way to use the taint for affinity, so we duplicate
# it as a label.
- weight: 100
preference:
matchExpressions:
- key: inveniem.com/workload-type
operator: In
values:
- burstable
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
# Prevent multiple replicas from being on the same node.
Expand Down
15 changes: 15 additions & 0 deletions components/http-nginx-fpm/manifests/app-nextcloud.nginx-fpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ spec:
role: backend
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
# Prefer to be scheduled on a burstable node.
#
# NOTE: "inveniem.com/workload-type" is a *label* that has the same
# name and value as the *taint* on the same nodes. Kubernetes
# doesn't have a way to use the taint for affinity, so we duplicate
# it as a label.
- weight: 100
preference:
matchExpressions:
- key: inveniem.com/workload-type
operator: In
values:
- burstable
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
# Prevent multiple replicas from being on the same node.
Expand Down
10 changes: 5 additions & 5 deletions overlays/00-sample/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,20 @@ images:

- name: inveniem/nextcloud-cron
newName: your-acr-instance.azurecr.io/inveniem/nextcloud-cron
newTag: 10.1.1
newTag: 10.2.0

- name: inveniem/nextcloud-apache
newName: your-acr-instance.azurecr.io/inveniem/nextcloud-apache
newTag: 10.1.1
newTag: 10.2.0

- name: inveniem/nextcloud-fpm
newName: your-acr-instance.azurecr.io/inveniem/nextcloud-fpm
newTag: 10.1.1
newTag: 10.2.0

- name: inveniem/nextcloud-nginx-middleware
newName: your-acr-instance.azurecr.io/inveniem/nextcloud-nginx-middleware
newTag: 10.1.1
newTag: 10.2.0

- name: inveniem/sftp-ws-server
newName: your-acr-instance.azurecr.io/inveniem/sftp-ws-server
newTag: 10.1.1
newTag: 10.2.0

0 comments on commit d650799

Please sign in to comment.