Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modifying PDB template location under /manifests #404

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions template/manifests/HorizontalPodAutoscaling/manifest/draft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
templateName: "horizontalPodAutoscaling-manifest"
description: "This template is used to create a horizontalPodAutoscaling for an application"
type: "manifest"
variables:
- name: "APPNAME"
type: "string"
kind: "kubernetesResourceName"
description: "the name of the application"
- name: "PARTOF"
type: "string"
kind: "label"
description: "the label to identify which project the resource belong to"
- name: "GENERATORLABEL"
type: "string"
kind: "label"
description: "the label to identify who generated the resource"
default:
value: "draft"
- name: "MINIMUMREPLICAS"
type: "int"
kind: "replicaCount"
description: "specifies the minimum number of pod replicas that the deployment should have"
default:
value: 2
- name: "MAXIMUMREPLICAS"
type: "int"
kind: "replicaCount"
description: "defines the maximum number of pod replicas the deployment can scale to"
default:
value: 5
- name: "RESOURCETYPE"
type: "string"
kind: "scalingResourceType"
description: "specifies the resource type (e.g., cpu or memory) to be monitored for scaling"
default:
value: "cpu"
- name: "AVGUTILIZATION"
type: "int"
kind: "scalingResourceUtilization"
description: "specifies the average utilization for the monitored resource, triggering scaling when exceeded"
default:
value: 80
24 changes: 0 additions & 24 deletions template/manifests/PodDisruptionBudget/manifest/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,6 @@ variables:
description: "the label to identify who generated the resource"
default:
value: "draft"
- name: "MINIMUMREPLICAS"
type: "int"
kind: "replicaCount"
description: "specifies the minimum number of pod replicas that the deployment should have"
default:
value: 2
- name: "MAXIMUMREPLICAS"
type: "int"
kind: "replicaCount"
description: "defines the maximum number of pod replicas the deployment can scale to"
default:
value: 5
- name: "RESOURCETYPE"
type: "string"
kind: "scalingResourceType"
description: "specifies the resource type (e.g., cpu or memory) to be monitored for scaling"
default:
value: "cpu"
- name: "AVGUTILIZATION"
type: "int"
kind: "scalingResourceUtilization"
description: "specifies the average utilization for the monitored resource, triggering scaling when exceeded"
default:
value: 80
- name: "MAXUNAVAILABLE"
type: "int"
kind: "resourceLimit"
Expand Down
Loading