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