diff --git a/desteg-deployment.yaml b/desteg-deployment.yaml index b5c411e..92f809e 100644 --- a/desteg-deployment.yaml +++ b/desteg-deployment.yaml @@ -5,7 +5,7 @@ metadata: labels: app: desteg spec: - replicas: 1 + replicas: 3 selector: matchLabels: app: desteg @@ -19,3 +19,16 @@ spec: image: dockerhub.kube:5000/desteg:latest ports: - containerPort: 5002 +--- +apiVersion: v1 +kind: Service +metadata: + name: desteg +spec: + selector: + app: desteg + ports: + - protocol: TCP + port: 5002 + targetPort: 5002 + type: LoadBalancer