[
https://issues.apache.org/jira/browse/KYLIN-4446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17093459#comment-17093459
]
ASF GitHub Bot commented on KYLIN-4446:
---------------------------------------
hit-lacus edited a comment on pull request #1182:
URL: https://github.com/apache/kylin/pull/1182#issuecomment-619862166
## Create Kylin Query Service
```shell
root@open-source:/home/ubuntu/kylin-kubernetes/kubernetes/example/deployment#
kubectl create configmap -n kylin-example kylin-query-config \
> --from-file=../config/kylin-query/kylin-kafka-consumer.xml \
> --from-file=../config/kylin-query/kylin_hive_conf.xml \
> --from-file=../config/kylin-query/kylin_job_conf.xml \
> --from-file=../config/kylin-query/kylin_job_conf_inmem.xml \
> --from-file=../config/kylin-query/kylin-server-log4j.properties \
> --from-file=../config/kylin-query/kylin-spark-log4j.properties \
> --from-file=../config/kylin-query/kylin-tools-log4j.properties \
> --from-file=../config/kylin-query/kylin.properties \
> --from-file=../config/kylin-query/setenv.sh \
> --from-file=../config/kylin-query/setenv-tool.sh \
> --dry-run -o yaml | kubectl apply -f -
W0427 12:36:38.484197 10902 helpers.go:535] --dry-run is deprecated and
can be replaced with --dry-run=client.
configmap/kylin-query-config configured
root@open-source:/home/ubuntu/kylin-kubernetes/kubernetes/example/deployment#
kubectl apply -f kylin-query
service/kylin-query-svc created
statefulset.apps/kylin-query created
root@open-source:/home/ubuntu/kylin-kubernetes/kubernetes/example/deployment#
kubectl get pod -n kylin-example
NAME READY STATUS RESTARTS AGE
kylin-job-0 2/2 Running 0 28m
kylin-memcached-0 1/1 Running 0 44m
kylin-query-0 2/2 Running 0 11s
root@open-source:/home/ubuntu/kylin-kubernetes/kubernetes/example/deployment#
kubectl get statefulset -n kylin-example
NAME READY AGE
kylin-job 1/1 28m
kylin-memcached 1/1 44m
kylin-query 1/1 19s
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Kylin on kubernetes in a quickstart env
> ---------------------------------------
>
> Key: KYLIN-4446
> URL: https://issues.apache.org/jira/browse/KYLIN-4446
> Project: Kylin
> Issue Type: Sub-task
> Components: Integration
> Reporter: Xiaoxiang Yu
> Assignee: Xiaoxiang Yu
> Priority: Major
> Labels: kubernetes
> Fix For: v3.1.0
>
> Original Estimate: 48h
> Time Spent: 2h
> Remaining Estimate: 46h
>
> For a quick-start/PoC purpose, please consider use this template, it will
> only deploy one Kylin instance with role {color:#de350b}*ALL* {color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)