k8s/manifests/02-services/hw-service.yaml
Simple_Not 738b259363
All checks were successful
continuous-integration/drone/push Build is passing
ingress?
2023-06-22 00:45:48 +10:00

24 lines
367 B
YAML

apiVersion: v1
kind: Service
metadata:
name: hw-service
namespace: vdk2ch
spec:
type: NodePort
selector:
app: helloworld
ports:
- port: 80
targetPort: 80
nodePort: 30001
# - protocol: TCP
# port: 8080
# targetPort: 8080
# nodePort: 32129
#name: http
#protocol: TCP
#nodePort: 30001