Pod Connectivity
Create a namespace
Create a namespace so that the resources you create in this exercise are isolated from the rest of your cluster.
To specify a memory request for a Container, include the resources:requests
field in the Container's resource manifest. To specify a memory limit, include resources:limits
.
In this exercise, you create a Pod that has one Container. The Container has a memory request of 100 MiB and a memory limit of 200 MiB. Here's the configuration file for the Pod:
Create the Pod:
Verify that the Pod Container is running:
View detailed information about the Pod:
Run kubectl top
to fetch the metrics for the pod:
Delete your Pod:
Last updated