Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 952 Bytes

安装OpenKruiseGame.md

File metadata and controls

46 lines (30 loc) · 952 Bytes

安装OpenKruiseGame需安装Kruise与Kruise-Game,且要求 Kubernetes版本 >= 1.16

安装Kruise

建议采用 helm v3.5+ 来安装 Kruise

# Firstly add openkruise charts repository if you haven't do this.
$ helm repo add openkruise https://openkruise.github.io/charts/

# [Optional]
$ helm repo update

# Install the latest version.
$ helm install kruise openkruise/kruise --version 1.3.0 --set featureGates="PodProbeMarkerGate=true"

安装Kruise-Game

方式一:helm 安装

$ helm install kruise-game openkruise/kruise-game --version 0.2.0

方式二:编译安装

  1. 编辑Makefile,更改其中{IMG}字段,将其改为自身的仓库地址

  2. 编译并打包kruise-game-manager镜像

make docker-build
  1. 将打包完成的镜像上传至镜像仓库
make docker-push
  1. 在Kubernetes集群(~/.kube/conf)部署kruise-game-manager组件
make deploy