mirror of
https://github.com/beclab/Olares
synced 2026-05-24 09:18:23 +00:00
feat: add service for search3monitor rest api (#1968)
* feat: add network policy for search3monitor rest api * feat: remove network policy --------- Co-authored-by: ubuntu <you@example.com>
This commit is contained in:
parent
6215da6cc0
commit
0a474797a6
1 changed files with 16 additions and 0 deletions
|
|
@ -294,6 +294,8 @@ spec:
|
|||
- name: search3monitor
|
||||
image: beclab/search3monitor:v0.0.70
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8081
|
||||
env:
|
||||
- name: NODE_IP
|
||||
valueFrom:
|
||||
|
|
@ -380,6 +382,20 @@ spec:
|
|||
port: 80
|
||||
targetPort: 8080
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: search3monitor-headless
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
clusterIP: None
|
||||
selector:
|
||||
app: search3monitor
|
||||
ports:
|
||||
- port: 8081
|
||||
targetPort: 8081
|
||||
|
||||
---
|
||||
apiVersion: apr.bytetrade.io/v1alpha1
|
||||
kind: MiddlewareRequest
|
||||
|
|
|
|||
Loading…
Reference in a new issue