abp icon indicating copy to clipboard operation
abp copied to clipboard

Configure kubernetes for microservice demo

Open hikalkan opened this issue 7 years ago • 12 comments

hikalkan avatar Feb 15 '19 11:02 hikalkan

@hikalkan how do you plan to configure kubernetes? Do you plan to create a helm chart for the MicroServices Demo?

Or any other approach using only yml ?

I think a helm chart will be the best scenario.

Let me know if you need any help here.

brunobertechini avatar Mar 15 '19 17:03 brunobertechini

Helm would be ideal, but having the ability to do it with yml so that portions can be spun up would also be good.

natiki avatar Mar 17 '19 01:03 natiki

To be honest, I don't know Kubernates. @atakanozceviz is working on it. @atakanozceviz what do you think about that?

hikalkan avatar Mar 19 '19 18:03 hikalkan

how do you plan to configure kubernetes? Do you plan to create a helm chart for the MicroServices Demo?

@brunobertechini as for now only yml. But it would be great if we have both (helm charts and standard yml files). I dont know so much about Helm Charts, any help would be appreciated :relieved:

atakanozceviz avatar Mar 20 '19 09:03 atakanozceviz

@atakanozceviz I agree that both approaches can be useful. So my recommendation would be split this in two different issues. One to work on pure yml files and another for helm charts.

Helm is basically the package manager for kubernetes where we can "combine" all service configurations for a given deployment.

Is that possible to split the issues and then we can work first on the yaml files, and later on helm charts?

Remembering that since kubertenetes can be configured in thousands of ways, most probably both approaches (yml / helm) will be the starting point (working scenario) for developers to enhance/adapt accordingly.

It would be very nice to have:

helm install -f abp-helm-properties.yml

and we have a working solution (on the development machine).

For production, the scenarios for microservices can vary heavily. I think we need to define some preconditions first.

brunobertechini avatar Mar 21 '19 09:03 brunobertechini

@brunobertechini Here I have been working on k8s yml files. I have tried to deploy using k3s and minikube unfortunately couldn't get it work on my local machine (Linux).

atakanozceviz avatar Mar 21 '19 10:03 atakanozceviz

I'm new to learning k8s, I ran the script(k8s/DeployToKubernetes.ps1) on win10 and service started normally. However, there is a problem with DNS_PROBE_FINISHED_NXDOMAIN when I log in to the auth-server on the website. What's the reason for this? Very much looking forward to your answers. Environment: image image

carlsonsoft avatar May 06 '20 03:05 carlsonsoft

@carlsonsoft please add this line to the end of your hosts file:

127.0.0.1	auth-server

atakanozceviz avatar May 06 '20 11:05 atakanozceviz

Sorry for the delay, I will have a look soon on the k8s/k3s implementation and try it out.

Im also keen to check how this can play with the newly releases WSL2 and Docker on windows so we don't need Powershell :)

brunobertechini avatar Jun 03 '20 08:06 brunobertechini

Any update on k8s enabling the micro service demo ?

kelvinksau avatar Jul 20 '20 01:07 kelvinksau

127.0.0.1

@carlsonsoft please add this line to the end of your hosts file:

127.0.0.1	auth-server

can you please specify file name here

bhagwatkushwaha avatar Mar 26 '21 11:03 bhagwatkushwaha

already done

hikalkan avatar Aug 20 '23 10:08 hikalkan