Skip to content
Snippets Groups Projects
Commit 99fb115a authored by Jan Schnaidt's avatar Jan Schnaidt
Browse files

Diverse

parent c4be4e34
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: backend-deployment
namespace: todo-namespace
namespace: todo
spec:
replicas: 2
selector:
......@@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: backend-container
image: backend-image:latest
image: backend:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9876
......
......@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend-deployment
namespace: todo-namespace
namespace: todo
spec:
replicas: 1
selector:
......@@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: frontend-container
image: frontend-image
image: frontend
imagePullPolicy: IfNotPresent # ohne diesen wert versucht minikube wieso auch immer images von dockerhub zu ziehen
ports:
- containerPort: 80
......
......@@ -2,7 +2,7 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: mongo-pv
namespace: todo-namespace
namespace: todo
spec:
capacity:
storage: 1Gi
......
......@@ -2,7 +2,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mongo-pvc
namespace: todo-namespace
namespace: todo
spec:
accessModes:
- ReadWriteOnce
......
......@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: mongodb
namespace: todo-namespace
namespace: todo
spec:
replicas: 1
selector:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment