You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
k8s-test/k8s/service.yml

12 lines
182 B

apiVersion: v1
kind: Service
metadata:
name: my-web-app-service
spec:
type: NodePort
selector:
app: my-web-app
ports:
- port: 80
targetPort: 80
nodePort: 30005