FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-gradle/java-gradle-template.yaml at master · DevSecOpsSamples/java-gradle · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
DevSecOpsSamples
/
java-gradle
Public
Notifications
You must be signed in to change notification settings
Fork
9
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-gradle
/
java-gradle-template.yaml
Copy path
More file actions
More file actions
Latest commit
History
History
History
100 lines (100 loc) · 2.55 KB
Breadcrumbs
java-gradle
/
java-gradle-template.yaml
Copy path
File metadata and controls
100 lines (100 loc) · 2.55 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
java-gradle
namespace
:
default
annotations
:
app
:
'
java-gradle
'
spec
:
replicas
:
2
selector
:
matchLabels
:
app
:
java-gradle
template
:
metadata
:
labels
:
app
:
java-gradle
spec
:
containers
:
-
name
:
java-gradle
image
:
<account-id>.dkr.ecr.<region>.amazonaws.com/java-gradle:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
8080
resources
:
requests
:
cpu
:
1
memory
:
"
1024Mi
"
env
:
-
name
:
env
value
:
"
dev
"
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
java-gradle
annotations
:
app
:
'
java-gradle
'
alb.ingress.kubernetes.io/healthcheck-path
:
"
/ping
"
spec
:
selector
:
app
:
java-gradle
type
:
NodePort
ports
:
-
port
:
8080
targetPort
:
8080
protocol
:
TCP
---
apiVersion
:
autoscaling/v2beta2
kind
:
HorizontalPodAutoscaler
metadata
:
name
:
'
java-gradle-hpa
'
namespace
:
default
spec
:
scaleTargetRef
:
apiVersion
:
apps/v1
kind
:
Deployment
name
:
'
java-gradle
'
minReplicas
:
2
maxReplicas
:
10
metrics
:
-
type
:
Resource
resource
:
name
:
cpu
target
:
type
:
Utilization
averageUtilization
:
50
---
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
"
java-gradle-ingress
"
namespace
:
default
annotations
:
app
:
'
java-gradle
'
kubernetes.io/ingress.class
:
alb
alb.ingress.kubernetes.io/scheme
:
internet-facing
alb.ingress.kubernetes.io/target-type
:
ip
alb.ingress.kubernetes.io/load-balancer-name
:
java-gradle
alb.ingress.kubernetes.io/load-balancer-attributes
:
idle_timeout.timeout_seconds=30
alb.ingress.kubernetes.io/target-group-attributes
:
deregistration_delay.timeout_seconds=10
alb.ingress.kubernetes.io/listen-ports
:
'
[{"HTTP": 80}, {"HTTPS":443}]
'
#
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:<region>:<account-id>:certificate/<id>
#
alb.ingress.kubernetes.io/ssl-redirect: '443'
alb.ingress.kubernetes.io/tags
:
env=dev
alb.ingress.kubernetes.io/healthcheck-interval-seconds
:
'
30
'
alb.ingress.kubernetes.io/healthcheck-timeout-seconds
:
'
29
'
alb.ingress.kubernetes.io/healthy-threshold-count
:
'
2
'
alb.ingress.kubernetes.io/unhealthy-threshold-count
:
'
5
'
spec
:
rules
:
-
http
:
paths
:
-
path
:
/*
pathType
:
ImplementationSpecific
backend
:
service
:
name
:
"
java-gradle
"
port
:
number
:
8080
Back
|
FazBrowse Home
|
New Git URL