Skip to content

Commit

Permalink
Pivot simulation deployment and service
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioinf authored Dec 12, 2023
1 parent 3147955 commit 6c67770
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
34 changes: 34 additions & 0 deletions files_for_manual_deploy/pivot-simulation-deployment.yaml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions files_for_manual_deploy/pivot-simulation-service.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6c67770

Please sign in to comment.