Kubernetes Operator for managing the lifecycle(creation and deletion) of a Form3 Account.
- Go version v1.24.0+
- Docker version 17.03+.
- Access to a Kind cluster.
- Kubectl version v1.11.3+.
chmod +x run.sh./run.shTesting the Operator
make testDeploy Kubernetes Manifests To A Kind Cluster, this provisions a Fake Form3 Account API
cd manifests
kubectl apply -f .Install the Operator
export USERNAME=tomiwa97
make docker-build docker-push IMG=docker.io/$USERNAME/form3-operator:v1.0.0
kind load docker.io/$USERNAME/form3-operator:v1.0.0
make deploy IMG=docker.io/$USERNAME/memcached-operator:v1.0.0Fetching Operator CRD, Deployments, Pods, ClusterRoles, ClusterRolesBindings, Roles, RoleBindings
kubectl get crds
kubectl get deployments
kubectl get pods
kubectl get clusterroles | grep forma
kubectl get clusterrolebindings | grep forma
kubectl get roles
kubectl get rolebindingsCreate instances (Custom Resources) of a Form3 Account by applying samples from the config/samples directory
kubectl apply -k config/samples/Delete the instances (Custom Resources) from the cluster
kubectl delete -k config/samples/Delete the APIs(CRDs) from the cluster
make uninstallUnDeploy the controller from the cluster
make undeploy