Skip to content

Commit b490ec5

Browse files
committed
add homarr service and some cleanup
1 parent fe89ae6 commit b490ec5

File tree

8 files changed

+126
-1155
lines changed

8 files changed

+126
-1155
lines changed

serivces/gatus/app.yaml

Lines changed: 1 addition & 213 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
apiVersion: application.kubero.dev/v1alpha1
22
kind: KuberoApp
33
metadata:
4-
creationTimestamp: "2023-01-06T22:11:16Z"
5-
finalizers:
6-
- helm.sdk.operatorframework.io/uninstall-release
7-
generation: 1
84
labels:
95
manager: kubero
106
name: gatus
11-
namespace: asdf-production
12-
resourceVersion: "10189630"
13-
uid: b678d1b3-f4c6-4837-aa3b-928cd4e4b4a0
147
spec:
158
addons: []
169
affinity: {}
@@ -114,209 +107,4 @@ spec:
114107
minReplicas: 0
115108
targetCPUUtilizationPercentage: 80
116109
targetMemoryUtilizationPercentage: 80
117-
replicaCount: 0
118-
status:
119-
conditions:
120-
- lastTransitionTime: "2023-01-06T22:11:16Z"
121-
status: "True"
122-
type: Initialized
123-
- lastTransitionTime: "2023-01-06T22:11:16Z"
124-
message: |
125-
1. Get the application URL by running these commands:
126-
http://gatus.lacolhost.com/
127-
reason: InstallSuccessful
128-
status: "True"
129-
type: Deployed
130-
deployedRelease:
131-
manifest: |
132-
---
133-
# Source: kuberoapp/templates/serviceaccount.yaml
134-
apiVersion: v1
135-
kind: ServiceAccount
136-
metadata:
137-
name: gatus-kuberoapp
138-
labels:
139-
helm.sh/chart: kuberoapp-0.1.0
140-
app.kubernetes.io/name: kuberoapp
141-
app.kubernetes.io/instance: gatus
142-
app.kubernetes.io/version: "1.16.0"
143-
app.kubernetes.io/managed-by: Helm
144-
---
145-
# Source: kuberoapp/templates/service.yaml
146-
apiVersion: v1
147-
kind: Service
148-
metadata:
149-
name: gatus-kuberoapp
150-
labels:
151-
helm.sh/chart: kuberoapp-0.1.0
152-
app.kubernetes.io/name: kuberoapp
153-
app.kubernetes.io/instance: gatus
154-
app.kubernetes.io/version: "1.16.0"
155-
app.kubernetes.io/managed-by: Helm
156-
spec:
157-
type: ClusterIP
158-
ports:
159-
- port: 80
160-
targetPort: http
161-
protocol: TCP
162-
name: http
163-
selector:
164-
app.kubernetes.io/name: kuberoapp
165-
app.kubernetes.io/instance: gatus-web
166-
---
167-
# Source: kuberoapp/templates/deployment-web.yaml
168-
apiVersion: apps/v1
169-
kind: Deployment
170-
metadata:
171-
name: gatus-kuberoapp-web
172-
labels:
173-
helm.sh/chart: kuberoapp-0.1.0
174-
app.kubernetes.io/name: kuberoapp
175-
app.kubernetes.io/instance: gatus
176-
app.kubernetes.io/version: "1.16.0"
177-
app.kubernetes.io/managed-by: Helm
178-
spec:
179-
replicas: 1
180-
selector:
181-
matchLabels:
182-
app.kubernetes.io/name: kuberoapp
183-
app.kubernetes.io/instance: gatus-web
184-
template:
185-
metadata:
186-
labels:
187-
app.kubernetes.io/name: kuberoapp
188-
app.kubernetes.io/instance: gatus-web
189-
spec:
190-
serviceAccountName: gatus-kuberoapp
191-
securityContext:
192-
{}
193-
containers:
194-
- name: kuberoapp-web
195-
securityContext:
196-
readOnlyRootFilesystem: true
197-
image: "twinproduction/gatus:latest"
198-
imagePullPolicy: Always
199-
env:
200-
- name: PROC_TYPE
201-
value: web
202-
- name: PORT
203-
value: "8080"
204-
ports:
205-
- name: http
206-
containerPort: 8080
207-
protocol: TCP
208-
livenessProbe:
209-
httpGet:
210-
path: /
211-
port: http
212-
readinessProbe:
213-
httpGet:
214-
path: /
215-
port: http
216-
volumeMounts:
217-
- mountPath: /tmp
218-
name: tmp-storage
219-
readOnly: false
220-
resources:
221-
limits:
222-
cpu: 500m
223-
memory: 1Gi
224-
requests:
225-
cpu: 250m
226-
memory: 0.5Gi
227-
volumes:
228-
- name: deployment-keys
229-
secret:
230-
defaultMode: 0600
231-
secretName: deployment-keys
232-
- name: app-storage
233-
emptyDir: {}
234-
- name: tmp-storage
235-
emptyDir: {}
236-
---
237-
# Source: kuberoapp/templates/deployment-worker.yaml
238-
apiVersion: apps/v1
239-
kind: Deployment
240-
metadata:
241-
name: gatus-kuberoapp-worker
242-
labels:
243-
helm.sh/chart: kuberoapp-0.1.0
244-
app.kubernetes.io/name: kuberoapp
245-
app.kubernetes.io/instance: gatus
246-
app.kubernetes.io/version: "1.16.0"
247-
app.kubernetes.io/managed-by: Helm
248-
spec:
249-
replicas: 0
250-
selector:
251-
matchLabels:
252-
app.kubernetes.io/name: kuberoapp
253-
app.kubernetes.io/instance: gatus-worker
254-
template:
255-
metadata:
256-
labels:
257-
app.kubernetes.io/name: kuberoapp
258-
app.kubernetes.io/instance: gatus-worker
259-
spec:
260-
serviceAccountName: gatus-kuberoapp
261-
securityContext:
262-
{}
263-
containers:
264-
- name: kuberoapp-worker
265-
securityContext:
266-
readOnlyRootFilesystem: true
267-
image: "twinproduction/gatus:latest"
268-
imagePullPolicy: Always
269-
env:
270-
- name: PROC_TYPE
271-
value: worker
272-
- name: PORT
273-
value: "8080"
274-
ports:
275-
- name: http
276-
containerPort: 8080
277-
protocol: TCP
278-
volumeMounts:
279-
- mountPath: /tmp
280-
name: tmp-storage
281-
readOnly: false
282-
resources:
283-
limits:
284-
cpu: 500m
285-
memory: 1Gi
286-
requests:
287-
cpu: 250m
288-
memory: 0.5Gi
289-
volumes:
290-
- name: deployment-keys
291-
secret:
292-
defaultMode: 0600
293-
secretName: deployment-keys
294-
- name: app-storage
295-
emptyDir: {}
296-
- name: tmp-storage
297-
emptyDir: {}
298-
---
299-
# Source: kuberoapp/templates/ingress.yaml
300-
apiVersion: networking.k8s.io/v1
301-
kind: Ingress
302-
metadata:
303-
name: gatus-kuberoapp
304-
labels:
305-
helm.sh/chart: kuberoapp-0.1.0
306-
app.kubernetes.io/name: kuberoapp
307-
app.kubernetes.io/instance: gatus
308-
app.kubernetes.io/version: "1.16.0"
309-
app.kubernetes.io/managed-by: Helm
310-
spec:
311-
rules:
312-
- host: "gatus.lacolhost.com"
313-
http:
314-
paths:
315-
- path: /
316-
pathType: ImplementationSpecific
317-
backend:
318-
service:
319-
name: gatus-kuberoapp
320-
port:
321-
number: 80
322-
name: gatus
110+
replicaCount: 0

