This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
forked from LangStream/langstream
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deployer helm chart so that runtime picks the correct docker image (
LangStream#180) * Fix Deployer Helm Chart 1. Fix the deployer helm chart so that the runtime picks the proper docker image. 2. minio-dev.yaml picks a volume that is read only in GKE. 3. Update instructions * Yet another place to provide the runtime image
- Loading branch information
Showing
3 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: minio-dev # Change this value if you want a different namespace name | ||
labels: | ||
name: minio-dev # Change this value to match metadata.name | ||
--- | ||
# Deploys a new MinIO Pod into the metadata.namespace Kubernetes namespace | ||
# | ||
# The `spec.containers[0].args` contains the command run on the pod | ||
# The `/data` directory corresponds to the `spec.containers[0].volumeMounts[0].mountPath` | ||
# That mount path corresponds to a Kubernetes HostPath which binds `/data` to a local drive or volume on the worker node where the pod runs | ||
# For GKE and other cloud deployments let the node provide writable storage for the `localvolume` | ||
# | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
labels: | ||
app: minio | ||
name: minio | ||
namespace: minio-dev # Change this value to match the namespace metadata.name | ||
spec: | ||
containers: | ||
- name: minio | ||
image: quay.io/minio/minio:latest | ||
command: | ||
- /bin/bash | ||
- -c | ||
args: | ||
- minio server /data --console-address :9090 | ||
volumeMounts: | ||
- mountPath: /data | ||
name: localvolume # Corresponds to the `spec.volumes` Persistent Volume | ||
ports: | ||
- containerPort: 9090 | ||
protocol: TCP | ||
name: console | ||
- containerPort: 9000 | ||
protocol: TCP | ||
name: s3 | ||
volumes: | ||
- name: localvolume | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app: minio | ||
name: minio | ||
namespace: minio-dev # Change this value to match the namespace metadata.name | ||
spec: | ||
ports: | ||
- port: 9090 | ||
protocol: TCP | ||
targetPort: 9090 | ||
name: console | ||
- port: 9000 | ||
protocol: TCP | ||
targetPort: 9000 | ||
name: s3 | ||
selector: | ||
app: minio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters