Giter Site home page Giter Site logo

kabanero-java-microprofile's Introduction

Kabanero collections and pipelines demo

Appsody Collections Demo commands

  • Install appsody :
    brew install appsody/appsody/appsody
    
  • List appsody repo :
    appsody repo list
    
  • Add Kabanero collections repo in appsody:
    appsody repo add <name> <url>
    appsody repo add kabcollections https://github.com/kabanero-io/collections/releases/download/v0.1.2/kabanero-index.yaml
    
  • List all kabanero collections:
    appsody list | grep kabcollections
    
  • Initialize kabanero java-microprofile collection:
    appsody init kabcollections/java-microprofile
    
  • Generate app-deploy for deploying app on Kubernetes :
    appsody deploy --generate-only
    

Kabanero Pipelines Demo commands

  • Login to your cluster:
    oc login
    
  • List all pods with all namespaces :
    oc get pods --all-namespaces
    
  • List all the kabanero tasks:
    oc get tasks
    
  • List all kabanero pipelines:
    oc get pipelines
    
  • Git clone Kabanero-pipleines in openshift cluster:
    git clone https://github.com/kabanero-io/kabanero-pipelines.git
    
  • Apply pv.yaml file to the cluster:
    oc apply -f pv.yaml
    
  • Create Docket secret:
    oc apply -f my-docker-secret.yaml 
    oc apply -f my-docker-secret.yaml 
    
  • Update docker secret in service account:
    oc edit serviceaccounts kabanero-operator
    
  • Apply the resources file:
    oc apply -f <pipeline-resource-file>.yaml 
    oc apply -f java-microprofile-pipeline-resources.yaml
    
  • Apply the pipelinerun file:
    oc apply -f <pipeline-run-file>.yaml
    oc apply -f java-microprofile-pipeline-run.yaml
    
  • Check logs of the pods:
    oc logs -f <pod-name> --all-containers
    
  • Check the routes of the deployed application:
    oc get routes:
    
  • Check the status of a pipelinerun and error if any failed status:
    oc get pipelineruns
    oc get pipelineruns/<pipelinerun-name> -o yaml
    
  • Clean all the pipelineruns and application run pods
    oc delete pipelineruns --all
    oc delete appsodyapplications --all
    

kabanero-java-microprofile's People

Contributors

aadeshpa avatar kvijai82 avatar

Watchers

 avatar

Forkers

rnapoles-tktn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.