Removed VPA

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-05-31 17:58:59 +01:00
parent 3e54c17ad3
commit d55b03a6bd
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
15 changed files with 0 additions and 268 deletions

View File

@ -1,81 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: docker-config
namespace: anniversary
annotations:
kube-1password: i6ngbk5zf4k52xgwdwnfup5bby
kube-1password/vault: Kubernetes
kube-1password/secret-text-key: .dockerconfigjson
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: e30=
---
apiVersion: v1
kind: Service
metadata:
name: anniversary
namespace: anniversary
spec:
type: ClusterIP
ports:
- port: 80
targetPort: web
name: web
selector:
app: anniversary
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: anniversary
namespace: anniversary
spec:
replicas: 0
selector:
matchLabels:
app: anniversary
template:
metadata:
labels:
app: anniversary
spec:
imagePullSecrets:
- name: docker-config
containers:
- name: web
image: rg.fr-par.scw.cloud/averagemarcus-private/11-year-anniversary:latest
imagePullPolicy: Always
ports:
- containerPort: 80
name: web
resources:
limits:
memory: 5Mi
requests:
memory: 5Mi
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: anniversary
namespace: anniversary
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
tls:
- hosts:
- 11-year-anniversary.marcusnoble.co.uk
secretName: anniversary-ingress
rules:
- host: 11-year-anniversary.marcusnoble.co.uk
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: anniversary
port:
number: 80

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: anniversary
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: anniversary
updatePolicy:
updateMode: "Auto"

View File

@ -1,28 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: anniversary
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: anniversary
name: cluster-fun (scaleway)
source:
path: manifests/11-year-anniversary
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
- group: apps
kind: Deployment
jqPathExpressions:
- .spec.template.spec.containers[]?.image

View File

@ -1,27 +0,0 @@
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: {}

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: blog
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: blog
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: cors-proxy
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: cors-proxy
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: dashboard
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: dashboard
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: node-red
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: node-red
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: opengraph
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: opengraph
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: outline
spec:
targetRef:
apiVersion: "apps/v1"
kind: StatefulSet
name: outline
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: paradoxfox
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: paradoxfox
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: svg-to-dxf
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: svg-to-dxf
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: tank
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: tank
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: tweetsvg
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: tweetsvg
updatePolicy:
updateMode: "Auto"

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: twitter-profile-pic
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: twitter-profile-pic
updatePolicy:
updateMode: "Auto"