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]
