Plan Management

By leveraging Shipa, you can easily define resource plans that can be bound to applications to limit resource consumption.

apiVersion: shipa.crossplane.io/v1alpha1
kind: Plan
metadata:
  name: cross-plan
spec:
  forProvider:
    name: cross-plan
    teams: ["cross-team"]
    cpushare: 8
    memory: 2G
    swap: 32M

Top-Level Attributes

ComponentTypeDescription
apiVersionstringthe version of the API.
kindstringthe kind of custom resource that will be created by Shipa.

Plan is the kind used by Shipa for managing resource plans.
metadatathe name of the custom resource that will be created by Shipa.
specthe specification that will be used by Shipa when creating the plan.

Metadata

ComponentTypeDescription
namestringthe name of the custom resource that will be created by Shipa.

Specification

ComponentTypeDescription
namestringthe name of the plan.

Required: Yes
teamsstringthe teams that can leverage this plan to assign to their applications.

Required: Yes
cpushareintThe amount of CPU resources that should be assigned to the application as limit

Required: Yes
memorystringThe amount of memory resources that should be assigned to the application as limit.

examples are 1M, 1G, 1K

Required: Yes
swapstringthe amount of swap resources that should be assigned to the application as limit.

examples are 1M, 1G

Required: No
Condition: Only available for frameworks bound to Shipa nodes, not Kubernetes