-
Notifications
You must be signed in to change notification settings - Fork 0
/
kubernetes.yml
42 lines (42 loc) · 925 Bytes
/
kubernetes.yml
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
---
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Service
metadata:
name: quarkus-app
labels:
app: quarkus-app
spec:
ports:
- name: http
port: 8080
targetPort: 8080
selector:
app: quarkus-app
type: NodePort
- apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: quarkus-app
labels:
app: quarkus-app
spec:
replicas: 2
selector:
matchLabels:
app: quarkus-app
template:
metadata:
labels:
app: quarkus-app
spec:
containers:
- name: quarkus-app
image: docker.pkg.github.com/a1brz/quarkus-app/quarkus-app-graalvm:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
name: http
protocol: TCP