Skip to content
Snippets Groups Projects
Verified Commit 218263d9 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(vpa): Add Verticial Pod Autoscaler as infrastructure component

parent 8dbb9a7a
No related branches found
No related tags found
Loading
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kubenav-system
resources:
- namespace.yaml
- https://git.shivering-isles.com/github-mirror/kubenav/deploy/-/raw/ed66ab3bf470fe7a43c6990e39d158b249f5ff7c/dashboards/prometheus-dashboard.yaml
- https://git.shivering-isles.com/github-mirror/kubenav/deploy/-/raw/ed66ab3bf470fe7a43c6990e39d158b249f5ff7c/dashboards/cert-manager-dashboard.yaml
- https://git.shivering-isles.com/github-mirror/kubenav/deploy/-/raw/ed66ab3bf470fe7a43c6990e39d158b249f5ff7c/dashboards/nginx-ingress-request-handling-performance-dashboard.yaml
- https://git.shivering-isles.com/github-mirror/kubenav/deploy/-/raw/ed66ab3bf470fe7a43c6990e39d158b249f5ff7c/dashboards/nginx-ingress-dashboard.yaml
apiVersion: v1
kind: Namespace
metadata:
name: kubenav-system
labels:
pod-security.kubernetes.io/audit: restricted
pod-security.kubernetes.io/enforce: restricted
pod-security.kubernetes.io/warn: restricted
pod-security.kubernetes.io/audit-version: v1.26
pod-security.kubernetes.io/enforce-version: v1.23
pod-security.kubernetes.io/warn-version: v1.26
kyverno.shivering-isles.com/class: "system"
......@@ -14,4 +14,4 @@ resources:
- flux-system
- postgres
- redis
- kubenav
- vpa
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: admission-vpa-tls-secret
spec:
commonName: vpa-webhook.vpa-system.svc
isCA: false
privateKey:
algorithm: ECDSA
size: 256
encoding: PKCS1
usages:
- server auth
dnsNames:
- vpa-webhook
- vpa-webhook.vpa-system
- vpa-webhook.vpa-system.svc
issuerRef:
name: selfsigned-cluster-issuer
kind: ClusterIssuer
group: cert-manager.io
secretName: vpa-tls-certs
\ No newline at end of file
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: vpa-system
resources:
- namespace.yaml
- certificate.yaml
- https://git.shivering-isles.com/github-mirror/kubernetes/autoscaler.git//vertical-pod-autoscaler/deploy?ref=vpa-release-1.0
commonLabels:
app.kubernetes.io/name: vertical-pod-autoscaler
app.kubernetes.io/instance: vpa-system
components:
- ../../shared/components/namespace-restricted
apiVersion: v1
kind: Namespace
metadata:
name: vpa-system
labels: {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment