Skip to content

Commit

Permalink
Created a version of the k8s manifest deployment without using kustom…
Browse files Browse the repository at this point in the history
…ize in the manifests/build dir.
  • Loading branch information
alfredeen committed May 2, 2024
1 parent aa49af8 commit 2b5d84d
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
nginx.ingress.kubernetes.io/auth-realm: "Protected area"
spec:
rules:
- host: locust.serve-dev.scilifelab.se #localhost
- host: locust.serve-dev.scilifelab.se
http:
paths:
- pathType: Prefix
Expand All @@ -20,7 +20,7 @@ spec:
service:
name: locust-service
port:
number: 80 #8089
number: 80
#ingressClassName: nginx
tls:
- hosts:
Expand Down
4 changes: 4 additions & 0 deletions manifests/built/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: locust
11 changes: 11 additions & 0 deletions manifests/built/pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data-pvc
namespace: locust
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ data:
SERVE_LOCUST_TEST_USER_PASS: cGFzc3dvcmQxMjM=
SERVE_LOCUST_DO_CREATE_OBJECTS: ZmFsc2U=
PROTECTED_PAGE_RELATIVE_URL: Y2hhbmdlLW1l
POSTGRES_PASSWORD: Q2JpNk42RWVSUGc2RTdC
TIMESCALEDB_TELEMETRY: b2Zm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ spec:
app: locust
ports:
- protocol: TCP
port: 80 #8089
port: 80
targetPort: 8089
type: ClusterIP #NodePort
type: ClusterIP
Empty file.

0 comments on commit 2b5d84d

Please sign in to comment.