aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/design-impl/participants/tosca/automation-composition-kserve.yml
blob: 7194df8f38b263c7f3b33e3b62312902bcb66180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: DemoInstance0
version: 1.0.1
compositionId: {{compositionId}}
description: Demo automation composition instance 0
elements:
  709c62b3-8918-41b9-a747-d21eb79c6c26:
    id: 709c62b3-8918-41b9-a747-d21eb79c6c26
    definition:
      name: onap.policy.clamp.ac.element.KserveAutomationCompositionElement
      version: 1.2.3
    description: Starter Automation Composition Element for the Demo
    properties:
      kserveInferenceEntities:
        - kserveInferenceEntityId:
            name: entity1
            version: 1.0.1
          name: demo-inference-service
          namespace: demo-namespace
          payload: '{"apiVersion": "serving.kserve.io/v1beta1","kind": "InferenceService","metadata": {"name": "sklearn-iris"},"spec": {"predictor": {"model":{"modelFormat": {"name": "sklearn"},"storageUri": "gs://kfserving-examples/models/sklearn/1.0/model"}}}}'
################# # application image repository: nexus3.onap.org:10001 image: <onap-app>:<1.2-STAGING-latest> pullPolicy: Always # flag to enable debugging - application support required debugEnabled: false # application configuration # Example: config: # username: myusername # password: mypassword # default number of instances replicaCount: 1 nodeSelector: {} affinity: {} # probe configuration parameters liveness: initialDelaySeconds: 10 periodSeconds: 10 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container enabled: true readiness: initialDelaySeconds: 10 periodSeconds: 10 #Example service definition with external, internal and node ports. service: # The default service name (exposed in the service.yaml) will be the same # name as the chart. If the service name needs to be overriden (such as # when a subchart is shared), uncomment the value below. #name: <service-name-override> #Services may use any combination of ports depending on the 'type' of #service being defined. type: NodePort externalPort: <8080> internalPort: <80> nodePort: <replace with unused node port suffix eg. 23> # optional port name override - default can be defined in service.yaml #portName: http ingress: enabled: false resources: {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following # lines, adjust them as necessary, and remove the curly braces after 'resources:'. # # Example: # Configure resource requests and limits # ref: http://kubernetes.io/docs/user-guide/compute-resources/ # Minimum memory for development is 2 CPU cores and 4GB memory # Minimum memory for production is 4 CPU cores and 8GB memory #resources: # limits: # cpu: 2 # memory: 4Gi # requests: # cpu: 2 # memory: 4Gi