mirror of
https://github.com/kemko/slurm.git
synced 2026-01-01 15:55:48 +03:00
ingress-nginx service
This commit is contained in:
18
practice/kubespray/ingress-nginx.svc
Normal file
18
practice/kubespray/ingress-nginx.svc
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx
|
||||||
|
namespace: ingress-nginx
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 80
|
||||||
|
- name: https
|
||||||
|
port: 443
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 443
|
||||||
|
selector:
|
||||||
|
app: ingress-nginx
|
||||||
|
type: ClusterIP
|
||||||
Reference in New Issue
Block a user