TrueFoundry allows you to deploy Kubernetes manifests directly through the web interface, making it easy to deploy any Kubernetes application without needing to use kubectl or other command-line tools.
This feature is perfect for deploying existing Kubernetes applications, custom operators, or any workload that’s defined as Kubernetes YAML manifests.

Prerequisites

  • Access to a TrueFoundry workspace
  • A connected cluster (AWS, GCP, Azure, or on-premises)
  • Kubernetes manifests in YAML format

Step-by-Step Deployment Guide

1

Navigate to Deployments

Log in to your TrueFoundry dashboard and click on Deployments in the left sidebar, then click New to create a new deployment.TrueFoundry Deployments page showing the New button
2

Select Helm

In the application type page, click on show advanced and select Helm.Deploy new Helm modal showing Helm option selected
3

Select K8s Manifest

In the “Deploy new Helm” modal: - Select your workspace from the dropdown - Choose K8s Manifest instead of Helm chart - Click NextDeploy new Helm modal showing K8s Manifest option selected
4

Configure Your Deployment

Enter a name for your deployment (e.g., web-app) and add your Kubernetes manifest in the Manifests section - Click Submit to deployK8s manifest configuration page with YAML editor
5

Monitor Deployment

Monitor the deployment status in the helm deployments list and view logs by clicking on your deployment.Deployment status page showing successful deployment

Complete Example: Web Application with Virtual Service

Here’s a comprehensive example that deploys a web application with proper configuration, secrets, and routing:

TrueFoundry Integration Features

TrueFoundry Secrets Integration

You can reference TrueFoundry secrets directly in your Kubernetes manifests, making it easy to manage sensitive data without hardcoding values in your YAML files, you just have to copy the FQN of the secret and paste it in the Value field.
This feature allows you to use TrueFoundry’s centralized secret management system within your Kubernetes deployments.
How to use TrueFoundry secrets in your manifests:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: app-with-secrets
spec:
  template:
    spec:
      containers:
        - name: app
          image: your-app:latest
          env:
            # Reference TrueFoundry secrets as environment variables
            - name: API_KEY
              value: tfy-secret://truefoundry:webapp-secrets:api_key
            - name: DB_PASSWORD
              value: tfy-secret://truefoundry:webapp-secrets:database_password