k8s 摆设meilisearch UI
https://github.com/riccox/meilisearch-ui[*]拉取镜像
sudo docker pull riccoxie/meilisearch-ui:latest
[*]k8s 摆设
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
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]