Code Monkey home page Code Monkey logo

palo-deploy-k8s's Introduction

palo-deploy-k8s

使用K8S部署Apache Doris (incubating)(原百度palo)

快速部署PALO集群

注:集群用到的所有二进制文件已打包好供下载 https://pan.baidu.com/s/11Hw7I6DnDj4GdftqzgUWRQ

# 创建namespace
kubectl apply -f palo-ns.yaml

# 部署FE
kubectl apply -f palo-fe.yaml

# 部署BE
kubectl apply -f palo-be.yaml

配置PALO集群

通过mysql客户端连接FE控制台:

# 配置BE
mysql -h <NODE_IP> -P 29030 -uroot

在FE控制台中配置palo集群:

# 查看FE
SHOW PROC '/frontends';

# 查看BE
ALTER SYSTEM ADD BACKEND "<CLUSTER_IP>:9050";
SHOW PROC '/backends';

通过浏览器访问Palo Web页面:http://<NODE_IP>:28030/

PALO镜像

有三种获取方式:

  1. 下载镜像,载入本地
docker load < image-palo-fe_<tag>.tar.gz
docker load < image-palo-be_<tag>.tar.gz
  1. 下载编译好的压缩包,自己build镜像
# FE
cd palo-deploy-k8s/docker/fe/
wget fe_v0.9.21.tar.gz
tar zxf fe_v0.9.21.tar.gz
wget jdk-8u212-linux-x64.tar.gz
docker build -t palo-fe:<tag> .

# BE
cd palo-deploy-k8s/docker/be/
wget be_v0.9.21.tar.gz
tar zxf be_v0.9.21.tar.gz
docker build -t palo-be:<tag> .
  1. 自己编译PALO、打镜像,编译过程略。

palo-deploy-k8s's People

Contributors

zhoufwind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

palo-deploy-k8s's Issues

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.