goctl kube deploy

Generate deployment yaml file

Options

NameDescription
--branch <branch>The branch of the remote repo, it does work with --remote
--home <home>The goctl home path of the template, --home and --remote cannot be set at the same time, if they are, --remote has higher priority
--image <image>The docker image of deployment (required)
--limitCpu <limitCpu>The limit cpu to deploy
--limitMem <limitMem>The limit memory to deploy
--maxReplicas <maxReplicas>The max replicas to deploy
--minReplicas <minReplicas>The min replicas to deploy
--name <name>
  • Required ✳
--namespace <namespace>
  • Required ✳
--nodePort <nodePort>The nodePort of the deployment to expose
--o <o>
  • Required ✳
--port <port>
  • Required ✳
--remote <remote>The remote git repo of the template, --home and --remote cannot be set at the same time, if they are, --remote has higher priority The git repo directory must be consistent with the https://github.com/zeromicro/go-zero-template directory structure
--replicas <replicas>The number of replicas to deploy
--requestCpu <requestCpu>The request cpu to deploy
--requestMem <requestMem>The request memory to deploy
--revisions <revisions>The number of revision history to limit
--secret <secret>The secret to image pull from registry
--serviceAccount <serviceAccount>The ServiceAccount for the deployment