/kube-dc:create-projectfrom kube-dc
Creates a Kube-DC Project within an Organization, covering network selection, CIDR choice, quota preflight, manifest creation, and readiness verification.
Ships in kube-dc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A Project is the governed workload boundary for applications, VMs, databases,
and Managed Clusters. Kube-DC implements it with a backing namespace named
{organization}-{project}, but users work with the Project name.
status.ready: true.Project resources in the Organization API namespace.Confirm the Organization and current identity before making changes:
kubectl -n {organization} get organization {organization} -o custom-columns='NAME:.metadata.name,READY:.status.ready'
kubectl auth can-i create projects.kube-dc.com -n {organization}
spec.egressNetworkType is required and immutable.
| Value | Meaning | Use it when |
|---|---|---|
cloud | The default gateway uses the provider's cloud-internal external network | Normal application and private-workload Projects |
public | The default gateway uses the provider's public external network | A public source address at the Project gateway is required |
Prefer cloud. A public Project is available only when the platform operator
has configured a public network and enabled public Project creation. Neither
choice exposes a workload for inbound traffic; use a Gateway Route,
LoadBalancer Service, EIP, or FIP for that.
See network-types.md for the decision details.
spec.cidrBlock is optional; omit it unless the user needs a specific range.
The controller then allocates the next free block of the platform's Project
pool and records it on the Project. When you set one, select a private subnet
that does not overlap any network the workloads must reach through routing,
VPN, peering, or attached networks. Do not assume 10.0.0.0/16 is
appropriate for every environment.
apiVersion: kube-dc.com/v1
kind: Project
metadata:
name: "{project}"
namespace: "{organization}"
spec:
cidrBlock: "{project-cidr}"
egressNetworkType: cloud
Apply project-template.yaml, then wait on the actual readiness field:
kubectl apply -f project.yaml
kubectl -n {organization} wait --for=jsonpath='{.status.ready}'=true project/{project} --timeout=10m
Read the generated namespace from status instead of reconstructing it in automation:
PROJECT_NS="$(kubectl -n {organization} get project {project} -o jsonpath='{.status.namespace}')"
printf 'Backing namespace: %s\n' "$PROJECT_NS"
kubectl -n {organization} get project {project} -o custom-columns='NAME:.metadata.name,READY:.status.ready,NAMESPACE:.status.namespace'
kubectl get namespace "$PROJECT_NS"
kubectl -n "$PROJECT_NS" get network-attachment-definition default
kubectl -n "$PROJECT_NS" get eip default-gw
kubectl -n "$PROJECT_NS" get secret ssh-keypair-default authorized-keys-default
status.ready: true means the core Project resources reconciled. Optional
services have their own readiness and must be checked separately.
If readiness does not become true:
kubectl -n {organization} describe project {project}
kubectl -n {organization} get project {project} -o yaml
Inspect the Project conditions and events. For a rejected public Project,
use cloud or ask the platform operator whether public Projects are supported.
{organization}-{project} the backing namespace only when a Kubernetes
command needs it.egressNetworkType after creation; the API makes it immutable.Project resource. Do not delete only its
backing namespace or strip finalizers; coordinated cleanup releases network,
identity, storage, and security state.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kube-dc/kube-dc-public --plugin kube-dc18 skills in this plugin
/check-quotaCheck Kube-DC Organization and Project quota before creating workloads, VMs, databases, Managed Clusters, public IPs, or storage./create-databaseCreate a managed database (PostgreSQL, MySQL, MariaDB, ClickHouse) or Valkey cache in a Kube-DC Project as a ManagedService, deliver its credential to workloads with a ServiceBinding Secret, and prepare backup and restore workflows./create-vmCreate a KubeVirt virtual machine in a Kube-DC Project using the live OS catalog, Project networking, supported storage, and the generated SSH keypair./deploy-appDeploy a containerized application to a Kube-DC Project as an Application (apps.kube-dc.com) or a plain workload, with optional persistent storage, a managed database, external exposure, or gated Shared GPU acceleration; set up keyless deploys, builds on push and pull request previews from a GitHub repository, with a managed container registry or the user's own; roll back, pause and inspect builds./deploy-web-stackDeploy a complete web application in a Kube-DC Project — a managed database (PostgreSQL, MySQL or MariaDB) with delivered credentials, an optional persistent volume, and an HTTPS hostname with a platform certificate through the shared Gateway, without a public IP. Use for WordPress, CMSs, APIs and any app that needs a database and a URL./expose-serviceExpose a Service from a Kube-DC Project with a hostname-based HTTP/HTTPS/TLS Gateway route or a dedicated EIP-backed LoadBalancer for selected TCP/UDP ports.Other plugins' skills for the same job