- Moved the rendering of
deploy/operator.yaml
to theoperator-sdk new
command instead ofoperator-sdk build
- Added
operator-sdk up
command to help deploy an operator. Currently supports running an operator locally against an existing cluster e.goperator-sdk up local --kubeconfig=<path-to-kubeconfig> --namespace=<operator-namespace>
. Seeoperator-sdk up -h
for help. #219 #274 - Added initial default metrics to be captured and exposed by Prometheus. #323 exposes the metrics port and #349 adds the initial default metrics.
- Added initial test framework for operators #377, #392, #393
- All the modules in
pkg/sdk
have been combined into a single package.action
,handler
,informer
types
andquery
pkgs have been consolidated intopkg/sdk
. #242 - The SDK exposes the Kubernetes clientset via
k8sclient.GetKubeClient()
#295 - The SDK now vendors the k8s code-generators for an operator instead of using the prebuilt image
gcr.io/coreos-k8s-scale-testing/codegen:1.9.3
#319 - The SDK exposes the Kubernetes rest config via
k8sclient.GetKubeConfig()
#338 - Use
time.Duration
instead ofint
forsdk.Watch
#427
- The cache of available clients is being reset every minute for discovery of newely added resources to a cluster. #280