I have downloaded the kubernetes from GitHub and now I want to run it from the downloaded file not from GitHub. Could you please help me?
You can follow:
That is:
apiVersion: v1
kind: Pod
metadata:
name: cpu-demo
namespace: cpu-example
spec:
containers:
- name: demo-ctr
image: vish/stress
resources:
limits:
cpu: "1"
memory: "200Mi"
requests:
cpu: "0.5"
memory: "100Mi"
args:
- -cpus
- "2"
At the pod level: "Configure a Pod Quota for a Namespace".