一、keadm beta init
provides a solution for integrating Cloudcore Helm Chart.
keadm beta init --advertise-address=$ip --kubeedge-version=1.10.0 --kube-config=/root/.kube/config --force --set cloudCore.modules.dynamicController.enable=true
keadm beta init 使用helm 安装cloudcore.
/kubeedge/manifests/charts/cloudcore/README.md 可以查看cloucore 的Custom Values
example installation:
helm upgrade --install cloudcore ./cloudcore --namespace kubeedge \
--create-namespace -f ./cloudcore/values.yaml --set \
cloudCore.modules.cloudHub.advertiseAddress[0]=192.168.88.6
keadm beta init
通过内置文件/kubeedge/manifests/charts/cloudcore/values.yaml 完成cloudcore的基本配置。
Usage:
keadm beta init [flags]
Examples:
keadm beta init
- This command will render and install the Charts for Kubeedge cloud component
keadm beta init --advertise-address=127.0.0.1 --profile version=v1.9.0 --kube-config=/root/.kube/config
- kube-config is the absolute path of kubeconfig which used to secure connectivity between cloudcore and kube-apiserver
- a list of helm style set flags like "--set key=value" can be implemented, ref: https://github.com/kubeedge/kubeedge/tree/master/manifests/charts/cloudcore/README.md
Flags:
--advertise-address string Use this key to set IPs in cloudcore's certificate SubAltNames field. eg: 10.10.102.78,10.10.102.79
-d, --dry-run Print the generated k8s resources on the stdout, not actual excute. Always use in debug mode
--external-helm-root string Add external helm root path to keadm.
-f, --files string Allow appending file directories of k8s resources to keadm, separated by commas
--force