• Working With Kubernetes Pipelines & Tasks In VMware Code Stream
    VMware Code Stream brings a great feature to manage Kubernetes clusters via tasks in Code Stream pipelines. If you’re familiar with Kubernetes and comfortable working with K8s YAML definition files. You should find that working with Kubernetes tasks and pipelines in VMware Code Stream will come fairly natural. In this post we’ll run through a simple pipeline example using Kubernetes tasks that will deploy an Nginx pod, expose a service, and create an ingress resource. we’ll use a few different methods to read a YAML definition and deploy a resource. Lastly we’ll clean-up and delete the resources we created. Before…
  • Unable to form K8S API_PATH URL based on apiVersion for YAML content [VMware Code Stream]
    Recently while working in VMware Code Stream to create a Kubernetes pipeline I ran into an error attempting to create an Ingress resource. The error, as stated in the horrible title of this post, was ‘Unable to form K8S API_PATH URL based on apiVersion for YAML content‘. I was running vRealize Automation 8.2 on-prem with an endpoint to a Kubernetes 1.20 cluster. I knew the YAML definition I was using was good. I had used kubectl from the CLI to deploy an ingress resource successfully with this code. The error seemed to indicate an issue with the API / apiVersion.…
  • Creating A Kubernetes Endpoint In VMware Code Stream
    To use the Kubernetes task type in VMware Code Stream you are first required to create a Kubernetes endpoint to your K8s cluster. Unlike Projects in Code Stream which are shared between Cloud Assembly. Endpoints in Code Stream differ to endpoints in Cloud Assembly. Creating an endpoint for Kubernetes is a straight forward process. In Code Stream click on Configure / Endpoints Click on New Endpoint Select a Project that will use the Endpoint. Select Kubernetes for the Type and give the endpoint a name. Type in the full URL to your Kubernetes cluster, including the port. This is usually…
  • Configuring Terraform Integration in vRA 8
    With the release of vRealize Automation 8.2 you now have the ability to integrate Terraform into Cloud Assembly. This allows you to create cloud templates and use Terraform as a resource type on the canvas and in your YAML code. You can then turn those cloud templates leveraging Terraform into catalog items in Service Broker for users to request. As with a lot of things vRA, it’s never that simple though. A few prerequisite are needed to start using Terraform in vRA. Firstly a Kubernetes cluster is required. The purpose of Kubernetes is for vRA to spin up a POD…
  • Install Kubernetes Metrics Server With Self-Signed Certificates
    Kubernetes Metrics Server provides resource usage metrics of nodes and pods within a Kubernetes cluster. With it you can track CPU and memory usage within the cluster. It can then be leveraged for vertical and horizontal Pod scaling. Installation is fairly simple but if you’re using self-signed certificates within your cluster it will fail to run and collect metrics. Below I detail the steps to quickly and easily install and configure Kubernetes Metrics Server using self-signed certificates. If you have internet access from your cluster by far the easiest way to install is directly from the Kubernetes Sigs metric-server repo…
  • Demystifying the Certified Kubernetes Application Developer (CKAD) Certification
    Recently I obtained my Certified Kubernetes Application Developer (CKAD) certification. This was the second Kubernetes exam I took from the Linux Foundation in as many months. I’ve really enjoyed studying for these certifications. I know I can’t believe I’m saying that. But the practical exam format has been a nice change from the common multiple choice we’re all use to. In my previous post on my CKA journey, Certified Kubernetes Administrator Achieved – Why, How, And All That Stuff, I discuss a lot topics I found myself, and others, asking. For this post I thought I might focus a little…
  • Certified Kubernetes Administrator Achieved -- Why, How, And All That Stuff.
    I’m really happy, and relieved, to say that this past weekend I obtained my CKA (Certified Kubernetes Administrator) certification. It’s been a real enjoyable and eye opening learning experience for me. Throughout and in the lead up to deciding to taking this exam I had a lot of questions. So I thought I would talk through some of the questions I asked. I guess firstly I should set the scene on why I decided to take the exam. I work for VMware and over the last few years VMware have been spending up big on Kubernetes IP. When I say…