Actualizar workloads/nginx/nginx-resources.yaml
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
---
|
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -27,10 +26,12 @@ metadata:
|
|||||||
name: nginx-service
|
name: nginx-service
|
||||||
namespace: nginx-web
|
namespace: nginx-web
|
||||||
spec:
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
app: nginx
|
app: nginx
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- name: http
|
||||||
|
protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
|
|
||||||
@@ -40,10 +41,8 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
name: nginx-ingress
|
name: nginx-ingress
|
||||||
namespace: nginx-web
|
namespace: nginx-web
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: nginx
|
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: traefik
|
||||||
rules:
|
rules:
|
||||||
- host: app.cruzcloud.net
|
- host: app.cruzcloud.net
|
||||||
http:
|
http:
|
||||||
|
|||||||
Reference in New Issue
Block a user