Good day,
I feel like there may be something off with how this is graded. Please help me figure out what the problem might be:
Question:
Solve this question on: ssh cluster2-controlplane
Identify the CPU and memory resource capacity on
cluster2-node01 node and save the results in
/root/cluster2-node01-cpu.txt and /root/cluster2-node01-memory.txt,
respectively, on the cluster2-controlplane.
Store the values in the following format:
<Resource-name>: <Value>
Please see my terminal output:
cluster2-controlplane ~ ➜ k get nodes cluster2-node01 -o yaml | grep -i capacity -A6
capacity:
cpu: "32"
ephemeral-storage: 1546531076Ki
hugepages-1Gi: "0"
hugepages-2Mi: "0"
memory: 128899Mi
pods: "110"
cluster2-controlplane ~ ➜ cat cluster2-node01-memory.txt
memory: 128899Mi
cluster2-controlplane ~ ➜
but still I was determined to be wrong on the following metric:
Is the memory value stored?
proposed solution:
kubectl describe node cluster2-node01
You will see output similar to the following:
...
Capacity:
cpu: 16
ephemeral-storage: 772706776Ki
hugepages-1Gi: 0
hugepages-2Mi: 0
memory: 65838280Ki
pods: 110
...
Record the Resource Values
To store the official Nginx repository URL, execute the following commands:
echo "cpu: 16" > cluster2-node01-cpu.txt
echo "memory: 65838280Ki" > cluster2-node01-memory.txt