Generates Kubernetes code for custom resource
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]
-h, --help help for k8s
- operator-sdk generate - Invokes a specific generator