@kosko/template-deployed-service
v4.0.2
Published
Create a new component including a deployment and a service.
Downloads
91
Readme
@kosko/template-deployed-service
Create a new component including a deployment and a service.
Usage
npx @kosko/template-deployed-service --name nginx --image nginx
Options
--name
Name of deployment and service. (Required)
--image
Container image. (Required)
--type
Service type. Default to ClusterIP
.
--servicePort
Service port. Default to 80
.
--containerPort
Container port. Default to 80
.
--replicas
Number of replicas. Default to 1
.