-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fail to use make deploy on local kind cluster for development #25
Comments
Hi @SamYuan1990 There is limited support for the Makefile, operator, CRDs, and a local cluster in the current project. You are breaking new ground in this area, and we welcome improvements in the way that the local development occurs with the operator. Please make sure to update any instructions in the project README / CONTRIBUTING / etc. files as you discover new practices for making it easier to build, test, and run in a local sandbox. The current makefiles know how to create a KIND cluster ( Also note that there are still some template files created by kubebuilder / operator-sdk, which to my knowledge are NOT used by the project. I agree these are confusing and we should either make them work correctly, or remove the targets as they are confusing for new developers. Currently there is NO make target that (correctly) launches the operator as a local binary, running against the current kube config settings. Also there is NO makefile target that correctly launches the operator as a deployment. The |
ok, I will try with |
hi @jkneubuh , https://github.com/kubernetes/ingress-nginx.git/deploy/static/provider/kind?ref=controller-v1.1.2 is page not found, and it is used here https://github.com/hyperledger-labs/fabric-operator/blob/main/config/ingress/kind/kustomization.yaml#L22 so could you please share the logic for kind base cluster should have to support development? |
or you can help me figure out which is the correct file ? https://github.com/kubernetes/ingress-nginx/tree/main/deploy/static/provider/kind |
Hi Sam. Yes, that is the correct file / URL for the nginx ingress. The URL used by kustomization will not resolve correctly in the browser. This is a feature used by This is a separate project, but @mbwhite has made some significant progress on setting up Fabric networks using Ansible playbooks and fabric-operator. In that environment, the KIND + nginx + coreDNS updates (localho.st -> Ingress IP) are treated as required dependencies for the operator and Ansible plays. Take a look at full-stack-asset-transfer to see a "recipe" for creating a KIND cluster that is ready to go for the operator. I think these are the steps that need be carried over into the operator Makefile. The Ansible project example uses |
For the localhost:5000 registry. .... do we want or need to start a local docker container registry? Can we accomplish this with a |
Hi team,
ref to https://sdk.operatorframework.io/docs/building-operators/golang/tutorial/#2-run-as-a-deployment-inside-the-cluster
I am plan to use
make deploy
to deploy some local change on a kind cluster (started with./network kind
)but an error occurs as
full steps and logs
please advise
The text was updated successfully, but these errors were encountered: