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 a database, cache, or brokerManaged services
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 a VMBlock storage
Create and use an S3-compatible bucketObject storage
Configure database backupsBackups and restore
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 you apply a manifest​

  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.