Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-252

Add an option to Kogito CLI to deploy the Data Index Service

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 0.4.0
    • 0.3.0
    • Operator
    • 2019 Week 35-37

      As having a new controller/CRD to deploy the Data Index in the Operator, now it's time to have the CLI to integrate with it and deploy this new CR:

      kogito deploy-data-index [FLAGS]

      Flags should be related to the KogitoDataIndex CR like:

      spec:
        # If not informed, these default values will be set for you
        name: "kogito-data-index"
        # environment variables to set in the runtime container. Example: JAVAOPTS: "-Dquarkus.log.level=DEBUG"
        env: {}
        # number of pods to be deployed
        replicas: 1
        # image to use for this deploy
        image: "quay.io/ricardozanini/kogito-data-index:latest"
        # Limits and requests for the Data Index pod
        memoryLimit: ""
        memoryRequest: ""
        cpuLimit: ""
        cpuRequest: ""
        # details about the kafka connection
        kafka:
          # the service name and port for the kafka cluster. Example: my-kafka-cluster:9092
          serviceURI: my-cluster-kafka-bootstrap:9092
        # details about the connected infinispan
        infinispan:
          # name of the auth realm. "default" is the realm name for 
          #authRealm: ""
          # default to PLAIN
          #saslMechanism: ""
          # the service name and port of the infinispan cluster. Example: my-infinispan:11222
          serviceURI: infinispan-server:11222
          # will automatically set to true if the credentials are set
          #useAuth: false
          # auth credentials
          #credentials:
            # the secret used to store the Infinispan credentials
            #secretName: ""
            # username key defined in the secret to read from
            #usernameKey: ""
            # password key defined in the secret
            #passwordKey: ""
      

              rhn-support-zanini Ricardo Zanini
              rhn-support-zanini Ricardo Zanini
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: