Добавить ngserv.yaml
This commit is contained in:
parent
7b85d34008
commit
cd7865e4fd
13
ngserv.yaml
Normal file
13
ngserv.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nginx-svc
|
||||
labels:
|
||||
app: nginx
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: nginx
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
Loading…
x
Reference in New Issue
Block a user