with services?
This commit is contained in:
parent
5e21ceaad3
commit
85abf0fda6
@ -6,6 +6,7 @@ resources:
|
||||
- pvc.yaml
|
||||
- deployment.yaml
|
||||
- configmap.yaml
|
||||
- services.yaml
|
||||
- ingress.yaml
|
||||
|
||||
namespace: recipes
|
||||
|
18
apps/recipes/services.yaml
Normal file
18
apps/recipes/services.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: recipes
|
||||
labels:
|
||||
app: recipes
|
||||
spec:
|
||||
selector:
|
||||
app: recipes
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: http
|
||||
name: http
|
||||
protocol: TCP
|
||||
- port: 8080
|
||||
targetPort: gunicorn
|
||||
name: gunicorn
|
||||
protocol: TCP
|
Loading…
x
Reference in New Issue
Block a user