Skip to content

Commit

Permalink
chore: Update Buildah Image and Increase Quay Postgres DB Resources
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurVardevanyan committed Feb 22, 2024
1 parent a4f7f80 commit 2d3f265
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 51 deletions.
1 change: 0 additions & 1 deletion kubernetes/prometheus/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ resources:
- namespace.yaml
- resource-quota.yaml
- limit-range.yaml
- longhorn.yaml
- pvc.yaml
- config-map.yaml
- rbac.yaml
Expand Down
18 changes: 0 additions & 18 deletions kubernetes/prometheus/base/longhorn.yaml

This file was deleted.

28 changes: 1 addition & 27 deletions kubernetes/prometheus/base/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,5 @@ spec:
resources:
requests:
storage: 35Gi
volumeName: prometheus-pv
storageClassName: longhorn-static
volumeMode: Filesystem
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: prometheus-pv
labels:
app.kubernetes.io/instance: prometheus
spec:
capacity:
storage: 35Gi
csi:
driver: driver.longhorn.io
volumeHandle: prometheus
fsType: ext4
volumeAttributes:
numberOfReplicas: "2"
accessModes:
- ReadWriteOnce
claimRef:
kind: PersistentVolumeClaim
name: prometheus-pvc
namespace: prometheus
persistentVolumeReclaimPolicy: Retain
storageClassName: longhorn-static
storageClassName: longhorn
volumeMode: Filesystem
4 changes: 2 additions & 2 deletions kubernetes/quay/base/postgres/quay/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ spec:
resources:
requests:
memory: "350Mi"
cpu: "25m"
cpu: "50m"
limits:
memory: "700Mi"
cpu: "100m"
cpu: "250m"
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down
6 changes: 3 additions & 3 deletions tekton/tasks/buildah/0.5.1/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
description: Reference of the image buildah will produce.
- name: BUILDER_IMAGE
description: The location of the buildah builder image.
default: quay.io/buildah/stable:v1.34.0@sha256:99332bd46d1285227c4b15aea71358678ecdc012f6e88a01753356efb1ea49aa
default: quay.io/buildah/stable:v1.34.0@sha256:68b07874e47201c49d0a1146121b4c5b84e7f87ed78b6a0c43c45430b0bd463e
- name: STORAGE_DRIVER
description: Set buildah storage driver
default: vfs #overlay
Expand Down Expand Up @@ -136,7 +136,7 @@ spec:
volumes:
- name: varlibcontainers
emptyDir:
sizeLimit: 10Gi
sizeLimit: 30Gi
- name: home
emptyDir:
sizeLimit: 1Mi
Expand All @@ -145,7 +145,7 @@ spec:
sizeLimit: 2Mi
- name: var-tmp
emptyDir:
sizeLimit: 10Gi
sizeLimit: 30Gi
- name: root
emptyDir:
sizeLimit: 1Mi
Expand Down

0 comments on commit 2d3f265

Please sign in to comment.