generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.yaml
40 lines (40 loc) · 842 Bytes
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Oracle OCI Generative AI LangChain For Java version 1.0.
#
# Copyright (c) 2024, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
kind: Service
apiVersion: v1
metadata:
name: langchain4java
labels:
app: langchain4java
spec:
type: NodePort
selector:
app: langchain4java
ports:
- port: 8080
targetPort: 8080
name: http
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: langchain4java
spec:
replicas: 1
selector:
matchLabels:
app: langchain4java
template:
metadata:
labels:
app: langchain4java
version: v1
spec:
containers:
- name: langchain4java
image: langchain4java
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080