---
title: "Deploy on VMware vSphere Kubernetes Service (VKS) | Cosmonic"
description: "Step-by-step guide to installing Cosmonic Control on VMware vSphere Kubernetes Service (VKS) with Contour ingress and monitoring."
canonical: "https://cosmonic.com/docs/deployment-guides/cosmonic-control-on-vmware-vsphere-kubernetes-service/"
---

# Deploy on VMware vSphere Kubernetes Service (VKS)

## Overview

This deployment guide demonstrates how to install Cosmonic Control on a [**VMware vSphere Kubernetes Service (VKS)**](https://www.vmware.com/products/cloud-infrastructure/vsphere-kubernetes-service) cluster, enabling the cluster to run both traditional pod deployments and WebAssembly (Wasm) workloads.

The deployment process includes the following steps:

1. **Deploy Helm charts** for Cosmonic Control and a HostGroup
2. **Configure Contour ingress** to route subdomains to the **Cosmonic Control Envoy service** for xDS-based Wasm workload routing
3. **Set up Contour ingress** to the **Perses dashboard** for OpenTelemetry (OTEL) querying and monitoring

For an overview of the Cosmonic Control architecture, refer to the [Architecture documentation](https://cosmonic.com/docs/architecture/).

## Requirements

To follow this guide, you will need a VKS cluster (**minimum VKS 3.5+ required**), as well as typical VMware Cloud Foundation (VCF) and Kubernetes tooling:

- [Helm](https://helm.sh/docs) v3.8.0+
- [`vcf` CLI](https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vcf-9-0-and-later/9-0/building-your-cloud-applications/getting-started-with-the-tools-for-building-applications/installing-and-using-vcf-cli-v9.html)

Before installing Cosmonic Control, ensure that [Contour](https://projectcontour.io/) is configured as an ingress controller and [cert-manager](https://cert-manager.io/) is installed (recommended for TLS support).

## Set up VKS Cluster

The `vcf` CLI makes it easy to extend your cluster by using the `vcf addons` command. Additional information is available in [the `vcf` CLI documentation](https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vsphere-supervisor-services-and-standalone-components/latest/managing-vsphere-kuberenetes-service-clusters-and-workloads/managing-add-ons-in-vks-clusters/view-available-add-ons-using-the-vcf-cli.html).

#### Add VKS standard add-ons

```bash
vcf addon repository add vks-repo --url projects.packages.broadcom.com/vsphere/supervisor/packages/2025.10.22/vks-standard-packages:3.5.0-20251022 -n packages
```

#### Install cert-manager

```bash
vcf addon install cert-manager -p cert-manager.kubernetes.vmware.com --version 1.18.2+vmware.2-vks.2 -n packages
```

#### Install Contour

Follow the [VMware VCF documentation](https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vsphere-supervisor-services-and-standalone-components/latest/managing-vsphere-kuberenetes-service-clusters-and-workloads/installing-standard-packages-on-tkg-service-clusters/installing-standard-packages-on-tkg-cluster-using-tkr-for-vsphere-8-x/install-contour-with-envoy.html) for detailed Contour installation instructions.

Retrieve and customize the default values file:

```bash
vcf addon available get contour.kubernetes.vmware.com/1.33.0+vmware.1-vks.1 --default-values-file-output contour-data-values.yaml -n packages
```

A sample configuration is available in the [`vcf-cosmonic-control` GitHub repository](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/vcf-contour/contour-data-values.yaml).

Install Contour with the customized values:

```bash
vcf addon install contour -p contour.kubernetes.vmware.com --version 1.33.0+vmware.1-vks.1 --values-file contour-data-values.yaml -n packages
```

## Install Cosmonic Control

Refer to the [Cosmonic Control documentation](https://cosmonic.com/docs/install-cosmonic-control/#installation) for detailed installation guidelines.

### Option 1: Helm Installation

Install Cosmonic Control with a NodePort service for the Envoy proxy. This guide uses Contour as the edge proxy, so disable the chart's built-in Traefik ingress with `ingress.enabled=false`:

```bash
helm install cosmonic-control oci://ghcr.io/cosmonic/cosmonic-control \
  --version 0.15.0 \
  --namespace cosmonic-system \
  --create-namespace \
  --set ingress.enabled=false \
  --set envoy.service.type=NodePort \
  --set envoy.service.httpNodePort=30950
```

#### Install Cosmonic Control Hostgroup

```bash
helm install hostgroup oci://ghcr.io/cosmonic/cosmonic-control-hostgroup \
  --version 0.15.0 \
  --namespace cosmonic-system
```

### Configure Contour Ingress

The [vcf-contour](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/vcf-contour) folder in the [`vcf-cosmonic-control` GitHub repository](https://github.com/cosmonic-labs/vcf-cosmonic-control) contains ingress configurations for integrating Cosmonic Control with VCF's Contour ingress controller.

- **[vcf-contour/vcf-nihao-example-deployment.yaml](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/vcf-contour/vcf-nihao-example-deployment.yaml):** This example demonstrates basic Contour ingress functionality. Refer to the [VMware Contour ingress documentation](https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vsphere-supervisor-services-and-standalone-components/latest/managing-vsphere-kuberenetes-service-clusters-and-workloads/deploying-workloads-on-tkg-service-clusters/ingress-using-contour.html) for implementation details.
- **[vcf-contour/cosmonic-ingress.yaml](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/vcf-contour/cosmonic-ingress.yaml):** Configures ingress for the Perses observability dashboard in the `cosmonic-system` namespace. The default hostname is `perses.vcf.cosmonic.world`. For testing, you may use `localhost.cosmonic.sh` which resolves to 127.0.0.1.
- **[vcf-contour/vcf-wasm-ingress.yaml](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/vcf-contour/vcf-wasm-ingress.yaml):** Routes all `*.vcf-wasm.cosmonic.world` traffic to the Cosmonic Envoy ingress service. For production environments, consider specifying individual hosts instead of wildcards to reduce invalid hostname requests.
- **[vcf-contour/wasm-ingress-examples.yaml](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/vcf-contour/wasm-ingress-examples.yaml):** Contains examples for specific domain routing as well as path-based routing to a Wasm workload. This can be used for when an application is containerized, but has components that are Sandboxed/Wasm workloads as well.

### Option 2: ArgoCD Installation

For a GitOps-based deployment approach using ArgoCD, see the [`sample-argo-gh-folder-structure`](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/sample-argo-gh-folder-structure) directory in the [`vcf-cosmonic-control` GitHub repository](https://github.com/cosmonic-labs/vcf-cosmonic-control) for an example repo structure that demonstrates how to deploy both Cosmonic Control and sample Wasm workloads.

## Deploy WebAssembly Workloads

An HTTP workload is deployed as a `WorkloadDeployment` that runs the component plus an `HTTPTrigger` that routes requests to it; see [Ingress and Workloads](https://cosmonic.com/docs/operations/ingress-and-workloads/#how-to-deploy-webassembly-workloads-with-ingress). Examples are available in the [`sample-argo-gh-folder-structure/apps`](https://github.com/cosmonic-labs/vcf-cosmonic-control/tree/main/sample-argo-gh-folder-structure/apps) folder of the [`vcf-cosmonic-control` GitHub repository](https://github.com/cosmonic-labs/vcf-cosmonic-control).

For additional examples and deployment patterns, refer to the [Cosmonic Labs `control-demos` repository](https://github.com/cosmonic-labs/control-demos).

### Example: Using Helm to Deploy

The `welcome-tour` demo demonstrates deploying Wasm workloads using Helm. Refer to the [`welcome-tour` repository](https://github.com/cosmonic-labs/control-demos/tree/main/welcome-tour) for implementation details.

```bash
helm install welcome-tour --version 0.2.0 oci://ghcr.io/cosmonic-labs/charts/http-trigger \
  -f https://raw.githubusercontent.com/cosmonic-labs/control-demos/refs/heads/main/welcome-tour/values.http-trigger.yaml
```

Last updated on **Nov 10, 2026** by **Liam Randall**
