ingress?
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simple_Not 2023-06-22 00:17:34 +10:00
parent 07b406c779
commit 00927cc0ba
2 changed files with 18 additions and 12 deletions

View File

@ -4,12 +4,14 @@ metadata:
name: hw-service name: hw-service
namespace: vdk2ch namespace: vdk2ch
spec: spec:
type: NodePort #type: NodePort
selector: selector:
app: helloworld app: helloworld
ports: ports:
- name: http - port: 6666
protocol: TCP
port: 80
targetPort: 80 targetPort: 80
nodePort: 30001 #name: http
#protocol: TCP
#nodePort: 30001

View File

@ -11,10 +11,14 @@ spec:
- host: asdf.vdk2ch.ru - host: asdf.vdk2ch.ru
http: http:
paths: paths:
- path: / - path: /
pathType: Prefix backend:
backend: serviceName: hw-service
service: servicePort: 6666
name: hw-service # - path: /
port: # pathType: Prefix
number: 80 # backend:
# service:
# name: hw-service
# port:
# number: 80