https://rancher.com/ logo
Join the conversationJoin Slack
Channels
academy
amazon
arm
azure
cabpr
chinese
ci-cd
danish
deutsch
developer
elemental
epinio
espanol
events
extensions
fleet
français
gcp
general
harvester
harvester-dev
hobbyfarm
hypper
japanese
k3d
k3os
k3s
k3s-contributor
kim
kubernetes
kubewarden
lima
logging
longhorn-dev
longhorn-storage
masterclass
mesos
mexico
nederlands
neuvector-security
office-hours
one-point-x
onlinemeetup
onlinetraining
opni
os
ozt
phillydotnet
portugues
rancher-desktop
rancher-extensions
rancher-setup
rancher-wrangler
random
rfed_ara
rio
rke
rke2
russian
s3gw
service-mesh
storage
submariner
supermicro-sixsq
swarm
terraform-controller
terraform-provider-rancher2
terraform-provider-rke
theranchcast
training-0110
training-0124
training-0131
training-0207
training-0214
training-1220
ukranian
v16-v21-migration
vsphere
windows
Powered by Linen
general
  • g

    gifted-glass-4312

    10/25/2022, 10:06 AM
    In the "Apps & Marketplace" the chart versions can get very old. e.g. for my Rancher v2.5.7 deployment I see this: Is there a way to get newer charts. Seem that it's pulling from git branch
    release-v2.5
    and that these charts are not getting updated?
    r
    • 2
    • 2
  • s

    salmon-carpenter-62625

    10/25/2022, 11:57 AM
    Hi, any clue how to enable boot_diagnostics settings for AKS cluster from rancher2 perspective?
    ➕ 1
  • b

    brash-monitor-41966

    10/25/2022, 1:41 PM
    I was able to get rancher deployed in HA using; helm install rancher rancher-stable/rancher --namespace cattle-system --set-hostname=rancher.cluster.local --set-replicas=3 but I am unable to access rancher.cluster.local. rancher.cluster.local is a DNS with IP{ assigned by my metallb local balancer. After I deployed rancher, I only see cluster IP for services and no loadblanacer
  • b

    brash-monitor-41966

    10/25/2022, 2:05 PM
    ok not sure I am. doing this right but I was able to edit my rancher svc from clusterIP to LoadBalancer and I am able to access rancher url now
  • s

    stocky-fall-82040

    10/25/2022, 3:22 PM
    I'm running kuberentes 1.20.15-rancher2-1. Can I use firewalld or should I install iptables?
  • s

    stocky-fall-82040

    10/25/2022, 4:45 PM
    Anyone running k8s 1.20.15 or greater with firewalld? The rancher docs state to use iptables, which is a huge hassel that I want to avoid if possible.
  • s

    some-kitchen-66333

    10/25/2022, 8:53 PM
    Hi. Rancher Desktop Version 1.4.1 Getting error running kubectl config view command. Looks like Rancher is trying to download an older version of kubectl? Any suggestions?
    w
    • 2
    • 1
  • l

    lively-businessperson-12524

    10/26/2022, 8:13 AM
    Hi everybody. I want to create a project with the v3 api of Rancher. Does anybody know how to do this? I can't find any documentation about the api spec.
    s
    • 2
    • 4
  • r

    rich-island-5087

    10/26/2022, 10:20 AM
    👋 Hi everyone!
    👋 1
  • r

    red-waitress-37932

    10/26/2022, 10:54 AM
    hi. I just successfully created my first kubernetes cluster using rancher and the vsphere driver. provided were several options to boot up a VM. I picked boot2docker, which was marked as legacy. I notice that the "legacy" is very accurate. The OS seems to be quite old and has trouble connecting to letsencrypt-certified HTTPS endpoints. So I'm wondering what the standard way of creating a kubernetes node is for the vsphere driver. all the other options require templates, existing VMs or something else. boot2docker seems to me to be the only option where rancher generates the whole cluster on its own
    a
    • 2
    • 7
  • p

    proud-ram-62490

    10/26/2022, 1:34 PM
    Hello, I’m pretty sure I have a DNS issue in my Single Node Docker/Rancher 2.x setup - in troubleshooting I keep seeing this:
    kubectl exec -i -t dnsutils -- nslookup kubernetes.default
    ;; reply from unexpected source: 10.42.0.6#53, expected 10.43.0.10#53
  • p

    proud-ram-62490

    10/26/2022, 1:34 PM
    I can’t really find a clear path forward, would anyone have any insight as to what I might need to do to resolve this issue?
  • n

    nutritious-crayon-45180

    10/26/2022, 2:58 PM
    The installation script for Fleet is failing. https://fleet.rancher.io/quickstart Did anyone experience this?
  • m

    microscopic-megabyte-8477

    10/26/2022, 4:09 PM
    Hi everyone.. I’ve got a question about rancher on mac. I just installed it as a replacement for the docker engine on my mac and I’m having issues with it not finding local folders for
    bind
    mounts
    s
    • 2
    • 7
  • p

    polite-breakfast-84569

    10/26/2022, 4:16 PM
    Hi Everyone, how safe is to change via the rancher GUI the
    server-url
    ? we are not using lets-encrypt and we create our own certificates and ingress (we use istio). We do not have any upstream clusters yet, and noticed the server-url is incorrect, so does not make sense to keep it incorrect.
  • c

    chilly-exabyte-62143

    10/26/2022, 6:14 PM
    👋 Hi everyone!
    👋 1
  • l

    lively-accountant-61270

    10/26/2022, 9:53 PM
    hi #general team, was wondering can we do this aws-cloud-credentials via an AWS IAM role when i have RKE running on AWS EC2?
    n
    • 2
    • 1
  • r

    refined-area-45178

    10/27/2022, 5:55 AM
    Hey everyone, is it possible to create and manage Google Oauth user with Terraform for Rancher2? I can't find an info about Oauth on Rancher's terraform provider
  • b

    brainy-tomato-18651

    10/27/2022, 6:21 AM
    Hi guys, i’m using Rancher v2.6.5 and I want to create a Global Role with permissions to access only in 1 namespace. How can I do that? Any help please? Thanks
  • q

    quiet-area-89381

    10/27/2022, 4:23 PM
    On microk8s 1.23, I disabled the registry addon and the message recommends to do the following microk8s disable storage:destroy-storage But I feel like it would disable the default storage addon for eveything. Is that right? And I shouldn't do that if other pods rely on it now.
    c
    • 2
    • 4
  • b

    bulky-pillow-16674

    10/27/2022, 6:05 PM
    Good morning. I'm having trouble figuring out how to add users to projects with the rancher cli. I'm going to have to do a query by name which you can do from the API, but I don't see how to do it from the CLI. I was going to use the python rancher client, but it says it's deprecated in favor of the CLI. How do I do this?
  • c

    creamy-tiger-50940

    10/27/2022, 6:48 PM
    Hi! Can I add CSI plugin (vmware storage) to my currently running rke2 cluster? Or it's possible only on creating new vsphere cluster?
  • c

    clean-ability-26001

    10/27/2022, 6:57 PM
    Hi, I am creating new RKE cluster using Rancher UI with the help of VMware vSphere provider. After creating RKE cluster, it created new VMs on vSphere and then connect it and ... Finally, the cluster status in Rancher is shown "Waiting for API to be available" and the cluster is not usable. When I check the cluster condition, it is shown like this. can you share your opinion to fix this issue?
    e
    • 2
    • 3
  • l

    late-wolf-49

    10/27/2022, 7:30 PM
    hello guys, i'm using Rancher 2.5 and all of a sudden it stopped creating projects. Does anyone know why?
  • c

    creamy-tiger-50940

    10/28/2022, 7:04 AM
    Hi. I have cluster running with cloud-provider=rke2. Can I add vmware CSI to it to add persistent volumes?
    c
    • 2
    • 8
  • p

    polite-breakfast-84569

    10/28/2022, 8:49 AM
    Hi, I have a RKE2 Cluster with Istio as ingress, but when I setup
    Rancher
    with Letsencrypt Certificate. I Cannot anymore
    port-forward
    and
    exec
    $ k exec -it rancher-58f6c44c59-zg2ft -- bash
    Error from server:
    
    $ k port-forward svc/rancher 8080:80
    error: error upgrading connection:
    Has anyone an Idea why is that?
    r
    g
    • 3
    • 9
  • m

    miniature-rain-60792

    10/28/2022, 9:31 AM
    👋 Hi everyone!
    👋 1
  • r

    red-waitress-37932

    10/28/2022, 2:22 PM
    the kubectl shell in the rancher web interface is outdated:
    Client Version: <http://version.Info|version.Info>{Major:"1", Minor:"21", GitVersion:"v1.21.8", GitCommit:"4a3b558c52eb6995b3c5c1db5e54111bd0645a64", GitTreeState:"clean", BuildDate:"2021-12-15T14:52:11Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: <http://version.Info|version.Info>{Major:"1", Minor:"24", GitVersion:"v1.24.4", GitCommit:"95ee5ab382d64cfe6c28967f36b53970b8374491", GitTreeState:"clean", BuildDate:"2022-08-17T18:47:37Z", GoVersion:"go1.18.5", Compiler:"gc", Platform:"linux/amd64"}
    For example, I can't run "kubectl create token" from the kubernetes-dashboard docs: https://github.com/kubernetes/dashboard/blob/master/docs/user/access-control/creating-sample-user.md 1.24 doesn't automatically create a token anymore either Is there a way to update that kubectl shell?
    • 1
    • 1
  • l

    little-smartphone-40189

    10/28/2022, 2:56 PM
    Is there any way to automatically clean-up or remove nodes stuck in a registering state in the Rancher U/I after a certain timeout period? I notice with auto-scaling that sometimes a node doesn't join, and gets cleaned up by the ASG/Cluster Autoscaler but is always still in the rancher U/I and has to be manually removed.
    p
    r
    • 3
    • 5
  • q

    quiet-area-89381

    10/28/2022, 4:36 PM
    Not sure if it's where I should ask since it's about prometheus, but it's the helm chart installed via the Rancher UI. The prometheus pod keeps dying with OOM it appears. I haven't seen any more explanation so far. It's been running ok for about a week, so I wonder if it's just a sizing issue.
    CrashLoopBackOff (back-off 5m0s restarting failed container=prometheus pod=prometheus-rancher-monitoring-prometheus-0_cattle-monitoring-system(5296c2b1-660b-4c15-a16f-b139a66b559d)) | Last state: Terminated with 137: OOMKilled (ponent=tsdb msg=&quot;WAL segment loaded&quot; segment=207 maxSegment=208 level=info ts=2022-10-28T16:29:49.827Z caller=head.go:854 component=tsdb msg=&quot;WAL segment loaded&quot; segment=208 maxSegment=208 level=info ts=2022-10-28T16:29:49.828Z caller=head.go:860 component=tsdb msg=&quot;WAL replay completed&quot; checkpoint_replay_duration=12.698413338s
    c
    • 2
    • 6
Powered by Linen
Title
q

quiet-area-89381

10/28/2022, 4:36 PM
Not sure if it's where I should ask since it's about prometheus, but it's the helm chart installed via the Rancher UI. The prometheus pod keeps dying with OOM it appears. I haven't seen any more explanation so far. It's been running ok for about a week, so I wonder if it's just a sizing issue.
CrashLoopBackOff (back-off 5m0s restarting failed container=prometheus pod=prometheus-rancher-monitoring-prometheus-0_cattle-monitoring-system(5296c2b1-660b-4c15-a16f-b139a66b559d)) | Last state: Terminated with 137: OOMKilled (ponent=tsdb msg=&quot;WAL segment loaded&quot; segment=207 maxSegment=208 level=info ts=2022-10-28T16:29:49.827Z caller=head.go:854 component=tsdb msg=&quot;WAL segment loaded&quot; segment=208 maxSegment=208 level=info ts=2022-10-28T16:29:49.828Z caller=head.go:860 component=tsdb msg=&quot;WAL replay completed&quot; checkpoint_replay_duration=12.698413338s
using the default values in the helm chart, only changed the retention to 10d. memory request 750M, limit 3GB,
Is there a way to ballpark the memory usage of the container based on the data retention, the number of dashboards etc...
I bumped the memory to 10G, and I see it is indeed using 3.7G at times.
c

creamy-pencil-82913

10/28/2022, 4:53 PM
prometheus’s memory utilization isn’t really influenced by the number of dashboards. It’s more about data cardinality - how many different elements is it collecting in a period of time. More nodes / pods / services / etc will push that up. Basically, the larger your cluster, the more memory it will need.
https://grafana.com/blog/2022/02/15/what-are-cardinality-spikes-and-why-do-they-matter/
q

quiet-area-89381

10/28/2022, 5:00 PM
thanks. That makes a lot of sense. I was a bit lazy typing, that's what I meant in my head.
View count: 12