Skip to content
Snippets Groups Projects
Commit e489b05e authored by Robert Butora's avatar Robert Butora
Browse files

adds preliminary kubernetes yaml

parent 3e489ecf
Branches
Tags
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment