12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apiVersion: v1
- kind: Service
- metadata:
- name: my-attu-svc
- labels:
- app: attu
- spec:
- type: ClusterIP
- ports:
- - name: attu
- protocol: TCP
- port: 3000
- targetPort: 3000
- selector:
- app: attu
- ---
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: my-attu
- labels:
- app: attu
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: attu
- template:
- metadata:
- labels:
- app: attu
- spec:
- containers:
- - name: attu
- image: zilliz/attu:v2.5
- imagePullPolicy: IfNotPresent
- ports:
- - name: attu
- containerPort: 3000
- protocol: TCP
- env:
- - name: MILVUS_URL
- value: "my-release-milvus:19530"
|