Skip to main content

Examples

These examples lead to complete, supported guides instead of duplicating YAML that can drift from the product.

A Kube-DC Project is the customer workload boundary. Kubernetes implements it as a backing namespace named {organization}-{project}. Use a Managed Cluster when an example needs CRDs, operators, additional namespaces, or cluster-scoped RBAC.

Start Here

GoalGuide
Deploy a small web applicationDeploy Your First Application
Build a fuller application stackDeploy a WordPress Stack
Create and connect to a VMCreate a Virtual Machine
Provision PostgreSQL or MariaDBManaged Databases
Create a Managed ClusterProvision a Managed Cluster

Networking

GoalGuide
Publish HTTP or HTTPS with a hostnameService Exposure
Expose selected TCP or UDP portsService Exposure
Map an address directly to a VMExternal and Floating IPs
Keep communication privatePrivate Networking

An external IP can be cloud-internal or public. Check the address type before describing an endpoint as internet-accessible.

Storage and Data

GoalGuide
Attach block storage to a Pod or VMBlock Storage
Create and use an S3-compatible bucketObject Storage
Configure database backupsManaged Databases
Design a recovery planData Protection and Recovery

Security and Automation

GoalGuide
Store application secretsSecrets Manager
Request a certificateCertificate Management
Create an encryption keyKey Management
Deliver from GitGitOps
Grant team accessUser and Group Management

Before Applying YAML

  1. Select the target Project context with kube-dc use.
  2. Replace example namespaces with the exact backing namespace shown by the CLI.
  3. Review resource requests against Organization and Project quota.
  4. Render Helm charts and reject unsupported cluster-scoped resources.
  5. Apply the manifest and wait for readiness.
  6. Record cleanup commands before creating persistent or billable resources.
kube-dc use
kubectl diff -f example.yaml
kubectl apply -f example.yaml
kubectl get pods,svc
Project boundary

Do not apply examples that create Namespace, CRD, ClusterRole, or StorageClass objects with a Project kubeconfig. Adapt the chart or run it in a Managed Cluster.