<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tanzu Archives - OVHcloud Blog</title>
	<atom:link href="https://blog.ovhcloud.com/tag/tanzu/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.ovhcloud.com/tag/tanzu/</link>
	<description>Innovation for Freedom</description>
	<lastBuildDate>Mon, 03 Jul 2023 08:06:30 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.ovhcloud.com/wp-content/uploads/2019/07/cropped-cropped-nouveau-logo-ovh-rebranding-32x32.gif</url>
	<title>Tanzu Archives - OVHcloud Blog</title>
	<link>https://blog.ovhcloud.com/tag/tanzu/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Installation of VMware Tanzu Community Edition in OVHcloud</title>
		<link>https://blog.ovhcloud.com/installation-of-vmware-tanzu-community-edition-in-ovhcloud/</link>
		
		<dc:creator><![CDATA[Gbadie Lue,&nbsp;François Loiseau&nbsp;and&nbsp;Pierre-Henri Querol]]></dc:creator>
		<pubDate>Mon, 04 Apr 2022 14:59:00 +0000</pubDate>
				<category><![CDATA[OVHcloud Engineering]]></category>
		<category><![CDATA[Kubernetes]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[OVHcloud]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[Tanzu]]></category>
		<guid isPermaLink="false">https://blog.ovhcloud.com/?p=21998</guid>

					<description><![CDATA[Install VMware Tanzu Community Edition in your OVHcloud environment<img src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Finstallation-of-vmware-tanzu-community-edition-in-ovhcloud%2F&amp;action_name=Installation%20of%20VMware%20Tanzu%20Community%20Edition%20in%20OVHcloud&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></description>
										<content:encoded><![CDATA[
<p class="has-text-align-right has-small-font-size"><em>A proof of concept by Gbadie Lue, translated and adapted by Pierre Querol with borrowed content from François Loiseau. </em></p>



<p>T<a href="https://tanzucommunityedition.io/" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">anzu Community Edition</a> (TCE) is a VMware integrated Kubernetes platform. Following a set of simple prerequisites, you can install it in your OVHcloud environment:</p>



<ul class="wp-block-list"><li>A VM that has Docker &amp; Kubectl installed</li><li>A compliant vCenter Server Appliance (vCSA): capacity and network settings</li><li>a DHCP server in the VLAN you want to deploy your cluster</li></ul>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0926-1024x537.jpg" alt="Installation of VMware Tanzu Community Edition in OVHcloud" class="wp-image-22850" width="512" height="269" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0926-1024x537.jpg 1024w, https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0926-300x157.jpg 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0926-768x403.jpg 768w, https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0926.jpg 1200w" sizes="(max-width: 512px) 100vw, 512px" /></figure></div>



<h2 class="wp-block-heading" id="what-is-tanzu-community-edition-tce">What is Tanzu Community Edition (TCE)?</h2>



<p>VMware Tanzu Community Edition is a full-featured, easy to manage Kubernetes platform. It is avaible at no additional costs, 100% open source and support by the community<br>The project enables the creation of application platforms. It does this by leveraging Cluster API to provide declarative deployment and management of Kubernetes clusters. Kubernetes acts as the foundation in which we orchestrate workloads. With this foundation in place, Tanzu Community Edition enables the installation of platform packages that support applications running in clusters.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="605" height="338" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/Image1.png" alt="" class="wp-image-22000" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/Image1.png 605w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/Image1-300x168.png 300w" sizes="(max-width: 605px) 100vw, 605px" /></figure></div>



<p>*note : app catalog and build service are planned developments.</p>



<h2 class="wp-block-heading" id="architecture">Architecture</h2>



<p>The installation is performed in an OVHcloud PREMIER 48 Datacenter with an NSX-V.<br>vSphere is on version 6.7 (6.7u3 is a minimum requirement for TCE).</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0927-1024x481.png" alt="" class="wp-image-22852" width="768" height="361" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0927-1024x481.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0927-300x141.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0927-768x361.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2022/04/IMG_0927.png 1472w" sizes="(max-width: 768px) 100vw, 768px" /></figure></div>



<p>The NSX gateway will play the role of Firewall and DHCP. Alternatives to NSX are possible (pfSense is a common occurrence)<br>A Linux distribution VM (A) will serve as Bootstrap Terminal inside the environment with a management cluster (B) and a workload cluster (C) to host the rest of the VMs.</p>



<h2 class="wp-block-heading" id="bootstrap-vm">Bootstrap VM</h2>



<p>The Bootstrap VM is system agnostic.<br>It will be your main communication device with the environment and will need to have the following elements installed</p>



<ul class="wp-block-list"><li>NTP (time synchronization)</li><li>Docker (necessary for Tanzu installer)</li><li>Kubectl (cluster communication software)</li><li>Tanzu CLI (cluster management software)</li></ul>



<p>The simple way to achieve this is a Linux distribution with Brew installed to allow for simple package deployment but there are alternative ways and systems that will get you to the same result.<br>Check out our <a href="https://docs.ovh.com/gb/en/private-cloud/deploying-a-virtual-machine" target="_blank" rel="noreferrer noopener" data-wpel-link="exclude">Deploying a virtual&nbsp;machine</a> doc if you need help.</p>



<h2 class="wp-block-heading" id="vcsa-preparation">VCSA preparation</h2>



<p>The <a href="https://tanzucommunityedition.io/docs/latest/vsphere" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">official TCE documentation</a> offers a “Before you begin” section to verify that your datacenter is compliant:</p>



<ul class="wp-block-list"><li>Use an administrator account to perform the installation. A full description of the minimum required rights is available <a href="https://tanzucommunityedition.io/docs/latest/ref-vsphere" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">here</a>.</li><li>The datacenter must have the capacity (storage and compute) to host TCE and the subsequent deployments</li><li>Port 6643 (Kubernetes API) and 443 (vCenter API) must be open and NTP service must run on all hosts and VM</li><li>DHCP must be installed and running on the vlan where clusters will be deployed</li></ul>



<h2 class="wp-block-heading" id="management-cluster">Management Cluster</h2>



<p><a href="https://tanzucommunityedition.io/docs/latest/vsphere-install-mgmt" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external">Deploy a Management Cluster to vSphere</a> will be our guide into deployment.</p>



<p>On the Bootstrap VM, launch the management-cluster cmdlet with the UI argument.</p>



<pre class="wp-block-code"><code class="">tanzu management-cluster create --ui --bind yourvmip:5555 --browser none</code></pre>



<p>Or, alternatively:<code> tanzu management-cluster create –ui</code></p>



<p>The Tanzu deployment UI pops up.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/02mgmt.png" alt="" class="wp-image-22008" width="584" height="417" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/02mgmt.png 510w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/02mgmt-300x214.png 300w" sizes="auto, (max-width: 584px) 100vw, 584px" /></figure></div>



<p>Choose VMware vSphere deployment. The installation is as easy as filling a form.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/deploy.png" alt="" class="wp-image-22032" width="808" height="482" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/deploy.png 808w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/deploy-300x179.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/deploy-768x458.png 768w" sizes="auto, (max-width: 808px) 100vw, 808px" /></figure></div>



<p>Click on <em>Deploy Management Cluster</em> when ready. Upon success, your datacenter will show your new Management Cluster.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/08mgmt.png" alt="" class="wp-image-22034" width="574" height="152" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/08mgmt.png 765w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/08mgmt-300x79.png 300w" sizes="auto, (max-width: 574px) 100vw, 574px" /></figure></div>



<p>Get the cluster credentials for future interactions.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/09state.png" alt="" class="wp-image-22036" width="900" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/09state.png 919w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/09state-300x48.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/09state-768x124.png 768w" sizes="(max-width: 919px) 100vw, 919px" /></figure></div>



<p>The following screens give you command examples to verify the cluster is active and working.</p>



<ul class="wp-block-list"><li>List installed components:</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/10components.png" alt="" class="wp-image-22039" width="740" height="154" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/10components.png 987w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/10components-300x62.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/10components-768x160.png 768w" sizes="auto, (max-width: 740px) 100vw, 740px" /></figure></div>



<ul class="wp-block-list"><li>List nodes:</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/11nodes.png" alt="" class="wp-image-22038" width="704" height="138" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/11nodes.png 939w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/11nodes-300x59.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/11nodes-768x150.png 768w" sizes="auto, (max-width: 704px) 100vw, 704px" /></figure></div>



<ul class="wp-block-list"><li>Cluster state:</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" decoding="async" width="564" height="516" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/12state.png" alt="" class="wp-image-22037" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/12state.png 564w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/12state-300x274.png 300w" sizes="auto, (max-width: 564px) 100vw, 564px" /></figure></div>



<h2 class="wp-block-heading" id="workload-cluster">Workload Cluster</h2>



<p>You can use a reworked copy the management cluster configuration file to build your workload cluster.</p>



<p>Go to the file path: <code>cd ~/.config/tanzu/tkg/clusterconfigs</code></p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/13path.png" alt="" class="wp-image-22043" width="661" height="93" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/13path.png 881w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/13path-300x42.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/13path-768x108.png 768w" sizes="auto, (max-width: 661px) 100vw, 661px" /></figure></div>



<p>The following command will duplicate the file to a new one. A file editor like vim will allow you to modify the settings.</p>



<pre class="wp-block-code"><code class="">cp filename.yaml newfilename.yaml</code></pre>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/14copy.png" alt="" class="wp-image-22045" width="687" height="201" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/14copy.png 916w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/14copy-300x88.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/14copy-768x225.png 768w" sizes="auto, (max-width: 687px) 100vw, 687px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-2-1024x426.png" alt="" class="wp-image-22052" width="768" height="320" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-2-1024x426.png 1024w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-2-300x125.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-2-768x319.png 768w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-2.png 1097w" sizes="auto, (max-width: 768px) 100vw, 768px" /></figure></div>



<p>Deploy the new cluster:</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-3.png" alt="" class="wp-image-22054" width="691" height="326" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-3.png 921w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-3-300x141.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-3-768x362.png 768w" sizes="auto, (max-width: 691px) 100vw, 691px" /></figure></div>



<p>The new workload cluster can be verified now:</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-4.png" alt="" class="wp-image-22055" width="479" height="248" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-4.png 638w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-4-300x155.png 300w" sizes="auto, (max-width: 479px) 100vw, 479px" /></figure></div>



<p>It is also visible in your Datacenter.</p>



<p>Get the cluster credentials for future interactions:</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-5.png" alt="" class="wp-image-22056" width="742" height="216" srcset="https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-5.png 989w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-5-300x87.png 300w, https://blog.ovhcloud.com/wp-content/uploads/2022/02/image-5-768x224.png 768w" sizes="auto, (max-width: 742px) 100vw, 742px" /></figure></div>



<p>TCE is now ready to host your applications and our Team can absolutely help you tailor the power of Tanzu to your needs.</p>
<img loading="lazy" decoding="async" src="//blog.ovhcloud.com/wp-content/plugins/matomo/app/matomo.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fblog.ovhcloud.com%2Finstallation-of-vmware-tanzu-community-edition-in-ovhcloud%2F&amp;action_name=Installation%20of%20VMware%20Tanzu%20Community%20Edition%20in%20OVHcloud&amp;urlref=https%3A%2F%2Fblog.ovhcloud.com%2Ffeed%2F" style="border:0;width:0;height:0" width="0" height="0" alt="" />]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
