Nikhil Kumar Agrawal
Nikhil Kumar Agrawal

Reputation: 724

how to deploy hyperkube image in a kubernetes pod?

I want to deploy hyperkube in a Kubernetes pod.
I already have a Kubernetes cluster. I tried few docker images in the docker hub. But all pods are failing with some issues.
I am not able to deploy hyperkube image in a Kubernetes pod.

Upvotes: 0

Views: 576

Answers (1)

lexsys
lexsys

Reputation: 535

hyperkube is the binary to run k8s components on the nodes. It is not intended to run inside the k8s cluster.

You may want to start with busybox image:

apiVersion: v1
kind: Pod
metadata:
  name: busybox
spec:
  containers:
  - image: busybox
    command:
      - sleep
      - "600"
    name: busybox

Upvotes: 1

Related Questions