Deployment Options
Dashboard offers two ways to deploy applications:Create from Form
Use the web form to configure and deploy applications without writing YAML
Create from File
Upload or paste YAML/JSON manifests to deploy resources
Creating Applications from Form
The Dashboard form provides a guided experience for deploying containerized applications.Basic Configuration
Access the creation form at Create → Create from form.Application Details
Configure the basic application settings:
- App name: Unique identifier (max 24 characters)
- Container image: Docker image reference (e.g.,
nginx:1.21) - Number of pods: Replica count for your deployment
- Description: Optional description for documentation
Select Namespace
Choose the target namespace or create a new one. Namespaces provide logical isolation for your applications.
Advanced Options
Expand the advanced options section for additional configuration:Labels and Annotations
The form automatically applies the labelk8s-app to your deployment (modules/web/src/create/from/form/component.ts:46):
- Organization and categorization
- Service mesh integration
- Monitoring and alerting selectors
Environment Variables
Define environment variables for your containers:Port Mappings
Configure container ports and service ports:- Container Port: Port exposed by your application
- Service Port: Port exposed by the Kubernetes Service
- Protocol: TCP or UDP
Supported protocols include TCP and UDP. The form validates protocol values to ensure compatibility (
modules/web/src/create/from/form/validator/validprotocol.validator.ts).Resource Limits
Set CPU and memory constraints:Image Pull Secrets
For private container registries, select an image pull secret or create a new one.Creating Applications from File
Deploy resources using YAML or JSON manifests.Upload File
- Navigate to Create → Create from file
- Click Upload file and select your manifest
- Review the configuration
- Click Upload
Paste Content
Alternatively, paste YAML or JSON directly:Managing Deployments
View and manage your deployments at Workloads → Deployments.Deployment Details
The deployment detail view shows (modules/api/pkg/resource/deployment/list.go:31-44):
- Pods: Running, pending, and failed pod counts
- Container Images: Images used in the deployment
- Replica Status: Current vs. desired replica count
- Labels: Applied labels and selectors
- Events: Recent deployment events
Scaling Deployments
Updating Deployments
Modify deployment configuration:- Click the Edit button in the action bar
- Update the YAML manifest
- Click Update to apply changes
Rolling Back
Revert to a previous deployment revision:- View deployment history in the Events section
- Identify the revision to roll back to
- Use
kubectl rollout undoor edit the deployment YAML
Workload Types
Dashboard supports managing various workload types:Deployments
Stateless applications with declarative updates and rolling deployments.StatefulSets
Stateful applications requiring stable network identities and persistent storage.DaemonSets
Ensure a pod runs on every node (or selected nodes) in the cluster.Jobs
Run-to-completion tasks that terminate after successful execution.CronJobs
Scheduled jobs that run at specified intervals.ReplicaSets
Maintain a stable set of replica pods (usually managed by Deployments).ReplicationControllers
Legacy workload type (superseded by Deployments).Application Actions
Common actions available in the Dashboard:View Logs
Stream container logs in real-time
Exec Shell
Execute commands inside running containers
Edit Resource
Modify resource configuration via YAML editor
Delete Resource
Remove resources from the cluster
Best Practices
Use namespaces for isolation
Use namespaces for isolation
Organize applications by environment (dev, staging, prod) or team using namespaces.
Set resource requests and limits
Set resource requests and limits
Prevent resource contention by defining appropriate CPU and memory constraints.
Use health checks
Use health checks
Configure liveness and readiness probes to ensure application reliability.
Apply labels consistently
Apply labels consistently
Use standardized labels for better organization and service mesh integration.
Version control manifests
Version control manifests
Store YAML files in Git for change tracking and disaster recovery.
Next Steps
Managing Resources
Learn about pods, services, and other Kubernetes resources
Viewing Logs
Access and analyze container logs