diff --git a/manifests/02-services/hw-service.yaml b/manifests/02-services/hw-service.yaml index 7a1e231..f176d0a 100644 --- a/manifests/02-services/hw-service.yaml +++ b/manifests/02-services/hw-service.yaml @@ -4,12 +4,14 @@ metadata: name: hw-service namespace: vdk2ch spec: - type: NodePort + #type: NodePort selector: app: helloworld ports: - - name: http - protocol: TCP - port: 80 + - port: 6666 targetPort: 80 - nodePort: 30001 \ No newline at end of file + #name: http + #protocol: TCP + + + #nodePort: 30001 \ No newline at end of file diff --git a/manifests/03-ingress/hw-ingress.yaml b/manifests/03-ingress/hw-ingress.yaml index 39e7ee8..cd9534e 100644 --- a/manifests/03-ingress/hw-ingress.yaml +++ b/manifests/03-ingress/hw-ingress.yaml @@ -11,10 +11,14 @@ spec: - host: asdf.vdk2ch.ru http: paths: - - path: / - pathType: Prefix - backend: - service: - name: hw-service - port: - number: 80 \ No newline at end of file + - path: / + backend: + serviceName: hw-service + servicePort: 6666 + # - path: / + # pathType: Prefix + # backend: + # service: + # name: hw-service + # port: + # number: 80 \ No newline at end of file