<p>I tried using rktlet(<a href="https://github.com/kubernetes-incubator/rktlet/blob/master/docs/getting-started-guide.md" rel="nofollow noreferrer">https://github.com/kubernetes-incubator/rktlet/blob/master/docs/getting-started-guide.md</a>)</p>

<p>But when I try to </p>

<pre><code>kubelet --cgroup-driver=systemd \
&gt; --container-runtime=remote \
&gt; --container-runtime-endpoint=/var/run/rktlet.sock \
&gt; --image-service-endpoint=/var/run/rktlet.sock
</code></pre>

<p>I am getting the below errors</p>

<pre><code>Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
I0320 13:10:21.661373    3116 server.go:407] Version: v1.13.4
I0320 13:10:21.663411    3116 plugins.go:103] No cloud provider specified.
W0320 13:10:21.664635    3116 server.go:552] standalone mode, no API client
W0320 13:10:21.669757    3116 server.go:464] No api server defined - no events will be sent to API server.
I0320 13:10:21.669791    3116 server.go:666] --cgroups-per-qos enabled, but --cgroup-root was not specified.  defaulting to /
I0320 13:10:21.670018    3116 container_manager_linux.go:248] container manager verified user specified cgroup-root exists: []
I0320 13:10:21.670038    3116 container_manager_linux.go:253] Creating Container Manager object based on Node Config: {RuntimeCgroupsName: SystemCgroupsName: KubeletCgroupsName: ContainerRuntime:remote CgroupsPerQOS:true CgroupRoot:/ CgroupDriver:systemd KubeletRootDir:/var/lib/kubelet ProtectKernelDefaults:false NodeAllocatableConfig:{KubeReservedCgroupName: SystemReservedCgroupName: EnforceNodeAllocatable:map[pods:{}] KubeReserved:map[] SystemReserved:map[] HardEvictionThresholds:[{Signal:nodefs.inodesFree Operator:LessThan Value:{Quantity:&lt;nil&gt; Percentage:0.05} GracePeriod:0s MinReclaim:&lt;nil&gt;} {Signal:imagefs.available Operator:LessThan Value:{Quantity:&lt;nil&gt; Percentage:0.15} GracePeriod:0s MinReclaim:&lt;nil&gt;} {Signal:memory.available Operator:LessThan Value:{Quantity:100Mi Percentage:0} GracePeriod:0s MinReclaim:&lt;nil&gt;} {Signal:nodefs.available Operator:LessThan Value:{Quantity:&lt;nil&gt; Percentage:0.1} GracePeriod:0s MinReclaim:&lt;nil&gt;}]} QOSReserved:map[] ExperimentalCPUManagerPolicy:none ExperimentalCPUManagerReconcilePeriod:10s ExperimentalPodPidsLimit:-1 EnforceCPULimits:true CPUCFSQuotaPeriod:100ms}
I0320 13:10:21.670125    3116 container_manager_linux.go:272] Creating device plugin manager: true
I0320 13:10:21.670151    3116 state_mem.go:36] [cpumanager] initializing new in-memory state store
I0320 13:10:21.670254    3116 state_mem.go:84] [cpumanager] updated default cpuset: ""
I0320 13:10:21.670271    3116 state_mem.go:92] [cpumanager] updated cpuset assignments: "map[]"
W0320 13:10:21.672059    3116 util_unix.go:77] Using "/var/run/rktlet.sock" as endpoint is deprecated, please consider using full url format "unix:///var/run/rktlet.sock".
W0320 13:10:21.672124    3116 util_unix.go:77] Using "/var/run/rktlet.sock" as endpoint is deprecated, please consider using full url format "unix:///var/run/rktlet.sock".
E0320 13:10:21.673168    3116 remote_runtime.go:72] Version from runtime service failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
E0320 13:10:21.673228    3116 kuberuntime_manager.go:184] Get runtime version failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
F0320 13:10:21.673249    3116 server.go:261] failed to run Kubelet: failed to create kubelet: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
</code></pre>

<p>How do I create a kube cluster using rkt? Please help.</p>

JibinNajeeb
<p>That's the way to run <code>Rktlet</code>. However, Rktlet is still pretty experimental and I believe it's not being actively developed either. The <a href="https://github.com/kubernetes-incubator/rktlet/commit/fd7fc6bf4a25f03c22e5f6e30f3d9f12c468afcb" rel="nofollow noreferrer">last commit</a> as per this writing was in <code>05/2018</code>. </p>

<p>You can try running it the other way as described <a href="https://coreos.com/rkt/docs/latest/using-rkt-with-kubernetes.html" rel="nofollow noreferrer">here</a> or <a href="https://www.devtech101.com/2017/11/02/configuring-kubernetes-3-node-cluster-coreos-kubelet-rkt-cni-part-4/" rel="nofollow noreferrer">here</a>. Basically, use <code>--container-runtime=rkt</code>, <code>--rkt-path=PATH_TO_RKT_BINARY</code>, etc. on the kubelet.</p>

<p>Is there a reason why you are need <code>rkt</code>? Note that <code>--container-runtime=rkt</code> is <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/" rel="nofollow noreferrer">deprecated</a> in the latest Kubernetes but should still work (1.13 as of this writing).</p>
