diff --git a/workspaces/backend/Makefile b/workspaces/backend/Makefile index b76e688a..3489324e 100644 --- a/workspaces/backend/Makefile +++ b/workspaces/backend/Makefile @@ -72,16 +72,6 @@ docker-build: ## Build docker image with the backend. docker-push: ## Push docker image with the backend. $(CONTAINER_TOOL) push ${IMG} -## Deployment - -.PHONY: deploy -deploy: ## deploy the backend-app - kubectl apply -f config/deploy/deployment.yaml - -.PHONY: undeploy -undeploy: ## undeploy the backend-app - kubectl delete -f config/deploy/deployment.yaml - ##@ Dependencies ## Location to install dependencies to diff --git a/workspaces/backend/config/deploy/deployment.yaml b/workspaces/backend/config/deploy/deployment.yaml deleted file mode 100644 index dd2df5b0..00000000 --- a/workspaces/backend/config/deploy/deployment.yaml +++ /dev/null @@ -1,34 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: my-backend-deployment - labels: - app: my-backend -spec: - replicas: 1 - selector: - matchLabels: - app: backend - template: - metadata: - labels: - app: backend - spec: - containers: - - name: backend-container - image: nbv2-backend:latest - ports: - - containerPort: 4000 ---- -apiVersion: v1 -kind: Service -metadata: - name: my-backend-service -spec: - selector: - app: my-backend - ports: - - protocol: TCP - port: 80 - targetPort: 4000 - type: ClusterIP \ No newline at end of file