rancher: On the Cluster Explorer View State of Deployments is shown as unknown for k8s 1.20 clusters

Version: Rancher version: 2.5.3 K3S: v1.20.0-rc5+k3s1

**Describe the issue: ** On the Cluster Explorer View on the new UI, State of Deployments is shown as unknown with k3s as local cluster. Screenshot attached.

Steps to reproduce: Create a two node cluster on a HA setup

Other details that may be helpful: On Cluster Manager on the old UI, Deployment state is shown as Active. Screenshot attached

Environment information

  • Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5.3
  • Installation option (single install/HA): HA

Cluster information

  • Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Local
  • Machine type (cloud/VM/metal) and specifications (CPU/memory):
  • Kubernetes version (use kubectl version):
kubectl version --short
Client Version: v1.18.2
Server Version: v1.20.0-rc5+k3s1

image

image

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

@BoBiene you need to add command line arguments to the k3s invocation - as an example:

k3s server --disable=traefik --disable=local-storage --disable-network-policy --flannel-backend=none --kube-apiserver-arg=feature-gates=EphemeralContainers=true,RemoveSelfLink=false  --kube-scheduler-arg=feature-gates=EphemeralContainers=true --kube-controller-manager-arg=feature-gates=EphemeralContainers=true  --kubelet-arg=feature-gates=EphemeralContainers=true