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
  • b

    best-address-42882

    12/22/2022, 7:28 PM
    Hi does anybody know, is it possible to change env in existing Rancher container from CATTLE_SYSTEM_CATALOG=bundled back to normal mode?
  • w

    wonderful-judge-81095

    12/22/2022, 10:51 PM
    Hi Rancher experts, I'm in a jam. New to Rancher, I have a cluster's etcd complaining about
  • w

    wonderful-judge-81095

    12/22/2022, 10:51 PM
    rafthttp: request cluster ID mismatch (got b6af2b81d31c82fe want 4e37c08404c20c13)
    l
    • 2
    • 10
  • w

    wonderful-judge-81095

    12/22/2022, 10:53 PM
    all was working fine for 3 yrs and now I keep seeing restarting after docker ps. If I run docker exec etcd etcdctl member list Error: context deadline exceeded. There seems to be some corruption with no endpoints. Not sure how to fix with Rancher
  • a

    adorable-train-88202

    12/23/2022, 2:54 AM
    Hi all, anyone mess with air gap installs? Is there any faster way to populate a private repository instead of using the two provided scripts save and load images? And is it supposed to have so many images 340-ish?
  • a

    adorable-train-88202

    12/23/2022, 7:43 AM
    How are you dealing with RKE1 cluster deploy and the docker install need when there is no access to the Internet? Was able to create private registry and install all via air gap means but that part was not covered in the instructions. Any way to create something local? How are folks dealing with this in environments with no internet access?
  • c

    crooked-cat-21365

    12/23/2022, 11:11 AM
    Hi folks, something went bad on creating a new cluster (2 hosts, RKE): Rancher claims "Provisioning" on the Cluster Management page for the new one, but there is a red bar saying "namespaces "c-mflh9" not found". Trying to delete the cluster I get an error popup saying
    {
      "type": "error",
      "links": {},
      "code": "NotFound",
      "message": "<http://clusters.provisioning.cattle.io|clusters.provisioning.cattle.io> \"c-mflh9\" not found",
      "status": 404
    }
    • 1
    • 1
  • b

    billowy-dusk-93535

    12/23/2022, 1:56 PM
    Hopefully a very quick question about everyone's favorite topic: SSL! [Windows] Rancher Desktop starts up but can't reach the internet as my company uses TLS inspection. Is it possible to configure Rancher or the underlying technology to trust a custom root CA?
    đź‘€ 1
    a
    l
    • 3
    • 2
  • b

    best-address-42882

    12/23/2022, 3:37 PM
    Hi, does anybody know how to set up apps for air gapped env? I need to deploy it in artifactory, but I couldn't find how to do that.
    a
    s
    • 3
    • 78
  • h

    hundreds-sugar-37524

    12/23/2022, 3:54 PM
    Hi folks, I upgraded rancher from 2.6.9 to 2.7.0 and somehow longhorn disappeared from the available charts on my local cluster. Other official charts like logging and monitoring are still here. Any ideas ?
  • f

    flaky-address-68453

    12/25/2022, 9:15 PM
    Hey friends, I'm trying to play with k3s with qemu/alpine and I'm hitting a failure at startup and I'm trying to figure out what exactly is causing the issue. When I try to init the cluster I get an error like this:
    # k3s server --cluster-init
    FATA[0000] starting kubernetes: preparing server: start managed database: listen tcp 127.0.0.1:2380: bind: cannot assign requested address
    Seems like most folks hit this issue trying to run in docker, which the resolution is to open the external port. I've tried adding similar settings in qemu to forward the port to the host, but that has not improved anything. It seems lightly weird to me that I'd need to expose ports to just run a single instance, but I'm not well versed in any of this tech, so eh. I'm not sure what next to try or where to look for other logs for more information. I've tried increasing the log output, but that did not add any information thus far.
    c
    • 2
    • 8
  • l

    limited-microphone-86044

    12/26/2022, 5:57 AM
    Hi having trouble with retaining data in the pod. I have installed rancher desktop and created a Kubernetes pod. I copied/saved data in the pod (created a folder "*app"* and saved data in it). When I exit rancher desktop and switch off my PC and restart rancher desktop next day all the data is lost which I saved inside the pod. Can any one please help.
    a
    • 2
    • 2
  • a

    acceptable-printer-7134

    12/26/2022, 8:33 AM
    how can we reimport existing EKS cluster as generic one?. We want to reimport our EKS cluster as generic one. Our doubt - rancher might end up deleting EKS cluster? we just want to detach it from rancher and reimport same as
    generic
    one.
    • 1
    • 1
  • i

    incalculable-telephone-32084

    12/26/2022, 1:45 PM
    looks like
    --k3s-server-arg
    no longer provided for
    k3d
    ? what is the replacement for it?
    ŕ®…  ~  k3d cluster create --k3s-server-arg "--no-deploy=traefik" --agents 2 -v "/home/bsivasub/kube:/kube@agent[0,1]" -v "/home/bsivasub/kube:/kube@server[0]" --port "80:80@loadbalancer"
    
    FATA[0000] unknown flag: --k3s-server-arg
    w
    • 2
    • 1
  • m

    millions-journalist-77187

    12/27/2022, 5:54 AM
    Hi Friends, Hi Team, One of the glusterfs filesystem has reached 100%. How can I fix this? /dev/mapper/vg_cbbf80a61dea3e7812cacb44b9ff397e-brick_8bb1367b1f384fb9f7fc719455b73959 5.0G 5.0G 24K 100% /var/lib/heketi/mounts/vg_cbbf80a61dea3e7812cacb44b9ff397e/brick_8bb1367b1f384fb9f7fc719455b73959 [root@sn1ylpwku0001 ~]# cat /etc/fstab | grep brick_8bb1367b1f384fb /dev/mapper/vg_cbbf80a61dea3e7812cacb44b9ff397e-brick_8bb1367b1f384fb9f7fc719455b73959 /var/lib/heketi/mounts/vg_cbbf80a61dea3e7812cacb44b9ff397e/brick_8bb1367b1f384fb9f7fc719455b73959 xfs rw,inode64,noatime,nouuid 1 2
    l
    • 2
    • 1
  • l

    loud-nest-3266

    12/27/2022, 6:09 AM
    rke2 cluster struck at provisioning on harvester cluster. #7813
  • m

    most-vegetable-47956

    12/27/2022, 7:27 AM
    Hi All, i installed OPA gatekeeper on a downstream cluster from Rancher UI. The requirement is to create a custom OPA policy template which matches two arrays. The arrays are definition of port numbers. For simplicity sake, i have the following:
    import <http://future.keywords.in|future.keywords.in>
    
    violation[{"msg": msg}] {
        allowedPorts := [8161, 9404, 61616, 5445, 9999, 2022]
        actualPorts := [8161, 9404, 61616, 5445]
    
    	some port in actualPorts; not port in allowedPorts
        msg := sprintf("service has forbidden exposed ports: %v", [actualPorts])
    }
    the idea is that if a port in
    actualPorts
    doesn't match any in
    allowedPorts
    , it should result in a violation. this works fine on the OPA playground. but it doesn't work when used as OPA template in Rancher. it seems the
    import
    doesn't work. i've tried
    import data.lib.future.keywords
    and
    import '<http://github.com/open-policy-agent/opa/internal/future|github.com/open-policy-agent/opa/internal/future>'
    , Q> any ideas on how i can compare the arrays or import the required module?
  • v

    victorious-airline-43065

    12/27/2022, 8:56 AM
    Hi, I am trying to setup kube prometheus stack on K3s and I am having a lot of issues. By default kube controller, proxy and etcd services are not mapped to any container (with the latest version of the stack) and I have empty dashboards for those services in Grafana. Also I read that K3s is exposing metrics from all these in each of them so for the ones which work I will get duplicated data in the Prometheus. So is there custom version of kube prometheus stack which works with K3s and if not, are there any workarounds to get it to work with the latest prom stack version?
    c
    • 2
    • 8
  • b

    bitter-electrician-37664

    12/27/2022, 4:25 PM
    Hey folks, I'm trying to find the "right" path/way to setup grafana, prometheus, telegraf and monitoring. I have a bunch of services which can either talk to telegraf and push metrics or they offer the monitoring endpoint for prometheus themselves (doesn't really matter ultimately) but I'm a bit confused of how to do it right: I'm using Rancher, Rancher has a Monitoring section with a lot of Kubernetes monitoring and an existing Prometheus and Grafana but My main questions and looking for help are: • I'm afraid of using that also for my app specific dashboards and metrics collection, is this wrong and i should use the Rancher/Cattle-Monitoring stuff? • Do I install Telegraf, Prometheus, Grafana on my own and crawl the kubernetes prometheus from that instance to build a unified dashboard? • If I don't use Telegraf but the typical /metrics endpoint, how do i configure prometheus / k8s manifests to automatically collect the data? I found really a lot of stuff in regards to Grafana, Prometheus, Rancher Monitoring and such but not really a good/best practices guide for monitoring Kubernetes & Applications/Services on top of Kubernetes. I would appreciated any hints 🙂. Thanks! 🙏
  • l

    loud-vase-4511

    12/27/2022, 8:03 PM
    Greetings. I'm new to Rancher Desktop (having came from Docker Desktop) and I'm running into an issue when using nerdctl to build an image from a Dockerfile. Namely, I get this error (I issue a nerdctl build . command): error: failed to solve: ubuntu:18.04: failed to do request: Head "https://registry-1.docker.io/v2/library/ubuntu/manifests/18.04": dial tcp 34.205.13.154:443: i/o timeout FATA[0030] unrecognized image format The first line in the Dockerfile is, unsurprisingly, FROM ubuntu:18.04 This built fine in Docker Desktop. What am I missing?
    c
    b
    • 3
    • 2
  • v

    victorious-airline-43065

    12/28/2022, 8:49 AM
    Hi, I used
    kube-proxy-arg:- "metrics-bind-address=0.0.0.0"
    in config.yml but it seems to still listen on localhost only
    tcp        0      0 127.0.0.1:10249
    , anyone knows the reason?
  • b

    best-address-42882

    12/28/2022, 5:52 PM
    Hi does, anybody has an example of terraform code to import generic RKE2 cluster to rancher?
  • b

    best-hair-19862

    12/28/2022, 9:50 PM
    Hi there! Happy Holidays to everyone! I'm setting up a Harvester lab and while trying to solve some issues with volumes provisioning I accidentally deleted the default PV used by Prometheus, thus its pod is always on Pending state as it doesn't seem to automatically recreate. Is there any way to recreate it? I'm thinking on reinstalling the whole Harvester if there's no YAML config available for that
  • c

    crooked-shoe-67827

    12/29/2022, 9:19 AM
    How can I work with package manager in Rancher OS? I am looking to install a package, but there is not apt available. I cannot switch to ubuntu console, as I may face some data loss
  • g

    gorgeous-cat-50570

    12/29/2022, 10:07 AM
    Hey, So we are migrating to k8s 1.24 and we use rancher to centralise our cluster (rancher version 2.5.15 using the docker image rancher/rancher) but when connection the cluster I got issue with api , so I had to look into the issue and found out that it might be that rancher versions under 2.6 are not supporting the new k8s version . does anyone faced same issue ? and is it right that v2.5.15 of rancher does not support k8s 1,24 ?
    a
    • 2
    • 6
  • v

    victorious-airline-43065

    12/29/2022, 3:05 PM
    Hi, I enabled etcd in config yaml file like this:
    etcd-expose-metrics: true
    however etcd is still not exposed, anyone knows what could be the issue?
    • 1
    • 1
  • b

    boundless-notebook-59700

    12/29/2022, 6:47 PM
    Good afternoon good people! My team has a vault cluster running on rke2 1.20 but the latest upgrade for vault requires it to run on 1.21+. Since this is a pretty important cluster with stateful sets and all our vault secrets we weren't 100% sure if we could simply upgrade both the rke2 master and agent by joining a new server to the cluster and make the leader election and call it a day or if there is a more preferred way to do this. Any thoughts? My team can provide me with more details as needed if you have follow up questions (and if there is a better channel to ask this, please let me know)
  • b

    best-address-42882

    12/29/2022, 8:31 PM
    Hi, in our old rancher 2.4.8 version we have "Catalog" section, but in new 2.7.0 I don't see that in a menu, was it replaces to something else?
    a
    • 2
    • 15
  • m

    many-zebra-31494

    12/29/2022, 8:43 PM
    Hi all, can anyone point me to some docs that detail how to restore an etcd database from a rancher backup? We had a failure of our etcd node and it is no longer connected to the cluster - we have backups on s3 but can't find any details to manually use them
    a
    • 2
    • 1
  • m

    many-zebra-31494

    12/29/2022, 8:45 PM
    or if there is a way to create a new cluster based on that backup we'd be fine with that as well
Powered by Linen
Title
m

many-zebra-31494

12/29/2022, 8:45 PM
or if there is a way to create a new cluster based on that backup we'd be fine with that as well
View count: 3