serivces/homarr/app.yaml

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
apiVersion: application.kubero.dev/v1alpha1
2+
kind: KuberoApp
3+
metadata:
4+
labels:
5+
manager: kubero
6+
name: homarr
7+
spec:
8+
addons: []
9+
affinity: {}
10+
autodeploy: true
11+
autoscale: false
12+
autoscaling:
13+
enabled: false
14+
branch: main
15+
buildpack: custom
16+
cronjobs: []
17+
deploymentstrategy: docker
18+
domain: homarr.lacolhost.com
19+
envVars: []
20+
extraVolumes:
21+
- accessModes:
22+
- ReadWriteOnce
23+
emptyDir: false
24+
mountPath: /app/data/configs
25+
name: homar-config
26+
size: 10Mi
27+
storageClass: standard
28+
- accessModes:
29+
- ReadWriteOnce
30+
emptyDir: false
31+
mountPath: /app/public/icons
32+
name: homarr-icons
33+
size: 200Mi
34+
storageClass: standard
35+
fullnameOverride: ""
36+
gitrepo:
37+
admin: true
38+
clone_url: https://github.com/kubero-dev/template-nodeapp.git
39+
default_branch: main
40+
description: Simple example Node app
41+
homepage: ""
42+
id: 501665730
43+
language: JavaScript
44+
name: template-nodeapp
45+
node_id: R_kgDOHebPwg
46+
owner: kubero-dev
47+
private: false
48+
push: true
49+
ssh_url: [email protected]:kubero-dev/template-nodeapp.git
50+
visibility: public
51+
image:
52+
build:
53+
command: npm install
54+
repository: node
55+
tag: latest
56+
containerPort: "7575"
57+
fetch:
58+
repository: ghcr.io/kubero-dev/buildpacks/fetch
59+
tag: main
60+
pullPolicy: Always
61+
repository: ghcr.io/ajnart/homarr
62+
run:
63+
command: node index.js
64+
repository: node
65+
tag: latest
66+
tag: latest
67+
imagePullSecrets: []
68+
ingress:
69+
annotations: {}
70+
className: ""
71+
enabled: true
72+
hosts:
73+
- host: homarr.lacolhost.com
74+
paths:
75+
- path: /
76+
pathType: ImplementationSpecific
77+
tls: []
78+
name: homarr
79+
nameOverride: ""
80+
nodeSelector: {}
81+
phase: stage
82+
pipeline: asdf
83+
podAnnotations: {}
84+
podSecurityContext: {}
85+
podsize:
86+
default: true
87+
description: 'Small (CPU: 0.25, Memory: 0.5Gi)'
88+
name: small
89+
resources:
90+
limits:
91+
cpu: 500m
92+
memory: 1Gi
93+
requests:
94+
cpu: 250m
95+
memory: 0.5Gi
96+
replicaCount: 1
97+
resources:
98+
limits:
99+
cpu: 500m
100+
memory: 1Gi
101+
requests:
102+
cpu: 250m
103+
memory: 0.5Gi
104+
service:
105+
port: 80
106+
type: ClusterIP
107+
serviceAccount:
108+
annotations: {}
109+
create: true
110+
name: ""
111+
tolerations: []
112+
web:
113+
autoscaling:
114+
maxReplicas: 3
115+
minReplicas: 1
116+
targetCPUUtilizationPercentage: 80
117+
targetMemoryUtilizationPercentage: 80
118+
replicaCount: 1
119+
worker:
120+
autoscaling:
121+
maxReplicas: 0
122+
minReplicas: 0
123+
targetCPUUtilizationPercentage: 80
124+
targetMemoryUtilizationPercentage: 80
125+
replicaCount: 0

serivces/kuma/app.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ metadata:
44
labels:
55
manager: kubero
66
name: kuma
7-
namespace: kuma-production
87
spec:
98
addons: []
109
affinity: {}

0 commit comments

Comments
 (0)