kubernetes部署elasticsearch控制面板dejavu

  sre

esssssssss.png
GitHub 地址:https://github.com/appbaseio/dejaVu
Demo 地址:http://appbaseio.github.io/dejaVu/

Deployment

apiVersion: apps/v1
kind: Deployment
metadata:
  name: dejavu-server
  namespace: test
  labels:
    app: dejavu
spec:
  replicas: 1
  selector:
    matchLabels:
      app: dejavu
      es: dejavu
  template:
    metadata:
      labels:
        app: dejavu
        es: dejavu
    spec:
      containers:
      - image: appbaseio/dejavu
        name: dejavu-server
        ports:
        - containerPort: 1358
          name: nginx-php

svc

apiVersion: v1
kind: Service
metadata:
  labels:
    app: dejavu
  name: dejavu-server
  namespace: test
spec:
  ports:
  - name: dejavu
    port: 80
    protocol: TCP
    targetPort: 1358
    nodePort: 30056
  selector:
    app: dejavu
  type: NodePort

浏览器访问

http://172.16.0.21:30056
,界面如下

LEAVE A COMMENT

Captcha Code