Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4445

Provide a kylin on kubernetes solution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v3.1.0
    • Integration
    • Sprint 49

    Description

      Backgroud

      From experience of kylin user, like OLX group, DXY.cn and eBay, they choose to deploy kylin and its dependency in Kubernetes . And their approach/practice is proved works well in production env and these deployment template could be share in Kylin community.

       

      This pic is an example of Kylin on Kubernetes 's architecture.


      Following are some of the patch lists:

       

      Proposal

      At high level, I proposed to provided two deployment templates, one for quick-start purpose, another for production/distributed deployment.
       

      Quick-start template is for one node deployment with an ALL kylin instance.
      Production template is for multi-nodes deployment with a few of ALL/job/query kylin instances; and some other service like memcached and filebeat will help to solve log collection/query cache/session sharing.

      Following is the structure of provided deployment template:

      1. config is the place of store configuration file of Hadoop/Kylin ;
      2. docker is the place which you can build hadoop-client and kylin-client docker image yourself.
      3. kubernetes is the place for storing deployment template.
      apache-kylin:k8s/ (kubernetes*) $ tree -L 3                                                                                                  [16:31:09]
      .
      ├── config
      │   ├── production
      │   │   ├── filebeat
      │   │   ├── hadoop
      │   │   ├── kerberos
      │   │   ├── kylin-all
      │   │   ├── kylin-job
      │   │   ├── kylin-more
      │   │   ├── kylin-query
      │   │   ├── sso
      │   │   ├── streaming-receiver
      │   │   └── tomcat
      │   └── quickstart
      │       ├── hadoop
      │       └── kylin
      ├── docker
      │   ├── build.sh
      │   ├── hadoop-client
      │   │   ├── CDH-5.7
      │   │   ├── README.MD
      │   │   ├── apache-hadoop2.7
      │   │   └── provided-binary
      │   └── kylin-client
      │       ├── Dockerfile
      │       ├── apache-kylin-x.x.x-bin-cdh57
      │       ├── bin
      │       ├── build.sh
      │       └── crontab.txt
      └── kubernetes
          ├── production
          │   ├── check-deploy.sh
          │   ├── cleanup.sh
          │   ├── deploy-kylin.sh
          │   └── deployment
          └── quickstart
              ├── check-cluster.sh
              ├── cleanup.sh
              ├── deploy-kylin.sh
              └── deployment
      

      Credits

      Attachments

        1. image-2020-04-22-17-35-53-990.png
          282 kB
          Xiaoxiang Yu

        Issue Links

          Activity

            People

              hit_lacus Xiaoxiang Yu
              hit_lacus Xiaoxiang Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 432h Original Estimate - 432h
                  432h
                  Remaining:
                  Time Spent - 242h Remaining Estimate - 550h
                  550h
                  Logged:
                  Time Spent - 242h Remaining Estimate - 550h
                  242h