Abp: Configure kubernetes for microservice demo

Created on 15 Feb 2019  Â·  10Comments  Â·  Source: abpframework/abp

abp-samples feature high

Most helpful comment

@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).

All 10 comments

@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.

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

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

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 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 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).

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 please add this line to the end of your hosts file:

127.0.0.1   auth-server

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 :)

Any update on k8s enabling the micro service demo ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hikalkan picture hikalkan  Â·  3Comments

leonkosak picture leonkosak  Â·  3Comments

ChangYinShung picture ChangYinShung  Â·  3Comments

hitaspdotnet picture hitaspdotnet  Â·  3Comments

wakuflair picture wakuflair  Â·  3Comments