diff --git a/files_for_manual_deploy/pivot-simulation-deployment.yaml b/files_for_manual_deploy/pivot-simulation-deployment.yaml new file mode 100644 index 0000000..6626a8d --- /dev/null +++ b/files_for_manual_deploy/pivot-simulation-deployment.yaml @@ -0,0 +1,34 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + name: pivot-rest-deploy + name: pivot-rest-deploy +spec: + replicas: 1 + selector: + matchLabels: + name: pod-pivot-rest-deploy + template: + metadata: + labels: + name: pod-pivot-rest-deploy + name: pivot-rest-deploy + spec: + containers: + - image: ertis-rest-api-pivot + name: pivot-rest-deploy + env: + - name: KUBE_TOKEN + value: + - name: KUBE_HOST + value: + - name: IMAGE_NAME + value: + - name: DEPLOYMENT_NAME + value: + - name: NAMESPACE + value: digitaltwins + ports: + - containerPort: 8001 + imagePullPolicy: Always \ No newline at end of file diff --git a/files_for_manual_deploy/pivot-simulation-service.yaml b/files_for_manual_deploy/pivot-simulation-service.yaml new file mode 100644 index 0000000..817a723 --- /dev/null +++ b/files_for_manual_deploy/pivot-simulation-service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: pivot-rest-deploy +spec: + selector: + name: pod-pivot-rest-deploy + type: NodePort + ports: + - protocol: "TCP" + port: 7999 + nodePort: + targetPort: 8001 \ No newline at end of file