File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : apps/v1
22kind : Deployment
33metadata :
4- name : nodejs-faas
4+ name : nodejs-faas-production
55 labels :
6- app : nodejs-faas
6+ app : nodejs-faas-production
77spec :
88 replicas : 2
99 selector :
1010 matchLabels :
11- app : nodejs-faas
11+ app : nodejs-faas-production
1212 template :
1313 metadata :
1414 labels :
15- app : nodejs-faas
15+ app : nodejs-faas-production
1616 spec :
1717 containers :
18- - name : nodejs-faas
18+ - name : nodejs-faas-production
1919 image : shreyasnayak21/nodejs-faas:1.2.0
2020 ports :
2121 - containerPort : 9256
Original file line number Diff line number Diff line change 11apiVersion : networking.k8s.io/v1
22kind : Ingress
33metadata :
4- name : nodejs-faas-ingress
4+ name : nodejs-faas-production- ingress
55 annotations :
66 traefik.ingress.kubernetes.io/router.entrypoints : web
77spec :
1313 pathType : Prefix
1414 backend :
1515 service :
16- name : nodejs-faas-service
16+ name : nodejs-faas-production- service
1717 port :
1818 number : 80
Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : PersistentVolumeClaim
33metadata :
4- name : functions-pvc
4+ name : functions-production- pvc
55spec :
66 accessModes :
77 - ReadWriteOnce
Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : Service
33metadata :
4- name : nodejs-faas-service
4+ name : nodejs-faas-production- service
55spec :
66 selector :
77 app : nodejs-faas
You can’t perform that action at this time.
0 commit comments