Hi Jordan,

CNI_VERSION can be set to the latest available one. 
(https://github.com/containernetworking/cni/tags)
CRICTL_VERSION should be set to the Kubernetes version that you want to build 
the iso for - you may refer to 
https://github.com/kubernetes-sigs/cri-tools/tags to get the corresponding 
version.
WEAVENET_NETWORK_YAML_CONFIG - to get the correct weave net config file, pass 
the corresponding kubernetes version as part of the query string as shown in 
the example (https://cloud.weave.works/k8s/net?k8s-version=1.12.5)
For DASHBOARD_YAML_CONFIG, you can use the one as specified in the doc, or you 
can use any version of your choice by updating the specific version into the 
url: 
https://raw.githubusercontent.com/kubernetes/dashboard/<version>/aio/deploy/recommended.yaml<https://raw.githubusercontent.com/kubernetes/dashboard/</aio/deploy/recommended.yaml>
 (you can refer to the following tags to choose the version: 
https://github.com/kubernetes/dashboard/tags)

Regards,
Pearl

________________________________
From: Yordan Kostov <yord...@nsogroup.com>
Sent: Tuesday, May 25, 2021 8:13 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Cloudstack Kubernetes service

Hello everyone,

                I am looking around the Kubernetes service for Cloudstack -> 
http://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html

                During installation this command is executed:
# ./create-kubernetes-binaries-iso.sh OUTPUT_PATH KUBERNETES_VERSION 
CNI_VERSION CRICTL_VERSION WEAVENET_NETWORK_YAML_CONFIG DASHBOARD_YAML_CONFIG

Which is exemplified as
# ./create-kubernetes-binaries-iso.sh ./ 1.12.5 0.7.1 1.12.0 
"https://cloud.weave.works/k8s/net?k8s-version=1.12.5"; 
https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta1/aio/deploy/recommended.yaml

My question is where do I collect the values for command attributes? and how 
should I find what is their configuration when it I files that should be 
pointed to?

  *   CNI_VERSION
  *   CRICTL_VERSION
  *   WEAVENET_NETWORK_YAML_CONFIG
  *   DASHBOARD_YAML_CONFIG

Best regards,
Jordan



 

Reply via email to