-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy_spec.yaml
More file actions
44 lines (44 loc) · 1011 Bytes
/
deploy_spec.yaml
File metadata and controls
44 lines (44 loc) · 1011 Bytes
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
41
42
43
44
kind: Namespace
apiVersion: v1
metadata:
name: ${namespace}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: graal-polyglot-deployment
namespace: ${namespace}
spec:
selector:
matchLabels:
app: graal-polyglot
replicas: 3
template:
metadata:
labels:
app: graal-polyglot
spec:
containers:
- name: graal-polyglot
# enter the path to your image, be sure to include the correct region prefix
image: us-ashburn-1.ocir.io/fahdabidiroottenancy/rahul/mr-devops/mr-devops-graal-polyglot-app-repo:${BUILDRUN_HASH}
imagePullPolicy: Always
ports:
- containerPort: 3000
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: graal-polyglot-service
namespace: ${namespace}
annotations:
service.beta.kubernetes.io/oci-load-balancer-shape: "10Mbps"
spec:
type: LoadBalancer
ports:
- port: 80
protocol: TCP
targetPort: 3000
selector:
app: graal-polyglot