Build #470

Build: #470 was successful Child of CDAP-DRC-4388

Code commits

caskdata/cdap

  • albertshau <ashau@google.com>

    albertshau <ashau@google.com> f3c2bece421b8c53c842766369f02b656544872d

    Merge pull request #11131 from cdapio/feature/CDAP-14905-k8s-twill-runner
    CDAP-14905 add a kubernetes twill runner

  • albertshau <ashau@google.com>

    albertshau <ashau@google.com> c18172e4f23b1ff945887332a39b5dfad693a877 m

    CDAP-14905 add a kubernetes twill runner
    Add a kubernetes implementation of TwillRunner to support running
    programs on Kubernetes instead of YARN.
    The runner currently only supports service program types.

    It works by creating a config-map that contains the serialized
    app spec and program options. It then creates a deployment for
    the actual service program, with the config-map mounted as a
    volume and arguments that point to the app spec and options.
    The deployment and config-map are both run specific, and are
    cleaned up when the program stops.

    • cdap-app-fabric/pom.xml (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/runtime/distributed/DistributedProgramRunner.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-app-fabric/src/main/java/co/cask/cdap/master/environment/k8s/AbstractServiceMain.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-kubernetes/pom.xml (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-kubernetes/src/main/java/co/cask/cdap/k8s/runtime/KubeTwillController.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-kubernetes/src/main/java/co/cask/cdap/k8s/runtime/KubeTwillPreparer.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-kubernetes/src/main/java/co/cask/cdap/k8s/runtime/KubeTwillRunnerService.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-kubernetes/src/main/java/co/cask/cdap/master/environment/k8s/KubeMasterEnvironment.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-kubernetes/src/main/java/co/cask/cdap/master/environment/k8s/PodInfo.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master-spi/pom.xml (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master-spi/src/main/java/co/cask/cdap/master/spi/environment/MasterEnvironment.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/main/java/co/cask/cdap/master/environment/k8s/AppFabricServiceMain.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/main/java/co/cask/cdap/master/environment/k8s/NoopTwillController.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/main/java/co/cask/cdap/master/environment/k8s/NoopTwillPreparer.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/main/java/co/cask/cdap/master/environment/k8s/NoopTwillRunnerService.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/test/java/co/cask/cdap/master/environment/MockMasterEnvironment.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/test/java/co/cask/cdap/master/environment/NoopTwillController.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/test/java/co/cask/cdap/master/environment/NoopTwillPreparer.java (version c18172e4f23b1ff945887332a39b5dfad693a877)
    • cdap-master/src/test/java/co/cask/cdap/master/environment/NoopTwillRunnerService.java (version c18172e4f23b1ff945887332a39b5dfad693a877)