Browse Source

Deleted frontend.yaml file as is no longer needed

pull/815/head
Eduard Tomàs 7 years ago
parent
commit
c42a096ebb
1 changed files with 0 additions and 47 deletions
  1. +0
    -47
      k8s/frontend.yaml

+ 0
- 47
k8s/frontend.yaml View File

@ -1,47 +0,0 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: eshop
component: frontend
name: frontend
spec:
ports:
- port: 80
targetPort: 8080
selector:
app: eshop
component: frontend
type: LoadBalancer
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: frontend
spec:
template:
metadata:
labels:
app: eshop
component: frontend
spec:
containers:
- name: nginx
image: nginx:1.11.10-alpine
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
lifecycle:
preStop:
exec:
command: ["/usr/sbin/nginx","-s","quit"]
volumeMounts:
- name: config
mountPath: /etc/nginx
volumes:
- name: config
configMap:
name: config-files
items:
- key: nginx-conf
path: nginx.conf

Loading…
Cancel
Save