https://github.com/riccox/meilisearch-ui
- 拉取镜像
bash
sudo docker pull riccoxie/meilisearch-ui:latest
- k8s 部署
yaml
apiVersion: v1
kind: Service
metadata:
name: meilisearch-ui
namespace: meilisearch
spec:
type: NodePort
selector:
app: meilisearch-ui
ports:
- port: 24900
targetPort: 24900
nodePort: 31490
---
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: meilisearch
name: meilisearch-ui
spec:
selector:
matchLabels:
app: meilisearch-ui
replicas: 1
template:
metadata:
labels:
app: meilisearch-ui
spec:
securityContext:
fsGroup: 1000
containers:
- name: meilisearch
image: riccoxie/meilisearch-ui:latest
imagePullPolicy: IfNotPresent
resources:
requests:
memory: 1Gi
cpu: "1"
limits:
memory: 2Gi
cpu: "2"
ports:
- name: http
containerPort: 24900
protocol: TCP