From 2ea466ed833e103667a5634f57e2ad54212d18e7 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 26 Dec 2021 11:56:24 +0000 Subject: [PATCH] Added VPA Signed-off-by: Marcus Noble --- manifests/11-year-anniversary/vpa.yaml | 11 +++++++++++ manifests/_apps/vpa.yaml | 27 ++++++++++++++++++++++++++ manifests/base64/vpa.yaml | 11 +++++++++++ manifests/blog/vpa.yaml | 11 +++++++++++ manifests/cors-proxy/vpa.yaml | 11 +++++++++++ manifests/cv/vpa.yaml | 11 +++++++++++ manifests/dashboard/vpa.yaml | 11 +++++++++++ manifests/feed-fetcher/vpa.yaml | 11 +++++++++++ manifests/goplayground/vpa.yaml | 11 +++++++++++ manifests/nodered/vpa.yaml | 11 +++++++++++ manifests/opengraph/vpa.yaml | 11 +++++++++++ 11 files changed, 137 insertions(+) create mode 100644 manifests/11-year-anniversary/vpa.yaml create mode 100644 manifests/_apps/vpa.yaml create mode 100644 manifests/base64/vpa.yaml create mode 100644 manifests/blog/vpa.yaml create mode 100644 manifests/cors-proxy/vpa.yaml create mode 100644 manifests/cv/vpa.yaml create mode 100644 manifests/dashboard/vpa.yaml create mode 100644 manifests/feed-fetcher/vpa.yaml create mode 100644 manifests/goplayground/vpa.yaml create mode 100644 manifests/nodered/vpa.yaml create mode 100644 manifests/opengraph/vpa.yaml diff --git a/manifests/11-year-anniversary/vpa.yaml b/manifests/11-year-anniversary/vpa.yaml new file mode 100644 index 0000000..579af95 --- /dev/null +++ b/manifests/11-year-anniversary/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: anniversary +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: anniversary + updatePolicy: + updateMode: "Auto" diff --git a/manifests/_apps/vpa.yaml b/manifests/_apps/vpa.yaml new file mode 100644 index 0000000..5d31145 --- /dev/null +++ b/manifests/_apps/vpa.yaml @@ -0,0 +1,27 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: vpa + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cluster.fun + destination: + namespace: kube-system + name: cluster-fun (scaleway) + source: + repoURL: 'https://charts.fairwinds.com/stable' + targetRevision: 0.5.0 + chart: vpa + helm: + version: v3 + values: |- + recommender: + extraArgs: + prometheus-address: "http://prometheus-server.monitoring.svc:80" + storage: prometheus + admissionController: + enabled: true + syncPolicy: + automated: {} diff --git a/manifests/base64/vpa.yaml b/manifests/base64/vpa.yaml new file mode 100644 index 0000000..b3f07cc --- /dev/null +++ b/manifests/base64/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: base64 +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: base64 + updatePolicy: + updateMode: "Auto" diff --git a/manifests/blog/vpa.yaml b/manifests/blog/vpa.yaml new file mode 100644 index 0000000..06acd36 --- /dev/null +++ b/manifests/blog/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: blog +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: blog + updatePolicy: + updateMode: "Auto" diff --git a/manifests/cors-proxy/vpa.yaml b/manifests/cors-proxy/vpa.yaml new file mode 100644 index 0000000..7da85a6 --- /dev/null +++ b/manifests/cors-proxy/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: cors-proxy +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: cors-proxy + updatePolicy: + updateMode: "Auto" diff --git a/manifests/cv/vpa.yaml b/manifests/cv/vpa.yaml new file mode 100644 index 0000000..308fd84 --- /dev/null +++ b/manifests/cv/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: cv +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: cv + updatePolicy: + updateMode: "Auto" diff --git a/manifests/dashboard/vpa.yaml b/manifests/dashboard/vpa.yaml new file mode 100644 index 0000000..a742498 --- /dev/null +++ b/manifests/dashboard/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: dashboard +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: dashboard + updatePolicy: + updateMode: "Auto" diff --git a/manifests/feed-fetcher/vpa.yaml b/manifests/feed-fetcher/vpa.yaml new file mode 100644 index 0000000..efeef37 --- /dev/null +++ b/manifests/feed-fetcher/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: feed-fetcher +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: feed-fetcher + updatePolicy: + updateMode: "Auto" diff --git a/manifests/goplayground/vpa.yaml b/manifests/goplayground/vpa.yaml new file mode 100644 index 0000000..bbb8f96 --- /dev/null +++ b/manifests/goplayground/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: goplayground +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: goplayground + updatePolicy: + updateMode: "Auto" diff --git a/manifests/nodered/vpa.yaml b/manifests/nodered/vpa.yaml new file mode 100644 index 0000000..a02c4ae --- /dev/null +++ b/manifests/nodered/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: node-red +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: node-red + updatePolicy: + updateMode: "Auto" diff --git a/manifests/opengraph/vpa.yaml b/manifests/opengraph/vpa.yaml new file mode 100644 index 0000000..32c8fc4 --- /dev/null +++ b/manifests/opengraph/vpa.yaml @@ -0,0 +1,11 @@ +apiVersion: autoscaling.k8s.io/v1 +kind: VerticalPodAutoscaler +metadata: + name: opengraph +spec: + targetRef: + apiVersion: "apps/v1" + kind: Deployment + name: opengraph + updatePolicy: + updateMode: "Auto"