logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Kubectl Create - Generate Kubernetes Resources | Online Free DevTools by Hexmos

Kubectl create and manage Kubernetes resources with ease. Automate deployment, services, and namespaces creation for efficient application management. Free online tool, no registration required.

kubectl-create

Create a resource from a file or from stdin. More information: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#create.

  • Create a resource using the resource definition file:

kubectl create {{[-f|--filename]}} {{path/to/file.yml}}

  • Create a resource from stdin:

kubectl create {{[-f|--filename]}} -

  • Create a deployment:

kubectl create {{[deploy|deployment]}} {{deployment_name}} --image={{image}}

  • Create a deployment with replicas:

kubectl create {{[deploy|deployment]}} {{deployment_name}} --image={{image}} --replicas={{number_of_replicas}}

  • Create a service:

kubectl create {{[svc|service]}} {{service_type}} {{service_name}} --tcp={{port}}:{{target_port}}

  • Create a namespace:

kubectl create {{[ns|namespace]}} {{namespace_name}}

See Also