diff --git a/docker/deplserv.yaml b/docker/deplserv.yaml new file mode 100644 index 0000000000000000000000000000000000000000..08c23eba5ce46a04e8923a074d3cf7da5ca42c1a --- /dev/null +++ b/docker/deplserv.yaml @@ -0,0 +1,43 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: webapp-deployment + labels: + app: webapp +spec: + replicas: 1 + selector: + matchLabels: + app: webapp + template: + metadata: + labels: + app: webapp + spec: + containers: + - name: mkube-soda + image: docker.io/library/soda:latest + imagePullPolicy: Never + ports: + - containerPort: 8080 + env: + - name: ACCESS_CONTEXT_ROOT + value: vlkb#datasets + - name: DEBUG_LEVEL + value: FINEST +--- +apiVersion: v1 +kind: Service +metadata: + name: webapp-service +spec: + type: NodePort + selector: + app: webapp + ports: + - protocol: TCP + port: 8080 + targetPort: 8080 + nodePort: 30100 + + # minikube ip -> prints access-ip to use: http://<ip>:30100/vlkb/datasets