-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s.yml
36 lines (36 loc) · 950 Bytes
/
k8s.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: "k8s-terraform-controller"
spec:
selector:
matchLabels:
app: "k8s-terraform-controller"
template:
metadata:
labels:
app: "k8s-terraform-controller"
spec:
imagePullSecrets:
- name: regcred-github
containers:
- name: "k8s-terraform-controller"
image: "docker.pkg.github.com/miguelaferreira/k8s-terraform-module-controller/controller-java11:0.1.0"
imagePullPolicy: Always
ports:
- name: http
containerPort: 8080
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 3
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 3
failureThreshold: 10