Compare commits

..

7 commits

Author SHA1 Message Date
Micke Nordin a9ec608b3b
Cleanup 2024-10-17 14:58:00 +02:00
Micke Nordin 6895552040
Add trino 2024-10-17 14:57:59 +02:00
Micke Nordin dfa7b7dfb6
Add kafka 2024-10-17 14:57:55 +02:00
Micke Nordin 13189ff516
Add spark 2024-10-17 14:57:54 +02:00
Micke Nordin ed160441df
Formatting 2024-10-17 14:57:50 +02:00
Micke Nordin d7611b64e4
Add cert-manager 2024-10-17 14:57:49 +02:00
Micke Nordin e2f94cf34f
Add argocd and bump-tag 2024-10-17 14:56:50 +02:00
11 changed files with 0 additions and 181 deletions

View file

@ -1,27 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-ingress
namespace: argocd
spec:
defaultBackend:
service:
name: argocd-server
port:
number: 80
ingressClassName: nginx
tls:
- hosts:
- argocd.streams.sunet.se
secretName: tls-secret
rules:
- host: argocd.streams.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
number: 80

View file

@ -1,6 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources: [../../base]
patches:
- path: argocd-ingress.yaml

View file

@ -1,17 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/instance: argocd
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
name: argocd-cm
namespace: argocd
data:
resource.customizations: |
networking.k8s.io/Ingress:
health.lua: |
hs = {}
hs.status = "Healthy"
return hs
kustomize.buildOptions: --enable-helm

View file

@ -1,21 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: repo-server
app.kubernetes.io/name: argocd-repo-server
app.kubernetes.io/part-of: argocd
name: argocd-repo-server
namespace: argocd
spec:
template:
metadata:
labels:
app.kubernetes.io/name: argocd-repo-server
spec:
containers:
- name: argocd-repo-server
env:
- name: ARGOCD_EXEC_TIMEOUT
value: "300s"

View file

@ -1,22 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/component: server
app.kubernetes.io/name: argocd-server
app.kubernetes.io/part-of: argocd
name: argocd-server
namespace: argocd
spec:
template:
metadata:
labels:
app.kubernetes.io/name: argocd-server
spec:
containers:
- args:
- /usr/local/bin/argocd-server
- --insecure
- --redis
- "argocd-redis-ha-haproxy:6379"
name: argocd-server

View file

@ -1,8 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
patches:
- path: argocd-server-deployment.yaml
- path: argocd-repo-server-deployment.yaml
- path: argocd-cm.yaml

View file

@ -3,8 +3,6 @@ resources:
- spark-master-controller.yml
- spark-master-service.yml
- spark-ui-proxy-controller.yml
- spark-ui-proxy-ingress.yml
- spark-ui-proxy-service.yml
- spark-worker-controller.yml
- spark-cert-issuer.yaml
apiVersion: kustomize.config.k8s.io/v1beta1

View file

@ -1,32 +0,0 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: spark-ui-proxy-ingress
annotations:
kubernetes.io/ingress.class: nginx
# nginx.ingress.kubernetes.io/auth-type: basic
# nginx.ingress.kubernetes.io/auth-secret: htpasswd
# nginx.ingress.kubernetes.io/auth-realm: Enter your credentials
cert-manager.io/issuer: "letsencrypt"
spec:
ingressClassName: nginx
defaultBackend:
service:
name: spark-ui-proxy
port:
number: 80
tls:
- hosts: [spark-test.streams.sunet.se]
secretName: tls-secret
rules:
- host: spark-test.streams.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: spark-ui-proxy
port:
number: 80

View file

@ -1,12 +0,0 @@
---
kind: Service
apiVersion: v1
metadata:
name: spark-ui-proxy
spec:
ports:
- port: 80
targetPort: 80
selector:
component: spark-ui-proxy
type: LoadBalancer

View file

@ -11,5 +11,3 @@ helmCharts:
namespace: spark
helmGlobals:
chartHome: ../../base/charts/
patches:
- path: spark-ui-proxy-ingress.yml

View file

@ -1,32 +0,0 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: spark-ui-proxy-ingress
annotations:
kubernetes.io/ingress.class: nginx
# nginx.ingress.kubernetes.io/auth-type: basic
# nginx.ingress.kubernetes.io/auth-secret: htpasswd
# nginx.ingress.kubernetes.io/auth-realm: Enter your credentials
cert-manager.io/issuer: "letsencrypt"
spec:
ingressClassName: nginx
defaultBackend:
service:
name: spark-ui-proxy
port:
number: 80
tls:
- hosts: [spark-test.streams.sunet.se]
secretName: tls-secret
rules:
- host: spark-test.streams.sunet.se
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: spark-ui-proxy
port:
number: 80