Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
beggers committed Feb 27, 2024
1 parent e139446 commit 429bf29
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions k8s/distributed-chroma/templates/coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
imagePullPolicy: IfNotPresent
name: coordinator
ports:
- containerPort: {{ .Values.coordinator.port }}
- containerPort: 50001
name: grpc

---
Expand Down Expand Up @@ -58,14 +58,14 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: coordinator-serviceaccount-rolebinding
namespace: chroma
namespace: {{ .Values.namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: pod-watcher
subjects:
- kind: ServiceAccount
name: coordinator-serviceaccount
namespace: chroma
namespace: {{ .Values.namespace }}

---
2 changes: 1 addition & 1 deletion k8s/distributed-chroma/templates/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: chroma
name: {{ .Values.namespace }}

---
2 changes: 1 addition & 1 deletion k8s/distributed-chroma/templates/pod-watcher-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: chroma
namespace: {{ .Values.namespace }}
name: pod-watcher
rules:
- apiGroups: [""]
Expand Down
10 changes: 5 additions & 5 deletions k8s/distributed-chroma/templates/worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: v1
kind: Service
metadata:
name: worker
namespace: chroma
namespace: {{ .Values.namespace }}
spec:
ports:
- name: worker-server-port
Expand All @@ -21,7 +21,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: worker
namespace: chroma
namespace: {{ .Values.namespace }}
spec:
replicas: 2
selector:
Expand Down Expand Up @@ -68,22 +68,22 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: worker-serviceaccount
namespace: chroma
namespace: {{ .Values.namespace }}

---

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: worker-serviceaccount-rolebinding
namespace: chroma
namespace: {{ .Values.namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: pod-watcher
subjects:
- kind: ServiceAccount
name: worker-serviceaccount
namespace: chroma
namespace: {{ .Values.namespace }}

---
8 changes: 4 additions & 4 deletions k8s/distributed-chroma/templates/worker_memberlist_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apiVersion: chroma.cluster/v1
kind: MemberList
metadata:
name: worker-memberlist
namespace: chroma
namespace: {{ .Values.namespace}}
spec:
members:

Expand Down Expand Up @@ -44,7 +44,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: coordinator-serviceaccount
namespace: chroma
namespace: {{ .Values.namespace }}

---

Expand All @@ -61,7 +61,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: worker-serviceaccount
namespace: chroma
namespace: {{ .Values.namespace }}

---

Expand All @@ -76,4 +76,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: default
namespace: chroma
namespace: {{ .Values.namespace }}

0 comments on commit 429bf29

Please sign in to comment.