vSphere Tanzu Community Edition - First look & deploy

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey everyone so in this video we are going to be taking a look at the new tanzu community edition if we just take a look at so we're on my ubuntu laptop and what we're going to do is we're going to go and download all of the the stuff that we need to get going i'm just going to add in the version and the operating system of the release all this can be found on the github page and to be fair all of this can also be found in the the vmware document or the open source documentation vmware documentation so all in all you can see over on the right hand side at the top i started this at around 1658 and i've sped up some of the deployment tasks it but all in all it takes around 34 minutes now this video as you'll see doesn't take that long um to run through so i've just downloaded the uh the release and now i'm unpacking that into its own file and then there's an install bash script in there that i'm gonna run now it does work on windows as well um i have i wasn't able to get that on there's an issue within the github repository um saying about i think it's a certificate issue i haven't been able to sort that yet but um everything works fine on here so yeah now i'm gonna run the install.sh one of the caveats or one of the prereqs is to make sure that you've got docker installed and actively working it also goes through about pruning some of the stuff out so whether you're using [Music] drives or anything in there as well i already had docker installed and then i went and installed the the tanzu plug-in as well so i also have cube ctl downloaded for previous demos but let's take a look at what version i'm actually running here okay so i'm also checking the the cluster that i have available within cube ctl but i am going to do a version here and we can do a short version here as well so you know what our client version is and server version so first up we're also going to go and pull a docker image for the ha proxy so i'm going to go and get that command docker pool and just pull that down now there is a warning on the on the official documentation that says about docker hub rate limiting and a couple of caveats on that um that might be worth taking a look at okay so then we're gonna kick off with our tanzu management cluster create and then what this is going to do is going to open because i use that slash ui it's then going to open this under local host and obviously i'm going to flip that to dark mode but as you can see here so from a community edition point of view i've got docker i've got vsphere i've got aws and i've got azure now for the purpose of this walkthrough i want to use everything local and i'm going to deploy my management cluster as well as my workload cluster all through docker so everything local nothing's costing me any money so what i want to do here is i want to also open termina uh yeah terminator which is my terminal and get it into a position where you get to see so you can see here as well once i figure this out so you can see from the original tanzu management cluster create ui command you can then see it goes through and does what it needs to do and then setting up the bootstrapper now what's happening on the right hand side is the process between that so we're setting up the bootstrap cluster we're installing the providers on the bootstrap cluster creating the management cluster and then installing providers on the management cluster and then we're moving the cluster api objects from bootstrap cluster to management cluster all of that's automated but this is what the the length of time really takes now i've completely sped this up over the next um next few minutes so that we don't have to sit and watch that and and this is really the the longest part of the the whole process and i could probably go and and shrink this down as well because what's going to happen is is it's going to you can see on the right hand side on that small log you'll get in writing configuration starting control plane and what's actually happening in the background here is that it looks to be using some sort of kubernetes in docker so if i went uh if i opened another console here or another terminal and i did uh kind get cluster i would i expect to see a cluster being being created there or a cluster already created and everything else is being brought down or or configured accordingly and what this is going to give is that functionality for vsphere tanzu on top so it doesn't really matter whether it's using kind underneath whether it's using aws virtual machines whether it's using aws whether it's using azure it's going to go out and do this and this gives us the ability to do it using the community edition which is obviously free and open source it seems so it gives us a lot of functionality to play around and get things up and running now we're in that speed sped up moment so everything's going to start going very quick obviously you can pause the video and you can check this out but ideally you're just going to run this locally because really the caveat here is that the system requirements here even even are relatively low so in particular i think it's six gig of ram about 15 16 gig of some storage space and then four cpus now most laptops are going to give you that capability this is a pretty rel relatively new cl uh laptop that i'm using okay so that's sped through gives you the the green ticks and basically says installation complete you can now close the browser we're going to head back into terminal make this a little bit bigger so you can see it so at this point this is where we want to go and create our workload cluster so actually if you saw before i cleared it and made it bigger again is that we can we can now go and uh create the cluster using the command but one of the initial to make sure that everything is has gone correctly as we do tanzania management cluster get and you get a breakdown of what that management cluster that actually looks like and how long it's been up but also what versions it's also using and then also you'll see here that we have our tkg hyphen management docker also in our context so we can just flip over to that with the following commands which means we can then go and investigate and use that that management cluster now if i want to get nodes we should see a single control plane i think or maybe two yeah so you get to see here a control plane which is the master and then a another worker node underneath as well and then the next thing let's now create our work workload cluster again we use that tanzu binary tanzu cluster create and i'm just going to call it tkg hyphen workload and again i'm going to speed through this as well so you can see here that we're at 17 17 so it's taken around let's say 20 minutes so far so we've probably got another 15 minutes in real time but obviously as the the power of video editing allows me to shrink this down to a 17 minute video so we can see here that it goes away it click creates it's waiting for the cluster to be initialized and then waiting for the cluster nodes to be available within our new cluster and like i said before if i was to go now into kind i would be and run that kind get cluster i would now see a second cluster created and again i've sped up here so we can now go and list our clusters that are available to us from a workload point of view so you could go and create your many different workload clusters at this point and again we don't see it in here so we manually have to go and add this command which is tanzu cluster cube config get and then we're going to basically merge our tkg workload cluster into our cubes into our cube config file i think i try and be smart here and and basically copy and paste something it doesn't work so i just actually say let's just take the actual the example that they give you okay so now we're in the context of our work of our workload cluster our tkg hyphen workload and this is actually where we want to start provisioning our workloads so you can see as well if i do a docker ps shrink that down a bit you can see at this point this is what we've got actually running on our local machine but in theory this gives us access to tkg tkgm but ultimately all in in docker as well now at this point we also don't have any um storage classes with so anything we could only run stateless workloads we could only run other other pods within our kubernetes clusters if we want that capability of being able to store stateful workloads then we'd have to create a storage class so in order to do that then we'll jump onto this next section where we're actually going to deploy some of those providers that were previously mentioned or packages um and you can see here that running tandoo package available list gives us nothing to begin with i run it again as well and then realize actually i need to go and actually add some package repositories before we can actually gain access into that so again you get to see 1730 so we're now at the 30 minute mark before we're um before we're fully up and running and available to start creating our our applications and i guess depending on the the spec of the machine would depend on how fast that would actually turn around so i'm going to add this tanzu package again this is all in the documentation and then me being really impatient the package available list isn't going to be there yet because it's going to be reconciling and it takes a couple more maybe seconds for that to come up and then basically what i'm going to do is because we're using kind underneath is i'm going to take one of these packages that we have available to us and i'm going to just quickly deploy the uh the local storage package so we should see re reconciling success shortly and then we'll get the list of available packages and then we can get that in installed and that's really what i wanted to show in this this short video of of it and it's still fresh from being released yesterday so okay so succeeded is there successful so now if we go and list we see our repository and if we go and list out the available packages we should see things like cert manager things like external dns fluent gatekeeper grafana harbour etcetera but the one that i want is actually the local path storage and we can go and take a look at that because we want to know what is actually available so if we then go and take that we can then see what versions are actually available which obviously we're not expecting a long list of different versions today but we do have two that we can choose from and you can see that they have dated the same um and i'm sure there's a reason behind that but what i want to do is i want to actually roll out that version 0.0.20 so i want to do tanzu package install and then we can say the display name and then we're going to give the path name or package package name which is that long local path storage community and then we're going to give the version that we want to use which is the naught point naught 2-0 but obviously you could go and follow the same steps and bring out all of those other packages that are in there and then to finish off so that's going to go and install that and then before we finish up like so this gives you a good solid base to be able to then start to go and run your stateful applications your applications within this cluster namely what i'll try and do next is actually deploy casting k10 as well as some applications and start start protecting those so if we now go and look and what this automatically does is actually it creates that storage class for you so you can see that it's using ranch io local path but that's all been embedded into that package it's all been created because of that package i can also run cubester which is an open source tool to be able to check up on your on your kubernetes storage options you can see here that i can run an fio test against that storage but that's basically it it's not a csr driver so i'm unable to to run another test hopefully that was useful [Music] you
Info
Channel: Michael Cade
Views: 2,705
Rating: undefined out of 5
Keywords: vSphere, Kubernetes, vSphere Tanzu, Tanzu, Kubectl, K8s, VMware, Cloud-Native
Id: qKRdQ1fG95c
Channel Id: undefined
Length: 18min 0sec (1080 seconds)
Published: Mon Oct 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.