Update k8s/moj-servis/service.yaml
This commit is contained in:
@@ -1,26 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
apiVersion: v1
|
kind: Service
|
||||||
|
metadata:
|
||||||
kind: Service
|
|
||||||
|
|
||||||
metadata:
|
|
||||||
|
|
||||||
name: moj-servis-svc
|
name: moj-servis-svc
|
||||||
|
|
||||||
namespace: student-zvoneC
|
namespace: student-zvoneC
|
||||||
|
spec:
|
||||||
spec:
|
|
||||||
|
|
||||||
selector:
|
selector:
|
||||||
|
|
||||||
app: moj-servis
|
app: moj-servis
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
|
|
||||||
- port: 80
|
- port: 80
|
||||||
|
|
||||||
targetPort: 8000
|
targetPort: 8000
|
||||||
|
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
type: NodePort
|
type: NodePort
|
||||||
Reference in New Issue
Block a user