Using `nginx-app` deployment multiple times, is problematic because we get conflicts or not found error. Instead of trying to handle all cases, explicit different names are used now. The tests now runs more reliably
22 lines
341 B
YAML
22 lines
341 B
YAML
apiVersion: apps/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-app-2
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:1.15.4
|
|
ports:
|
|
- containerPort: 80
|