operator-sdk generate k8s
operator-sdk generate k8s
Generates Kubernetes code for custom resource
Synopsis
k8s generator generates code for custom resources given the API specs in pkg/apis// directories to comply with kube-API requirements. Go code is generated under pkg/apis///zz_generated.deepcopy.go. Example:
$ operator-sdk generate k8s
$ tree pkg/apis
pkg/apis/
└── app
└── v1alpha1
├── zz_generated.deepcopy.go
operator-sdk generate k8s [flags]
Options
-h, --help help for k8s
SEE ALSO
- operator-sdk generate - Invokes a specific generator
Last modified January 1, 0001
当前内容版权归 operatorframework 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 operatorframework .