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