Skip to main content

Posts

Showing posts from August, 2025

Install vpa Tested 03-08-2025

 #!/bin/bash echo "Step 1: Creating VPA CRDs with required annotations..." cat <<EOF | kubectl apply -f - apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata:   name: verticalpodautoscalers.autoscaling.k8s.io   annotations:     api-approved.kubernetes.io: "https://github.com/kubernetes/enhancements/pull/1867" spec:   group: autoscaling.k8s.io   names:     kind: VerticalPodAutoscaler     plural: verticalpodautoscalers     singular: verticalpodautoscaler     shortNames:       - vpa   scope: Namespaced   versions:     - name: v1       served: true       storage: true       schema:         openAPIV3Schema:           type: object --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata:   name: verticalpodautoscalercheckpoints.autoscaling...