Font size
Worksheets6. Kubernetes Networking & Services
Total questions: 20
Worksheet time: 16mins
All containers/PODs can communicate to one another without NAT.
True
False
All nodes must be able to communicate with all containers in the cluster, and vice-versa.
True
False
It specifies the port number of the node.
NodePort
ClusterIP
LoadBalancer
Which are Kubernetes services?
NodePort
ConfigMap
ClusterIP
LoadBalancer
ServiceAccount
"The service makes an internal port (TargetPort) accessible on a port in the node (NodePort)".
Which Kubernetes service does the above statement refer to?
NodePort
ConfigMap
ClusterIP
LoadBalancer
ServiceAccount
"The service creates a virtual IP inside the cluster to enable communications between different services"
Which Kubernetes service does the above statement refer to?
NodePort
ConfigMap
ClusterIP
LoadBalancer
ServiceAccount
"The service creates a virtual IP inside the cluster to enable communications between different services".
Which Kubernetes service does the above statement refer to?
NodePort
ConfigMap
ClusterIP
LoadBalancer
ServiceAccount
"It provisions a load balancer for our application in supported cloud providers".
Which Kubernetes service does the above statement refer to?
NodePort
ConfigMap
ClusterIP
LoadBalancer
ServiceAccount
The port on the POD is known as the (a)
Fill the blank space.
The port in the service is just simply referred as the (a)
Fill the blank space.
The IP address of the service is called the (a)
Fill the blank space.
The port in the node is called the (a)
Fill the blank space.
Node ports can only be in the range between (1)__________ and (2)__________
Fill the blank space.
(1) 1024
(2) 2048
(2) 32768
(2) 32767
(1) 30000
The port in the node is called the (a)
Fill the blank space.
Which are two new parameters inside "spec" for a service definition file that are not present in ReplicaSet or Deployment definition files?
selector
type
matchLabels
ports
apiServer
Type the full command to create a service from the already created "service-definition.yml" file
(a)
Type the full command to list all the services created in the cluster:
(a)
You have a web app running in one POD with the IP address 192.168.1.2. The NodePort set for this POD is 30008.
Type the full command to access the web server using the IP of the node and the nodePort.
(a)
When we have multiple PODs in HA, let say for example three web applications PODs working in HA, we have to set all the applications with the same (a)
Fill the blank space:
If we have multiple applications running in HA mode, we can deploy a (a) machine, that it can be for example a reverse proxy.
