[英]How to connect front-end application with database application in Hashicorp Nomad?
I am new to Hashicorp Nomad and trying to deploy one employee application, I have the code in kubernetes yaml file.我是 Hashicorp Nomad 的新手,正在尝试部署一个员工应用程序,我在 kubernetes yaml 文件中有代码。 Seperately I deployed frontend application with mongo database but I want to know how these two will contact each other because in k8s there is a concept of Selector but in Nomad what is available in behalf of selector and labels?
我单独部署了带有 mongo 数据库的前端应用程序,但我想知道这两者将如何相互联系,因为在 k8s 中有一个选择器的概念,但在 Nomad 中有什么可以代表选择器和标签?
Nomad does service discovery using HashiCorp Consul. Nomad 使用 HashiCorp Consul 进行服务发现。 Check out this part of Nomad docs.
查看 Nomad 文档的这一部分。 https://www.nomadproject.io/docs/integrations/consul-integration/#service-discovery
https://www.nomadproject.io/docs/integrations/consul-integration/#service-discovery
There are few types of service discoveries in nomad. Nomad 中的服务发现类型很少。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.