diff --git a/vlmcsd/deployment.yaml b/vlmcsd/deployment.yaml new file mode 100644 index 0000000..c833120 --- /dev/null +++ b/vlmcsd/deployment.yaml @@ -0,0 +1,23 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: vlmcsd +spec: + selector: + matchLabels: + app: vlmcsd + template: + metadata: + labels: + app: vlmcsd + spec: + containers: + - name: vlmcsd + image: mikolatero/vlmcsd + resources: + limits: + memory: "512Mi" + cpu: "500m" + livenessProbe: + tcpSocket: + port: 1688 diff --git a/vlmcsd/svc.yaml b/vlmcsd/svc.yaml new file mode 100644 index 0000000..2ae2d05 --- /dev/null +++ b/vlmcsd/svc.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: vlmcsd-lb +spec: + type: LoadBalancer + selector: + app: vlmcsd + ports: + - port: 1688 + targetPort: 1688