What are the types of network services?
What are the names of the ports involved in the NodePort service?
What is the range of ports that the NodePort service can use?
30.000 - 32.767
What is the structure of a service’s configuration file?
apiVersion: v1
kind: Service
metadata:
name: app-service
spec:
type: NodePort
ports:
- targetPort: 80
port: 80
nodePort: 30008
selector:
app: myapp
type: front-endWhich command is used to create a service from a configuration file?
kubectl create -f service.yaml
Which command is used to check the services running?
kubectl get services