如何将 ignite web 控制台与我的 kubernetes 集群连接 pods(服务器和客户端)
How to connect ignite web console with my kubernetes cluster pods (server and client)
如何将 ignite web 控制台连接到我的 kubernetes 集群
pods(服务器和客户端)并让我知道如何连接到 SQL dB?
问题不明确,但我会尽量按照我的理解来回答。
在IGNITE-7131 jira ticket you can find documentation link on Ignite Web Console deployment in Kubernetes下。
完整程序包含后续步骤:
1) Install Apache Ignite cluster. I used GCP installation 满足我的需要。只需按照所有步骤成功部署和激活 Ignite 集群。
2) Installing Web Console in kubernetes
- Install MongoDB
Install Web Console
如果您不使用私有存储库,请执行后续步骤:
- 从
frontend
和 backend
部署中删除 imagePullSecrets
属性
- 在
web-console-deployment.yaml
中使用 image: apacheignite/web-console-backend
作为后端
- 在
web-console-deployment.yaml
中使用 image: apacheignite/web-console-frontend
作为前端
- 以上图片可以找到here
安装所有组件后,我可以使用 frontend service external-ip
访问 Ignite Web 控制台
$kubectl get svc frontend -n web-console
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
frontend LoadBalancer 10.0.6.155 35.240.47.20 80:30160/TCP
web-console-deployment.yaml 后端部署部分:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: backend
name: backend
namespace: web-console
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: backend
spec:
containers:
- env:
- name: mail_auth_pass
- name: mail_auth_user
- name: mail_from
- name: mail_greeting
- name: mail_service
- name: mail_sign
- name: mongodb_url
value: mongodb://mongodb.mongodb.svc.cluster.local/console
- name: server_host
value: "0.0.0.0"
- name: server_port
value: "3000"
- name: server_sessionSecret
value: 12345
image: apacheignite/web-console-backend
name: backend
resources: {}
restartPolicy: Always
status: {}
如何将 ignite web 控制台连接到我的 kubernetes 集群 pods(服务器和客户端)并让我知道如何连接到 SQL dB?
问题不明确,但我会尽量按照我的理解来回答。
在IGNITE-7131 jira ticket you can find documentation link on Ignite Web Console deployment in Kubernetes下。
完整程序包含后续步骤:
1) Install Apache Ignite cluster. I used GCP installation 满足我的需要。只需按照所有步骤成功部署和激活 Ignite 集群。
2) Installing Web Console in kubernetes
- Install MongoDB
Install Web Console 如果您不使用私有存储库,请执行后续步骤:
- 从
frontend
和backend
部署中删除imagePullSecrets
属性 - 在
web-console-deployment.yaml
中使用 - 在
web-console-deployment.yaml
中使用 - 以上图片可以找到here
image: apacheignite/web-console-backend
作为后端image: apacheignite/web-console-frontend
作为前端- 从
安装所有组件后,我可以使用 frontend service external-ip
$kubectl get svc frontend -n web-console
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
frontend LoadBalancer 10.0.6.155 35.240.47.20 80:30160/TCP
web-console-deployment.yaml 后端部署部分:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: backend
name: backend
namespace: web-console
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: backend
spec:
containers:
- env:
- name: mail_auth_pass
- name: mail_auth_user
- name: mail_from
- name: mail_greeting
- name: mail_service
- name: mail_sign
- name: mongodb_url
value: mongodb://mongodb.mongodb.svc.cluster.local/console
- name: server_host
value: "0.0.0.0"
- name: server_port
value: "3000"
- name: server_sessionSecret
value: 12345
image: apacheignite/web-console-backend
name: backend
resources: {}
restartPolicy: Always
status: {}