You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Yordan Kostov <Yo...@NSOGROUP.COM> on 2021/05/25 14:43:22 UTC

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



RE: Cloudstack Kubernetes service

Posted by Yordan Kostov <Yo...@NSOGROUP.COM>.
Thank you Pearl,

	I will check this out 😊.

Regards,
Jordan

-----Original Message-----
From: Pearl d'Silva <pe...@shapeblue.com> 
Sent: Thursday, May 27, 2021 12:31 PM
To: users@cloudstack.apache.org
Subject: Re: Cloudstack Kubernetes service


[X] This message came from outside your organization


Hi Jordan,

CNI_VERSION can be set to the latest available one. (https://urldefense.com/v3/__https://github.com/containernetworking/cni/tags__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQaxYBAoSM$ ) CRICTL_VERSION should be set to the Kubernetes version that you want to build the iso for - you may refer to https://urldefense.com/v3/__https://github.com/kubernetes-sigs/cri-tools/tags__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQaxTMtLb4$  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://urldefense.com/v3/__https://cloud.weave.works/k8s/net?k8s-version=1.12.5__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQa3gKYxMd$ ) 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://urldefense.com/v3/__https://raw.githubusercontent.com/kubernetes/dashboard/__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQa6VAftFj$ <version>/aio/deploy/recommended.yaml<https://urldefense.com/v3/__https://raw.githubusercontent.com/kubernetes/dashboard/__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQa6VAftFj$ </aio/deploy/recommended.yaml> (you can refer to the following tags to choose the version: https://urldefense.com/v3/__https://github.com/kubernetes/dashboard/tags__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQa5T7U2lv$ )

Regards,
Pearl

________________________________
From: Yordan Kostov <Yo...@NSOGROUP.COM>
Sent: Tuesday, May 25, 2021 8:13 PM
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Cloudstack Kubernetes service

Hello everyone,

                I am looking around the Kubernetes service for Cloudstack -> https://urldefense.com/v3/__http://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQaxMmsySv$

                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://urldefense.com/v3/__https://cloud.weave.works/k8s/net?k8s-version=1.12.5__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQa3gKYxMd$ " https://urldefense.com/v3/__https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta1/aio/deploy/recommended.yaml__;!!A6UyJA!0wFkpz5u9SrLNu3MD1r5y46O9V1Q8b1zMbZdcr7ssijj8oQzSnb2_otQomqjH2VI5CBQa1pchjN_$

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






Re: Cloudstack Kubernetes service

Posted by Pearl d'Silva <pe...@shapeblue.com>.
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 <Yo...@NSOGROUP.COM>
Sent: Tuesday, May 25, 2021 8:13 PM
To: users@cloudstack.apache.org <us...@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