How to run Kubernetes from a local PC?

5/4/2019

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?

-- HamiBU
kubernetes

1 Answer

5/4/2019

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".

-- VonC
Source: StackOverflow