Preparation for Use, Client Installation

 

To create/edit/use Kubernetes in vCloud Director, you need to use the CSE client, which operates on top of the VCD-CLI client. The client can be installed on any workstation as long as it has access to your vCloud networks. For example, you can create a server in your vCD or connect via VPN to your vCD.

The CSE client requires Python version 3.7.3 or higher (!) – this is crucial, otherwise, the installation will fail.

Many users encounter difficulties installing Python 3.7, so below we provide an example of how to install Python 3.7.4 on CentOS 7:

At the time of writing, Python 3.7 is not available in official repositories, so it must be compiled manually.

Installing required components for Python

# yum install gcc openssl-devel bzip2-devel libffi-devel sqlite-devel

Download and Extract the Python Distribution from the Official Website

# cd /usr/src  
# wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz  
# tar xzf Python-3.7.4.tgz  

Installation

# cd Python-3.7.4  
# ./configure --enable-optimizations  
# make altinstall  

After Successful Installation, Verify the New Python and pip3 Versions

# python3.7 --version  
Python 3.7.4  
# pip3.7 --version  
pip 19.3.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)  

Python 3.7 installation is now complete.

Next, you can proceed with installing the VCD-CLI and CSE clients:

Installing VCD-CLI and CSE

1. # pip3.7 install vcd-cli  
2. # pip3.7 install container-service-extension  

Verify that the clients are installed correctly (if successful, you should see their versions)

# vcd version  
# cse version  

Connecting CSE to VCD-CLI

To do this, you need to log in to vCloud via VCD-CLI:

# vcd login vcd.cloud4u.com (tenant_name) (user_name)  
Password:  
user_name logged in, org: 'tenant_name', vdc: 'name_VDC'  

After the first login, a configuration file should be generated at ~/.vcd-cli/profiles.yaml

Edit it and add the following lines at the end:

# vim ~/.vcd-cli/profiles.yaml  

Add these lines at the end and save:

extensions:  
  - container_service_extension.client.cse  

Verify the CSE Version via VCD-CLI

If successful, you should see the CSE version:

# vcd cse version  

Client installation is now complete. You can proceed to cluster creation.

 

 

Have you tried Cloud4U cloud services? Not yet?

Visit website

Try for free

  • 79 Users Found This Useful
Was this answer helpful?

Related Articles

NFS node management and PV creation

  Advantages of using NFS in Kubernetes   Using existing storage. You can mount an existing...

Managing a Kubernetes cluster

Overview Learn the basic commands that allow users to create, manage, and delete Kubernetes...

Adding a network load balancer

Данная инструкция описывает как настроить баллансировщик для Kubernetes Cluster созданного c...

Introduction to CSE

The Container Service Extension (CSE) is an extension to VMware Cloud Director (VCD) that helps...

How to create a Kubernetes cluster via vCloud Director

To create the cluster, you need to log in to a personal tenant with an administrator user at...