Skip to content

Commit

Permalink
orm colocation in independent chart directory
Browse files Browse the repository at this point in the history
  • Loading branch information
WangZzzhe committed May 7, 2024
1 parent 44440cf commit 209b611
Show file tree
Hide file tree
Showing 16 changed files with 2,164 additions and 0 deletions.
23 changes: 23 additions & 0 deletions charts/katalyst/charts/colocation-orm/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
18 changes: 18 additions & 0 deletions charts/katalyst/charts/colocation-orm/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
dependencies:
- name: katalyst-webhook
repository: file://../webhook
version: 0.5.0
- name: katalyst-controller
repository: file://../controller
version: 0.5.0
- name: katalyst-metric
repository: file://../metric
version: 0.5.0
- name: katalyst-scheduler
repository: file://../scheduler
version: 0.5.0
- name: katalyst-agent
repository: file://../agent
version: 0.5.0
digest: sha256:5cad53c88876515db3c663e83e11a2513560c2fb630e7cc8742efe8511c4779d
generated: "2024-05-07T11:23:49.524534+08:00"
41 changes: 41 additions & 0 deletions charts/katalyst/charts/colocation-orm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: v2
name: katalyst-colocation-orm
description: A Helm chart for Katalyst colocation

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.5.0"

dependencies:
- name: katalyst-webhook
version: 0.5.0
repository: "file://../webhook"
- name: katalyst-controller
version: 0.5.0
repository: "file://../controller"
- name: katalyst-metric
version: 0.5.0
repository: "file://../metric"
- name: katalyst-scheduler
version: 0.5.0
repository: "file://../scheduler"
- name: katalyst-agent
version: 0.5.0
repository: "file://../agent"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.0
creationTimestamp: null
name: verticalpodautoscalerrecommendations.autoscaling.katalyst.kubewharf.io
spec:
group: autoscaling.katalyst.kubewharf.io
names:
kind: VerticalPodAutoscalerRecommendation
listKind: VerticalPodAutoscalerRecommendationList
plural: verticalpodautoscalerrecommendations
shortNames:
- vparec
singular: verticalpodautoscalerrecommendation
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: VerticalPodAutoscalerRecommendation captures information about
a VPA Recommendation
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: Spec defines the behavior of a VerticalPodAutoscalerRecommendation.
properties:
containerRecommendations:
description: default container resources recommended by the autoscaler
for the controlled containers. It will be overwritten by PodRecommendations
items:
description: RecommendedContainerResources is the recommendation
of resources computed by autoscaler for a specific container.
Respects the container resource policy if present in the spec.
In particular the recommendation is not produced for containers
with `ContainerScalingMode` set to 'Off'.
properties:
containerName:
description: Name of the container.
type: string
limits:
description: Limits indicates the recommendation resources for
limits of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
requests:
description: Requests indicates the recommendation resources
for requests of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
required:
- containerName
type: object
type: array
podRecommendations:
description: The most recently computed amount of resources recommended
by the autoscaler for the controlled pods.
items:
properties:
containerRecommendations:
description: Resources recommended by the autoscaler for each
container.
items:
description: RecommendedContainerResources is the recommendation
of resources computed by autoscaler for a specific container.
Respects the container resource policy if present in the
spec. In particular the recommendation is not produced for
containers with `ContainerScalingMode` set to 'Off'.
properties:
containerName:
description: Name of the container.
type: string
limits:
description: Limits indicates the recommendation resources
for limits of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
requests:
description: Requests indicates the recommendation resources
for requests of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
required:
- containerName
type: object
type: array
podName:
description: Name of the pod.
type: string
required:
- podName
type: object
type: array
type: object
status:
description: Status represents the current information about a VerticalPodAutoscalerRecommendation.
properties:
conditions:
description: Conditions is the set of conditions required for this
vparec to scale its target, and indicates whether those conditions
are met.
items:
description: VerticalPodAutoscalerRecommendationCondition describes
the state of a VerticalPodAutoscalerRecommendation at a certain
point.
properties:
lastTransitionTime:
description: lastTransitionTime is the last time the condition
transitioned from one status to another
format: date-time
type: string
message:
description: message is a human-readable explanation containing
details about the transition
type: string
reason:
description: reason is the reason for the condition's last transition.
type: string
status:
description: status is the status of the condition (True, False,
Unknown)
type: string
type:
description: type describes the current condition
type: string
required:
- status
- type
type: object
type: array
containerRecommendations:
description: ContainerRecommendations is the most recently defaultRecommendation
handled by the controller
items:
description: RecommendedContainerResources is the recommendation
of resources computed by autoscaler for a specific container.
Respects the container resource policy if present in the spec.
In particular the recommendation is not produced for containers
with `ContainerScalingMode` set to 'Off'.
properties:
containerName:
description: Name of the container.
type: string
limits:
description: Limits indicates the recommendation resources for
limits of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
requests:
description: Requests indicates the recommendation resources
for requests of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
required:
- containerName
type: object
type: array
podRecommendations:
description: PodRecommendations is the most recently recommendation
handled by the controller.
items:
properties:
containerRecommendations:
description: Resources recommended by the autoscaler for each
container.
items:
description: RecommendedContainerResources is the recommendation
of resources computed by autoscaler for a specific container.
Respects the container resource policy if present in the
spec. In particular the recommendation is not produced for
containers with `ContainerScalingMode` set to 'Off'.
properties:
containerName:
description: Name of the container.
type: string
limits:
description: Limits indicates the recommendation resources
for limits of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
requests:
description: Requests indicates the recommendation resources
for requests of this container
properties:
resources:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: Resources indicates the recommended resources
in quantity format.
type: object
type: object
required:
- containerName
type: object
type: array
podName:
description: Name of the pod.
type: string
required:
- podName
type: object
type: array
type: object
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 209b611

Please sign in to comment.