Simple Applications CRD for Kubernetes.
THIS IS NOT FOR PRODUCTION USE - THIS IS JUST AN EXPERIMENT!
$ kubectl create -f deploy/service_account.yaml
$ kubectl create -f deploy/role.yaml
$ kubectl create -f deploy/role_binding.yaml
$ kubectl create -f deploy/crds/app_v1alpha1_application_crd.yaml
$ kubectl create -f deploy/operator.yaml
$ kubectl create -f deploy/crds/app_v1alpha1_application_cr.yaml
This uses the operator-sdk
to build, see the installation instructions for details on how to install the tooling.
$ operator-sdk build quay.io/example/app-operator
And push to your Docker image hosting provider of choice:
$ docker push quay.io/example/app-operator
$ kubectl create -f deploy/crds/app_v1alpha1_application_cr.yaml
$ kubectl create -f deploy/operator.yaml
$ kubectl create -f deploy/role.yaml
$ kubectl create -f deploy/service_account.yaml
$ kubectl create -f deploy/role_binding.yaml
$ kubectl create -f deploy/crds/app_v1alpha1_application_crd.yaml