https://rancher.com/ logo
Docs
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
developer
  • g

    gentle-dream-1571

    08/12/2022, 2:11 PM
    Our team has been forking and modifying the Rancher Dashboard repo so we are very interested in the outcome of its transformation to using a plugin model. This morning, I tried using the instructions at https://github.com/rancher/dashboard/blob/master/docs/developer/PLUGINS.md with the latest code in
    master
    only to get tons of unresolved modules when starting the new application with only the `shell`in it. It seems that the
    shell
    is referencing components that have been moved out of the
    ./shell
    and into `./pkg/rancher-components`that it is unable to resolve. For example:
    ERROR in ./node_modules/@rancher/shell/components/RelatedResources.vue?vue&type=script&lang=js& (./node_modules/cache-loader/dist/cjs.js??ref--6-0!./node_modules/thread-loader/dist/cjs.js??ref--6-1!./node_modules/babel-loader/lib??ref--6-2!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@rancher/shell/components/RelatedResources.vue?vue&type=script&lang=js&)
    Module not found: Error: Can't resolve '@components/BadgeState' in '/Users/rpatrick/Projects/research/verrazzano-dashboard/node_modules/@rancher/shell/components'
    Any idea how to get past these issues?
    s
    • 2
    • 19
  • b

    big-engine-23729

    08/14/2022, 6:19 PM
    Hi! I would like to deploy the rancher management server using my local ACME CA for certificate generation. Which helm chart is responsible for creating the issuer when letsencrypt is used? Adding functionality to the helm chart to allow either more customization of the issuer or passing in an existing issuer and using that instead are a couple of ideas I had for achieving this. Any insight would be much appreciated.
  • e

    enough-xylophone-4568

    08/27/2022, 4:36 PM
    Hey there ! Could some Rancher devs can have a look to this report : https://rancher-users.slack.com/archives/C3ASABBD1/p1661522600781069?thread_ts=1661522600.781069&cid=C3ASABBD1 ? Thank you
    • 1
    • 1
  • s

    stale-dinner-99388

    08/31/2022, 5:47 AM
    Hey everyone, Facing a problem with rancher login, I am using helm chart for installing Rancher over the server but when I reinstall the Rancher helm chart I am not able to login into Rancher Dashboard.
  • m

    most-sunset-36476

    09/06/2022, 8:16 AM
    Hi all, I opened an issue int he Rancher GitHub which is when creating an RKE1 cluster using node pools and external laod balancer using user addon, nodes are not added to the load balancer backend pool after load balancer is active. https://github.com/rancher/rancher/issues/38812 I would like to try testing/fixing it myself in the meanwhile the issue gets more attention. I would appreciate it if someone could help me find where to start/look! Thanks 🙂
  • s

    stale-dinner-99388

    09/09/2022, 12:56 PM
    Hey #developer is there any way i can pass rancher username at the time of installation. I am using helm chart for install rancher. here is the command:
    helm upgrade --install rancher rancher-latest/rancher   --namespace cattle-system   --set hostname=url   --set ingress.tls.source="letsEncrypt" --set bootstrapPassword=abcdxyz  --set letsEncrypt.email="email"   --set letsEncrypt.environment="production"
  • g

    gentle-dream-1571

    09/09/2022, 2:41 PM
    We are building our product using Rancher and creating our own Rancher Dashboard plugin to customize the Dashboard. In our product, we have the concept of a Multi-Cluster Application where the Custom Resource object gets created on the admin cluster but the actual deployments/pods/etc. are spun up in one or more clusters, based on the settings in the Multi-Cluster Application. We would like to customize the “Details” page to get information about the Pods from all clusters where the application is running. Is there an easy way to query the different clusters to gather this data? We are looking at the
    loadCluster
    action defined in the store to switch the
    currentCluster
    but it seems to require a lot of information that we do not have readily available. Is this the right path or is there a better way?
    f
    • 2
    • 10
  • m

    modern-piano-42327

    09/12/2022, 2:52 PM
    docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher
    Rancher Docker container is unable to start Logs : -
    INFO: Running k3s server --cluster-init --cluster-reset
    2022/09/12 05:05:08 [INFO] Rancher version v2.6.8 (f650ce839) is starting
    2022/09/12 05:05:08 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
    2022/09/12 05:05:08 [INFO] Listening on /tmp/log.sock
    2022/09/12 05:05:08 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
    2022/09/12 05:05:10 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
    2022/09/12 05:05:12 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
    2022/09/12 05:05:14 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
    2022/09/12 05:05:16 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
    2022/09/12 05:05:18 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
    2022/09/12 05:05:20 [INFO] Waiting for server to become available: Get "<https://127.0.0.1:6444/version?timeout=15m0s>": dial tcp 127.0.0.1:6444: connect: connection refused
    2022/09/12 05:05:28 [INFO] Running in single server mode, will not peer connections
    2022/09/12 05:05:28 [INFO] Applying CRD <http://features.management.cattle.io|features.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://navlinks.ui.cattle.io|navlinks.ui.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://clusters.management.cattle.io|clusters.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://apiservices.management.cattle.io|apiservices.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://clusterregistrationtokens.management.cattle.io|clusterregistrationtokens.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://settings.management.cattle.io|settings.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://preferences.management.cattle.io|preferences.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://features.management.cattle.io|features.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://clusterrepos.catalog.cattle.io|clusterrepos.catalog.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://operations.catalog.cattle.io|operations.catalog.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://apps.catalog.cattle.io|apps.catalog.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://fleetworkspaces.management.cattle.io|fleetworkspaces.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://managedcharts.management.cattle.io|managedcharts.management.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://clusters.provisioning.cattle.io|clusters.provisioning.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://clusters.provisioning.cattle.io|clusters.provisioning.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://rkeclusters.rke.cattle.io|rkeclusters.rke.cattle.io>
    2022/09/12 05:05:29 [INFO] Applying CRD <http://rkecontrolplanes.rke.cattle.io|rkecontrolplanes.rke.cattle.io>
    2022/09/12 05:05:30 [INFO] Applying CRD <http://rkebootstraps.rke.cattle.io|rkebootstraps.rke.cattle.io>
    2022/09/12 05:05:30 [INFO] Applying CRD <http://rkebootstraptemplates.rke.cattle.io|rkebootstraptemplates.rke.cattle.io>
    2022/09/12 05:05:30 [INFO] Applying CRD <http://rkecontrolplanes.rke.cattle.io|rkecontrolplanes.rke.cattle.io>
    2022/09/12 05:05:30 [INFO] Applying CRD <http://custommachines.rke.cattle.io|custommachines.rke.cattle.io>
    2022/09/12 05:05:30 [INFO] Applying CRD <http://etcdsnapshots.rke.cattle.io|etcdsnapshots.rke.cattle.io>
    2022/09/12 05:05:30 [INFO] Applying CRD <http://clusters.cluster.x-k8s.io|clusters.cluster.x-k8s.io>
    2022/09/12 05:05:30 [FATAL] k3s exited with: exit status 1
  • q

    quick-eve-88192

    09/13/2022, 2:32 PM
    Is Rancher office hours still a recurring phenomenon? Or is it on-demand currently?
  • s

    sticky-artist-14452

    09/28/2022, 5:26 AM
    Hey, what it takes to call sonarqube apis from inside the aks. Right now, I am passing client id and secret and api key in the headers but it is giving me 401. Any help will be really appreciate! Note: I am having cloud flared as a firewall in between aks and sonarqube...
  • m

    most-sunset-36476

    09/28/2022, 5:23 PM
    Is there a way to have Rancher delete the load balancer created by the user-addon ? When using terraform to create/destroy downstream rke clusters, the load balancer (which is created from the user-addon) is not destroyed together with the rke cluster and breaks the terraform destroy because it uses the cluster vnet.
  • s

    stocky-account-63046

    10/05/2022, 9:35 AM
    The translation files convert
    {vendor}
    to the product name. The string that controls the names of built in repos are in
    catalog.repo.name
    . You can just tweak those values to something more desirable
    👍 1
  • q

    quick-tiger-77531

    10/06/2022, 11:42 AM
    Hi! Is there anyone here who could help me out with an issue related to ingress creation in Rancher UI. For some reason I'm missing the "Ingress Class" selection option that used to be there. I've multiple ingress controllers and classes installed but for some reason I can't make that option appear in the UI. I'm wondering if anyone could comment on how Rancher detects available ingress controllers and when is that option available in the UI.
  • g

    great-oyster-72008

    11/01/2022, 5:08 AM
    Hi there, how can we use mTLS for rancher manager and agent?
  • b

    brief-piano-55851

    11/14/2022, 2:50 PM
    Hello, is there any api documentation or go client for rancher api?
  • b

    brief-piano-55851

    11/14/2022, 2:50 PM
    I tried to search in GH but I could not find anything up-todate
  • s

    swift-table-42186

    11/15/2022, 3:37 PM
    Hi guys, I have some problem with run dashboard frontend on my mac I cloned repo(https://github.com/rancher/dashboard) Ran
    yarn install
    and
    yarn dev
    But I got errors Do you have any ideas how can I fix it?
    b
    • 2
    • 4
  • n

    numerous-apple-85303

    11/16/2022, 12:42 PM
    Hey folks, I am dabbling into how to develop a UI Plugin. I want to create an experience similar to creating NetworkPolicy (image for reference). But for my Custom Resource. I checked out https://github.com/rancher/ui-plugin-examples but it seems to be for multicluster apps? Can someone guide me how can I do this or refer me to some Document if it will be possible.
    👀 1
    b
    • 2
    • 2
  • s

    swift-table-42186

    11/18/2022, 9:11 AM
    When I built a new UI package how can I run it on production?
    w
    • 2
    • 8
  • s

    swift-table-42186

    11/30/2022, 9:40 AM
    Can I install extensions programmatically?
  • f

    future-alarm-92026

    11/30/2022, 2:16 PM
    Hello, I’m trying to create a rancher-machine UI Driver for Proxmox VE. The driver UI reads some data from the Proxmox API like auth realms available, storage location, etc. I’m using the meta/proxy endpoint available in Rancher to avoid CORS issues but there’s no way to import a self signed cert or skip TLS verification for the Rancher Reverse proxy Any suggestions??? I’ve considered the following options: • Somehow make Rancher trust the CA of the custom cert so
    meta/proxy
    is happy about it • I open a feature request for the rancher team to add Insecure TLS in their reverse proxy maybe could be on the same UI where whitelist for the driver are defined • I do the code myself and I ask the Rancher team to approve the PR with insecure TSL support • I do as a requirement to use the driver to have a valid cert in the Proxmox • I make it so that to use the driver you have to somehow disable https to your Proxmox (do not want to do this for obvious reasons)
    • 1
    • 1
  • f

    future-alarm-92026

    11/30/2022, 2:22 PM
    ooh also if this is not the right channel for these questions please feel free to point to the right one
  • s

    salmon-carpenter-62625

    12/02/2022, 2:27 PM
    Hi, Guys can you tell me how to use such matchers in route for alertmanager?
    - matchers:
          name: severity
          matchType: '=~'
          value: 'warning|critical'
        receiver: 'email'
        continue: true
    It seams there is some odd logic to transform this
    alertmanager-rancher-monitoring-alertmanager
    secret, but this secret is not used by alertmanager, instead the another secret is created under the name
    alertmanager-rancher-monitoring-alertmanager-generated
    but hit one is only cretead from the first one if the first one is somehow valid. There is no error or anything like that but the content is like below:
    route:
      receiver: "null"
    receivers:
    - name: "null"
    templates: []
    If I use match like that:
    - match:
          alertname: CPUThrottlingHigh
        receiver: email
    then the generated secret is fine and I got my alert. So is anyone here who know how this secret logic works about alerting, and can provide some example for using matchers as it seams its very unclear how to update it in proper way in rancher.
  • q

    quiet-house-51252

    12/12/2022, 8:05 PM
    Hello, Can anyone help me how to get the user email id of the user in Rancher dashboard, when someone login rancher server with either GitHub, google, or another Identity service provider account
    f
    • 2
    • 9
  • h

    happy-tent-70860

    01/24/2023, 9:27 PM
    Hello everybody, I am trying to understand the relationships among the different resources used by Rancher. Is there some developer documentation that details the relations among the different types of resources that describes the downstream clusters? for instance in rancher 2.7.0 I can see the following CRD: clusters.cluster.x-k8s.io clusters.fleet.cattle.io clusters.management.cattle.io clusters.provisioning.cattle.io clusters.rancher.cattle.io Can I read somewhere why we have all these, and how are they related? Thank you?
    f
    • 2
    • 6
  • o

    orange-airplane-98016

    01/24/2023, 10:35 PM
    @orange-airplane-98016 has left the channel
  • q

    quiet-house-51252

    01/25/2023, 3:34 PM
    Hello, I am looking for an answer to the way the Admin can find the user email IDs of the logged-in users in the Rancher dashboard, when someone login rancher server with either GitHub, google, or another Identity service provider account, I know the option is not there, but what’s the right way to implement it? I want to enhance the user management on another web page so that users can self-serve after login and still Admin has more control over the information about the users. Is there a 3rd party tool I can integrate to provide a self-service functionality for rancher users?
  • g

    gentle-dream-1571

    02/22/2023, 4:40 PM
    We have a custom plugin we have been using with Rancher Dashboard 2.6.7 and later 2.6.8 without issues. When we move to 2.7.1, for whatever reason, when I open a new browser and log in, our plugin is no longer visible. However, if I use Shift-reload (in Firefox), the plugin appears. Was there some sort of behavior change in 2.7.1 that would cause a custom plugin not to be displayed immediately after login?
    c
    • 2
    • 6
  • q

    quaint-candle-18606

    03/06/2023, 10:58 PM
    Sup, B?
  • w

    white-xylophone-9961

    03/10/2023, 2:05 PM
    Trying to build from source on macos, I eventually get
    For this generation to compile you need to have some packages in your GOPATH:
    
            * <http://github.com/go-openapi/runtime|github.com/go-openapi/runtime>
            * <http://github.com/jessevdk/go-flags|github.com/jessevdk/go-flags>
    
    You can get these now with: go get -u -f ./...
    I'm not that familiar with golang, but I cloned the above two repos, and did
    cd runtime
    go install  <http://github.com/go-openapi/runtime|github.com/go-openapi/runtime>
    # wierd, no output
    
    cd ../go-flags
    go install <http://github.com/jessevdk/go-flags|github.com/jessevdk/go-flags>
    # also no output
    I rerun
    npm install
    and get same missing package output.
    • 1
    • 1
Powered by Linen
Title
w

white-xylophone-9961

03/10/2023, 2:05 PM
Trying to build from source on macos, I eventually get
For this generation to compile you need to have some packages in your GOPATH:

        * <http://github.com/go-openapi/runtime|github.com/go-openapi/runtime>
        * <http://github.com/jessevdk/go-flags|github.com/jessevdk/go-flags>

You can get these now with: go get -u -f ./...
I'm not that familiar with golang, but I cloned the above two repos, and did
cd runtime
go install  <http://github.com/go-openapi/runtime|github.com/go-openapi/runtime>
# wierd, no output

cd ../go-flags
go install <http://github.com/jessevdk/go-flags|github.com/jessevdk/go-flags>
# also no output
I rerun
npm install
and get same missing package output.
apparently that message is ok, but gee devs, why display it then?
View count: 1