A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: node affinities
The Kubernetes yaml shown below describes a networkPolicy.
Will the networkPolicy BLOCK this trafftc?
Solution. a request issued from a pod bearing only the tier: frontend label, to a pod bearing the tier: backend label
A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its
address space.
If every pod on this node has exactly two containers in it, how many pods can
this address space support on this node?
A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its address space. This means that the node can assign up to 64 IP addresses to its resources, such as pods and containers. If every pod on this node has exactly two containers in it, then each pod will need two IP addresses, one for each container. Therefore, the node can support up to 32 pods, since 64 / 2 = 32. The other options are incorrect because they either exceed the available IP addresses or do not account for the number of containers per pod. Reference:
* CIDR Blocks and Container Engine for Kubernetes - Oracle
* How kubernetes assigns podCIDR for nodes? - Stack Overflow
The Kubernetes yaml shown below describes a networkPolicy.
Will the networkPolicy BLOCK this trafftc?
Solution. a request issued from a pod bearing only the tier: frontend label, to a pod bearing the tier: backend label
Is this a type of Linux kernel namespace that provides container isolation?
Solution. Host
Brynn
16 days agoThomasena
20 days agoAileen
1 months agoRosita
1 months agoGracia
2 months agoTalia
2 months agoLilli
2 months agoRory
2 months agoLorean
3 months agoTwana
3 months agoZona
3 months agoJestine
3 months agoJusta
3 months agoVilma
3 months agoCecilia
4 months agoRebbecca
4 months agoCarin
4 months agoCassie
5 months agoLashaunda
5 months agoChun
5 months agoJose
5 months agoBrittni
5 months agoDaniela
6 months agoHerminia
6 months agoCorazon
6 months agoFrancoise
7 months agoThea
7 months agoFannie
7 months agoGermaine
8 months agoSelene
8 months agoKaitlyn
9 months ago