feat: tp5, pas fini (7.4 commencé)
This commit is contained in:
parent
1fef95a37f
commit
83775e9dc0
18 changed files with 466 additions and 0 deletions
15
tp5/web_service.yaml
Normal file
15
tp5/web_service.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: app
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
selector:
|
||||
app: web
|
||||
ports:
|
||||
- name: http-app
|
||||
protocol: TCP
|
||||
port: {{ .Values.web.port }}
|
||||
targetPort: 5000
|
||||
nodePort: {{ .Values.web.nodePort }}
|
||||
type: {{ .Values.web.serviceType | default "ClusterIP" }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue