title: How to install kube-state-metrics
body: <p>I want to collect metrics for PODs in K8s. <code>kube-state-metrics</code> looks good. I was not able to follow the <a href="https://github.com/kubernetes/kube-state-metrics#setup" rel="noreferrer">README</a>. I struck after <code>make container</code>. Is there any simple way to deploy the <code>kube-state-metrics</code>. </p>
  
  <p><strong>UPDATE1</strong></p>
  
  <p>Ran <code>kubectl apply -f kubernetes</code>. Getting below errors. I thinks, version mismatch. Any idea how to overcome?</p>
  
  <pre><code>serviceaccount "kube-state-metrics" configured
  service "kube-state-metrics" configured
  Error from server (BadRequest): error when creating "kubernetes/kube-state-metrics-cluster-role-binding.yaml": ClusterRoleBinding in version "v1" cannot be handled as a ClusterRoleBinding: no kind "ClusterRoleBinding" is registered for version "rbac.authorization.k8s.io/v1"
  Error from server (BadRequest): error when creating "kubernetes/kube-state-metrics-cluster-role.yaml": ClusterRole in version "v1" cannot be handled as a ClusterRole: no kind "ClusterRole" is registered for version "rbac.authorization.k8s.io/v1"
  Error from server (BadRequest): error when creating "kubernetes/kube-state-metrics-deployment.yaml": Deployment in version "v1beta2" cannot be handled as a Deployment: no kind "Deployment" is registered for version "apps/v1beta2"
  Error from server (BadRequest): error when creating "kubernetes/kube-state-metrics-role-binding.yaml": RoleBinding in version "v1" cannot be handled as a RoleBinding: no kind "RoleBinding" is registered for version "rbac.authorization.k8s.io/v1"
  Error from server (BadRequest): error when creating "kubernetes/kube-state-metrics-role.yaml": Role in version "v1" cannot be handled as a Role: no kind "Role" is registered for version "rbac.authorization.k8s.io/v1"
  </code></pre>