k8s/manifests/02-services/hw-service.yaml
Simple_Not 490bef4610
All checks were successful
continuous-integration/drone/push Build is passing
ingress?
2023-06-22 00:24:17 +10:00

18 lines
275 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
#name: http
#protocol: TCP
#nodePort: 30001