Compare commits

..

65 commits

Author SHA1 Message Date
Micke Nordin d67abd0006
Use repo 2024-10-17 13:51:19 +02:00
Micke Nordin 2cd489694d
Fix paths 2024-10-17 13:34:00 +02:00
Micke Nordin c8719b90e0
Correct placement 2024-10-17 13:31:23 +02:00
Micke Nordin 01c82b19c4
Add trino 2024-10-17 13:29:50 +02:00
Micke Nordin 42a4400e14
Add kafka 2024-10-17 12:23:31 +02:00
Micke Nordin be15897f1b
Add back cert 2024-10-17 09:39:58 +02:00
Micke Nordin 99ae6aad08
Add back cert 2024-10-17 09:39:18 +02:00
Micke Nordin 4d7ad133f0
same 2024-10-17 09:38:01 +02:00
Micke Nordin 857f47df8c
See if we can just start it up 2024-10-17 09:36:04 +02:00
Micke Nordin 7c6e4e568e
Add spark 2024-10-16 18:05:49 +02:00
Micke Nordin e96d558fe1
Formatting 2024-10-16 17:45:37 +02:00
Micke Nordin e576aa7d63
try again 2024-10-16 17:08:33 +02:00
Micke Nordin f9603a74fb
try again 2024-10-16 17:08:01 +02:00
Micke Nordin 6540e97612
try again 2024-10-16 17:02:04 +02:00
Micke Nordin 4984c2c474
try again 2024-10-16 16:56:53 +02:00
Micke Nordin 2d027b05a7
try again 2024-10-16 16:53:50 +02:00
Micke Nordin 371218f3d0
try again 2024-10-16 16:38:14 +02:00
Micke Nordin f554c14f0d
try again 2024-10-16 16:35:17 +02:00
Micke Nordin cc8a7cbd23
try again 2024-10-16 16:10:56 +02:00
Micke Nordin f8f42d2fda
try again 2024-10-16 16:09:15 +02:00
Micke Nordin f316a8b679
try again 2024-10-16 16:05:02 +02:00
Micke Nordin 521339d17c
try again 2024-10-16 14:46:59 +02:00
Micke Nordin 3eb723bc7c
try again 2024-10-16 14:41:48 +02:00
Micke Nordin bfb8528a5b
try again 2024-10-16 14:41:13 +02:00
Micke Nordin 6a7e716655
trial and error 2024-10-16 14:22:09 +02:00
Micke Nordin 49d0fc411a
trial and error 2024-10-16 14:19:48 +02:00
Micke Nordin 656d429e35
trial and error 2024-10-16 14:09:08 +02:00
Micke Nordin 8c6039bebf
trial and error 2024-10-16 13:26:28 +02:00
Micke Nordin f8c720d61a
trial and error 2024-10-16 13:23:47 +02:00
Micke Nordin b33d75d5a5
Revert "Try default paths"
This reverts commit 55ffd9497e.
2024-10-16 13:20:43 +02:00
Micke Nordin 55ffd9497e
Try default paths 2024-10-16 13:11:06 +02:00
Micke Nordin 07da5b4f03
Upgrade manifests 2024-10-16 13:06:54 +02:00
Micke Nordin beaf615301
Upgrade manifests 2024-10-16 13:05:25 +02:00
Micke Nordin 22a4658679
Add certificate 2024-10-16 12:39:50 +02:00
Micke Nordin d73835d60b
Try more stuff 2024-10-16 12:18:15 +02:00
Micke Nordin 3ed80176f2
Try more stuff 2024-10-16 12:12:59 +02:00
Micke Nordin 4a987fa0cc
Set name 2024-10-16 12:06:36 +02:00
Micke Nordin b4b45e9c43
Try cluster ip AN class 2024-10-16 12:04:36 +02:00
Micke Nordin d354a4da3b
Try cluster ip 2024-10-16 11:52:31 +02:00
Micke Nordin cc64522243
Try not setting class att all 2024-10-16 11:50:38 +02:00
Micke Nordin e7692f2665
Correct for clusterissuer 2024-10-16 11:37:24 +02:00
Micke Nordin 17b82d9984
re,ove class 2024-10-16 10:45:52 +02:00
Micke Nordin 8d34ad30ce
Add ingress classname 2024-10-16 10:44:34 +02:00
Micke Nordin 4298770b42
only cluster-issuer 2024-10-16 10:20:49 +02:00
Micke Nordin 9d1a988ab1
Use cluster-issuer 2024-10-16 09:43:36 +02:00
Micke Nordin 44a33aee30
Use cert-manager add-on 2024-10-16 09:37:58 +02:00
Micke Nordin 94279e41b0
Add cinder and fix ns for cert-manager 2024-10-16 09:17:47 +02:00
Micke Nordin 0a25d2ea04
try moving it back 2024-10-15 17:17:02 +02:00
Micke Nordin e968d8a8cc
Go back to cert-manager ns 2024-10-15 17:08:40 +02:00
Micke Nordin af83e3cd45
Didn't do the thing 2024-10-15 16:41:06 +02:00
Micke Nordin 5367d1de02
Run the whole thing in kube-system 2024-10-15 16:34:48 +02:00
Micke Nordin 7ad1dca2d6
Try to run the issuer in kube-system 2024-10-15 16:31:47 +02:00
Micke Nordin 981656e27f
Use cluster-issuer 2024-10-15 14:45:20 +02:00
Micke Nordin 6014bc0328
don't validate acme servers cert 2024-10-15 14:30:07 +02:00
Micke Nordin 48207a6096
NAming 2024-10-15 13:03:42 +02:00
Micke Nordin bc58f96ed0
move issuer 2024-10-15 13:01:50 +02:00
Micke Nordin 11403777cb
another issuer 2024-10-15 12:56:49 +02:00
Micke Nordin 2cb16e7352
Fix naming 2024-10-15 12:55:22 +02:00
Micke Nordin 108c7c6e1a
Add tls from cert-manager 2024-10-15 12:37:27 +02:00
Micke Nordin d6d1a240e6
Add issuers 2024-10-15 12:35:06 +02:00
Micke Nordin f58a0842e1
Add issuers 2024-10-15 12:33:37 +02:00
Micke Nordin 4ae33d899c
Add overlay 2024-10-15 12:26:03 +02:00
Micke Nordin 7a868fafea
Add cert-manager 2024-10-15 12:22:08 +02:00
Micke Nordin 85b4eca237
Fix bumptag 2024-10-15 09:49:06 +02:00
Micke Nordin baca2b4936 Add argocd and bump-tag 2024-10-15 09:48:14 +02:00
11 changed files with 181 additions and 0 deletions

View file

@ -0,0 +1,27 @@
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

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

View file

@ -0,0 +1,17 @@
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

@ -0,0 +1,21 @@
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

@ -0,0 +1,22 @@
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

@ -0,0 +1,8 @@
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,6 +3,8 @@ resources:
- spark-master-controller.yml - spark-master-controller.yml
- spark-master-service.yml - spark-master-service.yml
- spark-ui-proxy-controller.yml - spark-ui-proxy-controller.yml
- spark-ui-proxy-ingress.yml
- spark-ui-proxy-service.yml
- spark-worker-controller.yml - spark-worker-controller.yml
- spark-cert-issuer.yaml - spark-cert-issuer.yaml
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1

View file

@ -0,0 +1,32 @@
---
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

@ -0,0 +1,12 @@
---
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,3 +11,5 @@ helmCharts:
namespace: spark namespace: spark
helmGlobals: helmGlobals:
chartHome: ../../base/charts/ chartHome: ../../base/charts/
patches:
- path: spark-ui-proxy-ingress.yml

View file

@ -0,0 +1,32 @@
---
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